|
| const char * | defDateFmt () |
| |
| const char * | defDateTimeFmt () |
| |
| const char * | defDateTimeTzFmt () |
| | With time zone.
|
| |
| const char * | defTimeFmt () |
| |
| std::timespec | fromMSecs (od_int64 msecs) |
| |
| const char * | getDateString (const char *fmt=defDateFmt(), bool local=true) |
| |
| const char * | getDateTimeString (const char *fmt=defDateTimeFmt(), bool local=true) |
| |
| const char * | getDateTimeString (const std::timespec &, const char *fmt=defDateTimeFmt(), bool local=true) |
| |
| const char * | getDateTimeString (od_int64 timeinms, const char *fmt=defDateTimeFmt(), bool local=true) |
| | Provide time in milliseconds since epoch.
|
| |
| const char * | getISODateTimeString (bool local=false) |
| |
| const char * | getLocalDateTimeFromString (const char *) |
| |
| od_int64 | getMilliSeconds () |
| | From epoch (POSIX)
|
| |
| od_uint64 | getNTFSFromPosix (const std::timespec &) |
| |
| std::timespec | getPosixFromNTFS (od_uint64) |
| |
| const char * | getTimeDiffString (od_int64 deltatimeins, int precision) |
| |
| const char * | getTimeString (const char *fmt=defTimeFmt(), bool local=true) |
| |
| bool | isEarlier (const char *first, const char *second, const char *fmt=defDateTimeFmt()) |
| |
| od_int64 | passedSince (od_int64) |
| |
| od_int64 | toMSecs (const std::timespec &) |
| |
◆ defDateFmt()
| const char * Time::defDateFmt |
( |
| ) |
|
◆ defDateTimeFmt()
| const char * Time::defDateTimeFmt |
( |
| ) |
|
◆ defDateTimeTzFmt()
| const char * Time::defDateTimeTzFmt |
( |
| ) |
|
◆ defTimeFmt()
| const char * Time::defTimeFmt |
( |
| ) |
|
◆ fromMSecs()
| std::timespec Time::fromMSecs |
( |
od_int64 | msecs | ) |
|
◆ getDateString()
| const char * Time::getDateString |
( |
const char * | fmt = defDateFmt(), |
|
|
bool | local = true ) |
◆ getDateTimeString() [1/3]
| const char * Time::getDateTimeString |
( |
const char * | fmt = defDateTimeFmt(), |
|
|
bool | local = true ) |
◆ getDateTimeString() [2/3]
| const char * Time::getDateTimeString |
( |
const std::timespec & | , |
|
|
const char * | fmt = defDateTimeFmt(), |
|
|
bool | local = true ) |
◆ getDateTimeString() [3/3]
| const char * Time::getDateTimeString |
( |
od_int64 | timeinms, |
|
|
const char * | fmt = defDateTimeFmt(), |
|
|
bool | local = true ) |
Provide time in milliseconds since epoch.
◆ getISODateTimeString()
| const char * Time::getISODateTimeString |
( |
bool | local = false | ) |
|
◆ getLocalDateTimeFromString()
| const char * Time::getLocalDateTimeFromString |
( |
const char * | | ) |
|
◆ getMilliSeconds()
| od_int64 Time::getMilliSeconds |
( |
| ) |
|
◆ getNTFSFromPosix()
| od_uint64 Time::getNTFSFromPosix |
( |
const std::timespec & | | ) |
|
NTFS time origin:; January 1, 1600, 0:00 returned value is in 100th of nanosecond
◆ getPosixFromNTFS()
| std::timespec Time::getPosixFromNTFS |
( |
od_uint64 | | ) |
|
◆ getTimeDiffString()
| const char * Time::getTimeDiffString |
( |
od_int64 | deltatimeins, |
|
|
int | precision ) |
returns true if the first DateTime string is earlier than the second
◆ getTimeString()
| const char * Time::getTimeString |
( |
const char * | fmt = defTimeFmt(), |
|
|
bool | local = true ) |
◆ isEarlier()
| bool Time::isEarlier |
( |
const char * | first, |
|
|
const char * | second, |
|
|
const char * | fmt = defDateTimeFmt() ) |
◆ passedSince()
| od_int64 Time::passedSince |
( |
od_int64 | | ) |
|
◆ toMSecs()
| od_int64 Time::toMSecs |
( |
const std::timespec & | | ) |
|
Generated at
for the OpendTect
seismic interpretation project.
Copyright (C): dGB Beheer B.V. 1995-2026