Account
| Beamlib 3.3.4 This is the Beam C++ class library. |
Loading...
Searching...
No Matches
BTimeStampMs.h
Go to the documentation of this file.
27 void setYDay(int year = 0, int yday = 0, int hour = 0, int minute = 0, int second = 0, int milliSecond = 0);
Error return class. This class is used to return the error status from a function....
Definition BError.h:31
A date and time storage class with milisecond resolution and an extra field to indicate a particular ...
Definition BTimeStampMs.h:15
BError setDurationString(BString dateTime)
Set the time from an ISO date/time string but with month's and days starting from 0.
Definition BTimeStampMs.cpp:188
BTimeStampMs & subSeconds(int seconds)
Subtract the given number of seconds. This should be less that a year.
Definition BTimeStampMs.cpp:312
BString getStringNoMs(BString separator="T")
Get the time as an ISO date/time string with no ms.
Definition BTimeStampMs.cpp:109
BTimeStampMs & addMilliSeconds(int milliSeconds)
Add the given number of milli seconds. This should be less that a year.
Definition BTimeStampMs.cpp:228
BString getDurationString(BString separator="T")
Get the time as an ISO date/time string but with month's and days starting from 0.
Definition BTimeStampMs.cpp:121
static BUInt64 difference(BTimeStampMs t2, BTimeStampMs t1)
Definition BTimeStampMs.cpp:374
int32_t sampleNumber
The sample number this time refers to.
Definition BTimeStampMs.h:64
BString getString(BString separator="T")
Get the time as an ISO date/time string.
Definition BTimeStampMs.cpp:97
void getDate(int &year, int &mon, int &day)
Get the year, month and day.
Definition BTimeStampMs.cpp:222
void set(time_t time, int milliSeconds=0)
Set time using Unix time (seconds from 1970-01-01)
Definition BTimeStampMs.cpp:67
uint64_t getYearMilliSeconds()
Get number of seconds within the year.
Definition BTimeStampMs.cpp:327
BError setString(BString dateTime)
Set the time from an ISO date/time.
Definition BTimeStampMs.cpp:152
void setTime(int hour=0, int minute=0, int second=0, int milliSecond=0)
Definition BTimeStampMs.cpp:90
BTimeStampMs & subMilliSeconds(int milliSeconds)
Add the given number of milli seconds. This should be less that a year.
Definition BTimeStampMs.cpp:244
BTimeStampMs & addSeconds(int seconds)
Add the given number of seconds. This should be less that a year.
Definition BTimeStampMs.cpp:248
uint32_t getYearSeconds()
Get number of seconds within the year.
Definition BTimeStampMs.cpp:316
BString 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.
Definition BTimeStampMs.cpp:133
int compare(const BTimeStampMs &timeStamp)
Compare two dates.
Definition BTimeStampMs.cpp:339
void setYDay(int year=0, int yday=0, int hour=0, int minute=0, int second=0, int milliSecond=0)
Definition BTimeStampMs.cpp:81
Generated by
