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