filters
Swinder::DateModeRecord Class Reference
#include <excel.h>
Inheritance diagram for Swinder::DateModeRecord:

Detailed Description
Date reference.Class DateModeRecord represents DateMode record, which specifies reference date for displaying date value of given serial number. If base1904 is true, the reference date is 1st of January, 1904 (in which serial number 1 means 2nd of January, 1904). Otherwise, the reference date is 31st of December, 1899 (in which serial number 1 means 1st of January, 1900).
Definition at line 962 of file excel.h.
Public Member Functions | |
unsigned int | rtti () |
DateModeRecord () | |
~DateModeRecord () | |
bool | base1904 () const |
void | setBase1904 (bool r) |
virtual void | setData (unsigned size, const unsigned char *data) |
virtual const char * | name () |
virtual void | dump (std::ostream &out) const |
Static Public Attributes | |
static const unsigned int | id |
Constructor & Destructor Documentation
DateModeRecord::DateModeRecord | ( | ) |
Member Function Documentation
bool DateModeRecord::base1904 | ( | ) | const |
Returns true if the reference date is 1st of January, 1904 or false if the reference date is 31st of December, 1899.
- See also:
- setBase1904
void DateModeRecord::setBase1904 | ( | bool | r | ) |
void DateModeRecord::setData | ( | unsigned | size, | |
const unsigned char * | data | |||
) | [virtual] |
virtual const char* Swinder::DateModeRecord::name | ( | ) | [inline, virtual] |
void DateModeRecord::dump | ( | std::ostream & | out | ) | const [virtual] |
Member Data Documentation
const unsigned int DateModeRecord::id [static] |
Static ID of the record.
Subclasses should override this value with the id of the record they handle.
Reimplemented from Swinder::Record.
The documentation for this class was generated from the following files: