29 #include <xlnt/xlnt_config.hpp> 30 #include <xlnt/utils/calendar.hpp> 51 static date from_number(
int days_since_base_year,
calendar base_date);
56 date(
int year_,
int month_,
int day_);
67 int to_number(
calendar base_date)
const;
86 int get_month()
const;
136 bool _is_null =
true;
bool is_null() const
Returns whether the date is in an empty/invalid state.
Definition: date.hpp:97
Enumerates the possible types a cell can be determined by it's current value.
Definition: cell.hpp:37
bool operator==(std::nullptr_t, const cell &cell)
Returns true if this cell is uninitialized.
value is an ISO 8601 formatted date
bool operator!=(const std::string &reference_string, const range_reference &ref)
Returns true if the string representation of the range is not equivalent to ref.
A date is a specific day specified in terms of a year, month, and day. It can also be initialized as ...
Definition: date.hpp:39
calendar
An enumeration of possible base dates. Dates in Excel are stored as days since this base date...
Definition: calendar.hpp:35