DISPLACE  1.0
A spatial model of fisheries to help sustainable fishing and maritime spatial planning
Calendar Class Reference

#include <calendar.h>

Public Member Functions

 Calendar ()
 
bool isMonth (int tstep) const
 
int getMonth (int tstep) const
 
bool isSemester (int tstep) const
 
int getSemester (int tstep) const
 
bool isQuarted (int tstep) const
 
int getQuarter (int tstep) const
 
bool isYear (int tstep) const
 
int getYear (int tstep) const
 

Static Public Member Functions

static Calendarload (QString basepath, QString name)
 
static Calendarbuild (std::shared_ptr< SQLiteOutputStorage > db)
 
static QString dayToString (int day)
 

Constructor & Destructor Documentation

◆ Calendar()

Calendar::Calendar ( )

Member Function Documentation

◆ build()

Calendar * Calendar::build ( std::shared_ptr< SQLiteOutputStorage db)
static

◆ dayToString()

static QString Calendar::dayToString ( int  day)
inlinestatic

◆ getMonth()

int Calendar::getMonth ( int  tstep) const
inline

◆ getQuarter()

int Calendar::getQuarter ( int  tstep) const
inline

◆ getSemester()

int Calendar::getSemester ( int  tstep) const
inline

◆ getYear()

int Calendar::getYear ( int  tstep) const
inline

◆ isMonth()

bool Calendar::isMonth ( int  tstep) const
inline

◆ isQuarted()

bool Calendar::isQuarted ( int  tstep) const
inline

◆ isSemester()

bool Calendar::isSemester ( int  tstep) const
inline

◆ isYear()

bool Calendar::isYear ( int  tstep) const
inline

◆ load()

Calendar * Calendar::load ( QString  basepath,
QString  name 
)
static

The documentation for this class was generated from the following files: