#include <DateStamp.h>
Inherits openjaus::model::fields::Field, and openjaus::system::Transportable.
§ DateStamp()
openjaus::model::fields::DateStamp::DateStamp |
( |
| ) |
|
§ ~DateStamp()
openjaus::model::fields::DateStamp::~DateStamp |
( |
| ) |
|
|
virtual |
§ addDays()
DateStamp openjaus::model::fields::DateStamp::addDays |
( |
int32_t |
days | ) |
const |
§ addMonths()
DateStamp openjaus::model::fields::DateStamp::addMonths |
( |
int32_t |
months | ) |
const |
§ addYears()
DateStamp openjaus::model::fields::DateStamp::addYears |
( |
int32_t |
years | ) |
const |
§ convertToTm()
struct tm openjaus::model::fields::DateStamp::convertToTm |
( |
| ) |
const |
§ copy()
void openjaus::model::fields::DateStamp::copy |
( |
DateStamp & |
source | ) |
|
§ currentDateStamp()
static DateStamp openjaus::model::fields::DateStamp::currentDateStamp |
( |
| ) |
|
|
inlinestatic |
§ from()
§ fromIntegerValue()
void openjaus::model::fields::DateStamp::fromIntegerValue |
( |
uint16_t |
intValue | ) |
|
§ getDay()
uint8_t openjaus::model::fields::DateStamp::getDay |
( |
| ) |
const |
§ getMonth()
uint8_t openjaus::model::fields::DateStamp::getMonth |
( |
| ) |
const |
§ getYear()
uint16_t openjaus::model::fields::DateStamp::getYear |
( |
| ) |
const |
§ length()
int openjaus::model::fields::DateStamp::length |
( |
| ) |
|
|
virtual |
§ setCurrentDate()
void openjaus::model::fields::DateStamp::setCurrentDate |
( |
| ) |
|
§ setDate()
bool openjaus::model::fields::DateStamp::setDate |
( |
int16_t |
year, |
|
|
int8_t |
month, |
|
|
int8_t |
day |
|
) |
| |
§ setDay()
bool openjaus::model::fields::DateStamp::setDay |
( |
uint8_t |
day | ) |
|
- Parameters
-
day | The value of the new day. |
§ setMonth()
bool openjaus::model::fields::DateStamp::setMonth |
( |
uint8_t |
month | ) |
|
- Parameters
-
month | The value of the new month. |
§ setYear()
bool openjaus::model::fields::DateStamp::setYear |
( |
uint16_t |
year | ) |
|
- Parameters
-
year | The value of the new year. |
§ to()
§ toIntegerValue()
uint16_t openjaus::model::fields::DateStamp::toIntegerValue |
( |
| ) |
const |
§ toString() [1/2]
std::string openjaus::model::fields::DateStamp::toString |
( |
std::string |
format | ) |
const |
§ toString() [2/2]
std::string openjaus::model::fields::DateStamp::toString |
( |
| ) |
const |
|
virtual |
§ toXml()
std::string openjaus::model::fields::DateStamp::toXml |
( |
uint8_t |
level | ) |
const |
§ operator<< [1/2]
§ operator<< [2/2]
§ day
uint8_t openjaus::model::fields::DateStamp::day |
|
protected |
§ DAY_BIT_MASK
const long openjaus::model::fields::DateStamp::DAY_BIT_MASK = 0x1F |
|
staticprotected |
§ DAY_MAX_VALUE
const long openjaus::model::fields::DateStamp::DAY_MAX_VALUE = 31 |
|
staticprotected |
§ DAY_MIN_VALUE
const long openjaus::model::fields::DateStamp::DAY_MIN_VALUE = 1 |
|
staticprotected |
§ DAY_START_BIT
const long openjaus::model::fields::DateStamp::DAY_START_BIT = 0 |
|
staticprotected |
§ month
uint8_t openjaus::model::fields::DateStamp::month |
|
protected |
§ MONTH_BIT_MASK
const long openjaus::model::fields::DateStamp::MONTH_BIT_MASK = 0xF |
|
staticprotected |
§ MONTH_MAX_VALUE
const long openjaus::model::fields::DateStamp::MONTH_MAX_VALUE = 12 |
|
staticprotected |
§ MONTH_MIN_VALUE
const long openjaus::model::fields::DateStamp::MONTH_MIN_VALUE = 1 |
|
staticprotected |
§ MONTH_START_BIT
const long openjaus::model::fields::DateStamp::MONTH_START_BIT = 5 |
|
staticprotected |
§ year
uint16_t openjaus::model::fields::DateStamp::year |
|
protected |
§ YEAR_BIT_MASK
const long openjaus::model::fields::DateStamp::YEAR_BIT_MASK = 0x7F |
|
staticprotected |
§ YEAR_MAX_VALUE
const long openjaus::model::fields::DateStamp::YEAR_MAX_VALUE = 2127 |
|
staticprotected |
§ YEAR_MIN_VALUE
const long openjaus::model::fields::DateStamp::YEAR_MIN_VALUE = 2000 |
|
staticprotected |
§ YEAR_START_BIT
const long openjaus::model::fields::DateStamp::YEAR_START_BIT = 9 |
|
staticprotected |
The documentation for this class was generated from the following files: