#include <BTimeStampMs.h>
|
uint16_t | year |
| Year (2000 .. 3000)
|
|
uint16_t | yday |
| Day in year (0 .. 365)
|
|
uint16_t | hour |
| Hour (0 .. 23)
|
|
uint16_t | minute |
| Minute (0 .. 59)
|
|
uint16_t | second |
| Second (0 .. 59)
|
|
uint16_t | milliSecond |
| MilliSecond (0 .. 999)
|
|
int32_t | sampleNumber |
| The sample number this time refers to.
|
|
◆ BTimeStampMs()
BTimeStampMs::BTimeStampMs |
( |
BString |
str = "" | ) |
|
◆ ~BTimeStampMs()
BTimeStampMs::~BTimeStampMs |
( |
| ) |
|
◆ addMilliSeconds()
BTimeStampMs & BTimeStampMs::addMilliSeconds |
( |
int |
milliSeconds | ) |
|
Add the given number of milli seconds. This should be less that a year.
◆ addSeconds()
Add the given number of seconds. This should be less that a year.
◆ clear()
void BTimeStampMs::clear |
( |
| ) |
|
◆ compare()
◆ difference()
◆ getDate()
void BTimeStampMs::getDate |
( |
int & |
year, |
|
|
int & |
mon, |
|
|
int & |
day |
|
) |
| |
Get the year, month and day.
◆ getDurationString()
Get the time as an ISO date/time string but with month's and days starting from 0.
◆ getDurationStringNoMs()
BString BTimeStampMs::getDurationStringNoMs |
( |
BString |
separator = "T" | ) |
|
Get the time as an ISO date/time string but with month's and days starting from 0 with no ms.
◆ getString()
Get the time as an ISO date/time string.
◆ getStringNoMs()
Get the time as an ISO date/time string with no ms.
◆ getStringRaw()
BString BTimeStampMs::getStringRaw |
( |
| ) |
|
◆ getYearMilliSeconds()
uint64_t BTimeStampMs::getYearMilliSeconds |
( |
| ) |
|
Get number of seconds within the year.
◆ getYearSeconds()
uint32_t BTimeStampMs::getYearSeconds |
( |
| ) |
|
Get number of seconds within the year.
◆ isLeap()
int BTimeStampMs::isLeap |
( |
int |
year | ) |
|
|
static |
◆ operator<()
int BTimeStampMs::operator< |
( |
const BTimeStampMs & |
timeStamp | ) |
|
|
inline |
◆ operator<=()
int BTimeStampMs::operator<= |
( |
const BTimeStampMs & |
timeStamp | ) |
|
|
inline |
◆ operator>()
int BTimeStampMs::operator> |
( |
const BTimeStampMs & |
timeStamp | ) |
|
|
inline |
◆ operator>=()
int BTimeStampMs::operator>= |
( |
const BTimeStampMs & |
timeStamp | ) |
|
|
inline |
◆ setDurationString()
Set the time from an ISO date/time string but with month's and days starting from 0.
◆ setNow()
void BTimeStampMs::setNow |
( |
| ) |
|
Set the timeStamp to now.
◆ setString()
Set the time from an ISO date/time.
◆ subMilliSeconds()
BTimeStampMs & BTimeStampMs::subMilliSeconds |
( |
int |
milliSeconds | ) |
|
Add the given number of milli seconds. This should be less that a year.
◆ subSeconds()
Subtract the given number of seconds. This should be less that a year.
◆ hour
uint16_t BTimeStampMs::hour |
◆ milliSecond
uint16_t BTimeStampMs::milliSecond |
◆ minute
uint16_t BTimeStampMs::minute |
◆ sampleNumber
int32_t BTimeStampMs::sampleNumber |
The sample number this time refers to.
◆ second
uint16_t BTimeStampMs::second |
◆ yday
uint16_t BTimeStampMs::yday |
◆ year
uint16_t BTimeStampMs::year |
The documentation for this class was generated from the following files: