2 #ifndef ZIPIOS_DOSDATETIME_HPP 3 #define ZIPIOS_DOSDATETIME_HPP dosdatetime_t m_dosdatetime
std::time_t getUnixTimestamp() const
Retrieve the DOSDateTime as a Unix timestamp.
The zipios namespace includes the Zipios library definitions.
int getHour() const
Get the hour.
void setMDay(int mday)
Set the day of the month.
dosdatetime_t getDOSDateTime() const
Retrieve the DOSDateTime value as is.
void setUnixTimestamp(std::time_t unix_timestamp)
Set the DOSDateTime value from a Unix timestamp.
int getMonth() const
Get the month.
static dosdatetime_t const g_max_dosdatetime
bool isValid() const
Check whether this DOS Date & Date is valid.
int daysInMonth() const
Calculate the number of days in this date's month.
void setMinute(int minute)
Set the minute.
int getMDay() const
Get the day of the month.
void setSecond(int second)
Set the second.
int getSecond() const
Get the second.
int getMinute() const
Get the minute.
void setYear(int year)
Set the year.
void setHour(int hour)
Set the hour.
int getYear() const
Get the year.
void setDOSDateTime(dosdatetime_t datetime)
Set the DOSDateTime value as is.
void setMonth(int month)
Set the month.
static dosdatetime_t const g_min_dosdatetime