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