29 #include <xlnt/xlnt_config.hpp>    30 #include <xlnt/utils/calendar.hpp>    67     static datetime from_iso_string(
const std::string &iso_string);
    77     datetime(
int year_, 
int month_, 
int day_, 
int hour_ = 0, 
int minute_ = 0, 
int second_ = 0, 
int microsecond_ = 0);
    88     std::string to_string() 
const;
    94     std::string to_iso_string() 
const;
   100     double to_number(
calendar base_date) 
const;
   123     int get_year() 
const;
   129     int get_month() 
const;
   141     int get_hour() 
const;
   147     int get_minute() 
const;
   153     int get_second() 
const;
   159     int get_microsecond() 
const;
   212     bool _is_null = 
true;
 bool is_null() const
Returns whether the date is in an empty/invalid state. 
Definition: datetime.hpp:164
 
Enumerates the possible types a cell can be determined by it's current value. 
Definition: cell.hpp:36
 
bool operator!=(std::nullptr_t, const cell &cell)
Returns true if this cell is initialized. 
 
A time is a specific time of the day specified in terms of an hour, minute, second, and microsecond (0-999999). It can also be initialized as a fraction of a day using time::from_number. 
Definition: time.hpp:38
 
bool operator==(std::nullptr_t, const cell &cell)
Returns true if this cell is uninitialized. 
 
value is an ISO 8601 formatted date 
 
A datetime is a combination of a date and a time. IMPORTANT: The datetime could be in an empty/invali...
Definition: datetime.hpp:41
 
A date is a specific day specified in terms of a year, month, and day. It can also be initialized as ...
Definition: date.hpp:37
 
calendar
An enumeration of possible base dates. Dates in Excel are stored as days since this base date...
Definition: calendar.hpp:35