OpendTect  7.0
Classes | Functions
Time Namespace Reference

Classes

class  Counter
 

Functions

const char * defDateFmt ()
 
const char * defDateTimeFmt ()
 
const char * defDateTimeTzFmt ()
 With time zone. More...
 
const char * defTimeFmt ()
 
const char * getDateString (const char *fmt=defDateFmt(), bool local=true)
 
const char * getDateTimeString (const char *fmt=defDateTimeFmt(), bool local=true)
 
const char * getISODateTimeString (bool local=false)
 
const char * getLocalDateTimeFromString (const char *)
 
int getMilliSeconds ()
 From day start. More...
 
const char * getTimeString (const char *fmt=defTimeFmt(), bool local=true)
 
const char * getTimeString (std::int64_t timeins, int precision)
 
bool isEarlier (const char *first, const char *second, const char *fmt=defDateTimeFmt())
 
int passedSince (int)
 

Function Documentation

◆ defDateFmt()

const char* Time::defDateFmt ( )

◆ defDateTimeFmt()

const char* Time::defDateTimeFmt ( )

◆ defDateTimeTzFmt()

const char* Time::defDateTimeTzFmt ( )

With time zone.

◆ defTimeFmt()

const char* Time::defTimeFmt ( )

◆ getDateString()

const char* Time::getDateString ( const char *  fmt = defDateFmt(),
bool  local = true 
)

◆ getDateTimeString()

const char* Time::getDateTimeString ( const char *  fmt = defDateTimeFmt(),
bool  local = true 
)

◆ getISODateTimeString()

const char* Time::getISODateTimeString ( bool  local = false)

◆ getLocalDateTimeFromString()

const char* Time::getLocalDateTimeFromString ( const char *  )

◆ getMilliSeconds()

int Time::getMilliSeconds ( )

From day start.

◆ getTimeString() [1/2]

const char* Time::getTimeString ( const char *  fmt = defTimeFmt(),
bool  local = true 
)

◆ getTimeString() [2/2]

const char* Time::getTimeString ( std::int64_t  timeins,
int  precision 
)

returns true if the first DateTime string is earlier than the second

◆ isEarlier()

bool Time::isEarlier ( const char *  first,
const char *  second,
const char *  fmt = defDateTimeFmt() 
)

◆ passedSince()

int Time::passedSince ( int  )

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024