OmniSciDB
a5dc49c757
|
Public Types | |
enum | Field { ERA, YOE, MOY, DOM, SOD } |
Public Member Functions | |
DEVICE EraTime | operator- () const |
DEVICE EraTime | operator- (EraTime const &rhs) |
DEVICE int | sign (Field const field) const |
DEVICE int64_t | count (DatetruncField const field) const |
Static Public Member Functions | |
static DEVICE EraTime | make (int64_t const time) |
Public Attributes | |
int64_t const | era |
int const | yoe |
int const | moy |
int const | dom |
int const | sod |
Definition at line 302 of file DateTruncate.cpp.
enum anonymous_namespace{DateTruncate.cpp}::EraTime::Field |
|
inline |
Definition at line 356 of file DateTruncate.cpp.
References dtCENTURY, dtDECADE, dtMILLENNIUM, dtMONTH, dtQUARTER, dtYEAR, era, moy, sign(), and yoe.
|
inlinestatic |
Definition at line 309 of file DateTruncate.cpp.
References floor_div(), kDaysPer400Years, kEpochAdjustedDays, and kSecsPerDay.
Definition at line 321 of file DateTruncate.cpp.
|
inline |
Definition at line 323 of file DateTruncate.cpp.
References dom, era, moy, sod, and yoe.
Definition at line 329 of file DateTruncate.cpp.
Referenced by count().
int const anonymous_namespace{DateTruncate.cpp}::EraTime::dom |
Definition at line 306 of file DateTruncate.cpp.
Referenced by operator-().
int64_t const anonymous_namespace{DateTruncate.cpp}::EraTime::era |
Definition at line 303 of file DateTruncate.cpp.
Referenced by count(), and operator-().
int const anonymous_namespace{DateTruncate.cpp}::EraTime::moy |
Definition at line 305 of file DateTruncate.cpp.
Referenced by count(), and operator-().
int const anonymous_namespace{DateTruncate.cpp}::EraTime::sod |
Definition at line 307 of file DateTruncate.cpp.
Referenced by operator-().
int const anonymous_namespace{DateTruncate.cpp}::EraTime::yoe |
Definition at line 304 of file DateTruncate.cpp.
Referenced by count(), and operator-().