#include <Date.hpp>
Public Member Functions | |
int | assumedYear () const |
get the assumed year More... | |
YearDescription () | |
constructor More... | |
Public Attributes | |
bool | isLeapYear |
is the year a leap year, defaults to false More... | |
bool | lookInFuture |
look for year in future, defaults to false More... | |
boost::optional< DayOfWeek > | yearStartsOnDayOfWeek |
first day of the year, defaults to not set More... | |
YearDescription describes a year with several optional parameters.
openstudio::YearDescription::YearDescription | ( | ) |
constructor
int openstudio::YearDescription::assumedYear | ( | ) | const |
get the assumed year
bool openstudio::YearDescription::isLeapYear |
is the year a leap year, defaults to false
bool openstudio::YearDescription::lookInFuture |
look for year in future, defaults to false
boost::optional<DayOfWeek> openstudio::YearDescription::yearStartsOnDayOfWeek |
first day of the year, defaults to not set