oa::Timestamp

Timestamp class in the OA Core public surface.

Public Methods

bool oa::Timestamp::isValid()
oa::I64 oa::Timestamp::micros()
oa::I64 oa::Timestamp::millis()
oa::I64 oa::Timestamp::nanos()
bool oa::Timestamp::operator bool()
bool oa::Timestamp::operator!=(Timestamp inOther)
Timestamp oa::Timestamp::operator+(Timestamp inOther)
Timestamp & oa::Timestamp::operator+=(Timestamp inOther)
Timestamp oa::Timestamp::operator-(Timestamp inOther)
Timestamp & oa::Timestamp::operator-=(Timestamp inOther)
bool oa::Timestamp::operator<(Timestamp inOther)
bool oa::Timestamp::operator<=(Timestamp inOther)
bool oa::Timestamp::operator==(Timestamp inOther)
bool oa::Timestamp::operator>(Timestamp inOther)
bool oa::Timestamp::operator>=(Timestamp inOther)
oa::I64 oa::Timestamp::secs()
oa::F64 oa::Timestamp::toMs()
oa::F64 oa::Timestamp::toSeconds()

Static Public Methods

static Timestamp oa::Timestamp::fromDouble(oa::F64 inSeconds)
static Timestamp oa::Timestamp::fromMicroseconds(oa::I64 inMicros)
static Timestamp oa::Timestamp::fromMilliseconds(oa::I64 inMillis)
static Timestamp oa::Timestamp::fromNanoseconds(oa::I64 inNanos)
static Timestamp oa::Timestamp::fromSeconds(oa::I64 inSeconds)
static Timestamp oa::Timestamp::now()
static Timestamp oa::Timestamp::zero()

Constructor & Destructor Documentation

oa::Timestamp::Timestamp()
No public source comment is attached to this declaration.
oa::Timestamp::Timestamp( oa::I64 inNanos )
No public source comment is attached to this declaration.

Parameters

inNanos
oa::I64

oa::Timestamp::Timestamp( oa::SteadyTimePoint inTime )
No public source comment is attached to this declaration.

Parameters

inTime
oa::SteadyTimePoint

Public Method Documentation

bool oa::Timestamp::isValid()
No public source comment is attached to this declaration.

Returns

bool

The declared return value.

oa::I64 oa::Timestamp::micros()
No public source comment is attached to this declaration.

Returns

oa::I64

The declared return value.

oa::I64 oa::Timestamp::millis()
No public source comment is attached to this declaration.

Returns

oa::I64

The declared return value.

oa::I64 oa::Timestamp::nanos()
No public source comment is attached to this declaration.

Returns

oa::I64

The declared return value.

bool oa::Timestamp::operator bool()
No public source comment is attached to this declaration.

Returns

bool

The declared return value.

bool oa::Timestamp::operator!=( Timestamp inOther )
No public source comment is attached to this declaration.

Parameters

inOther
Timestamp

Returns

bool

The declared return value.

Timestamp oa::Timestamp::operator+( Timestamp inOther )
No public source comment is attached to this declaration.

Parameters

inOther
Timestamp

Returns

Timestamp

The declared return value.

Timestamp & oa::Timestamp::operator+=( Timestamp inOther )
No public source comment is attached to this declaration.

Parameters

inOther
Timestamp

Returns

Timestamp &

The declared return value.

Timestamp oa::Timestamp::operator-( Timestamp inOther )
No public source comment is attached to this declaration.

Parameters

inOther
Timestamp

Returns

Timestamp

The declared return value.

Timestamp & oa::Timestamp::operator-=( Timestamp inOther )
No public source comment is attached to this declaration.

Parameters

inOther
Timestamp

Returns

Timestamp &

The declared return value.

bool oa::Timestamp::operator<( Timestamp inOther )
No public source comment is attached to this declaration.

Parameters

inOther
Timestamp

Returns

bool

The declared return value.

bool oa::Timestamp::operator<=( Timestamp inOther )
No public source comment is attached to this declaration.

Parameters

inOther
Timestamp

Returns

bool

The declared return value.

bool oa::Timestamp::operator==( Timestamp inOther )
No public source comment is attached to this declaration.

Parameters

inOther
Timestamp

Returns

bool

The declared return value.

bool oa::Timestamp::operator>( Timestamp inOther )
No public source comment is attached to this declaration.

Parameters

inOther
Timestamp

Returns

bool

The declared return value.

bool oa::Timestamp::operator>=( Timestamp inOther )
No public source comment is attached to this declaration.

Parameters

inOther
Timestamp

Returns

bool

The declared return value.

oa::I64 oa::Timestamp::secs()
No public source comment is attached to this declaration.

Returns

oa::I64

The declared return value.

oa::F64 oa::Timestamp::toMs()
No public source comment is attached to this declaration.

Returns

oa::F64

The declared return value.

oa::F64 oa::Timestamp::toSeconds()
No public source comment is attached to this declaration.

Returns

oa::F64

The declared return value.

static Timestamp oa::Timestamp::fromDouble( oa::F64 inSeconds )
No public source comment is attached to this declaration.

Parameters

inSeconds
oa::F64

Returns

Timestamp

The declared return value.

static Timestamp oa::Timestamp::fromMicroseconds( oa::I64 inMicros )
No public source comment is attached to this declaration.

Parameters

inMicros
oa::I64

Returns

Timestamp

The declared return value.

static Timestamp oa::Timestamp::fromMilliseconds( oa::I64 inMillis )
No public source comment is attached to this declaration.

Parameters

inMillis
oa::I64

Returns

Timestamp

The declared return value.

static Timestamp oa::Timestamp::fromNanoseconds( oa::I64 inNanos )
No public source comment is attached to this declaration.

Parameters

inNanos
oa::I64

Returns

Timestamp

The declared return value.

static Timestamp oa::Timestamp::fromSeconds( oa::I64 inSeconds )
No public source comment is attached to this declaration.

Parameters

inSeconds
oa::I64

Returns

Timestamp

The declared return value.

static Timestamp oa::Timestamp::now()
No public source comment is attached to this declaration.

Returns

Timestamp

The declared return value.

static Timestamp oa::Timestamp::zero()
No public source comment is attached to this declaration.

Returns

Timestamp

The declared return value.