BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bdlt::TimeUnitRatio Struct Reference

#include <bdlt_timeunitratio.h>

Static Public Attributes

static const bsls::Types::Int64 k_NANOSECONDS_PER_MICROSECOND = 1000
 
static const bsls::Types::Int64 k_MICROSECONDS_PER_MILLISECOND = 1000
 
static const bsls::Types::Int64 k_MILLISECONDS_PER_SECOND = 1000
 
static const bsls::Types::Int64 k_SECONDS_PER_MINUTE = 60
 
static const bsls::Types::Int64 k_MINUTES_PER_HOUR = 60
 
static const bsls::Types::Int64 k_HOURS_PER_DAY = 24
 
static const bsls::Types::Int64 k_NANOSECONDS_PER_MILLISECOND
 
static const bsls::Types::Int64 k_NANOSECONDS_PER_SECOND
 
static const bsls::Types::Int64 k_NANOSECONDS_PER_MINUTE
 
static const bsls::Types::Int64 k_NANOSECONDS_PER_HOUR
 
static const bsls::Types::Int64 k_NANOSECONDS_PER_DAY
 
static const bsls::Types::Int64 k_MICROSECONDS_PER_SECOND
 
static const bsls::Types::Int64 k_MICROSECONDS_PER_MINUTE
 
static const bsls::Types::Int64 k_MICROSECONDS_PER_HOUR
 
static const bsls::Types::Int64 k_MICROSECONDS_PER_DAY
 
static const bsls::Types::Int64 k_MILLISECONDS_PER_MINUTE
 
static const bsls::Types::Int64 k_MILLISECONDS_PER_HOUR
 
static const bsls::Types::Int64 k_MILLISECONDS_PER_DAY
 
static const bsls::Types::Int64 k_SECONDS_PER_HOUR
 
static const bsls::Types::Int64 k_SECONDS_PER_DAY
 
static const bsls::Types::Int64 k_MINUTES_PER_DAY
 
static const bsls::Types::Int64 k_NS_PER_US
 
static const bsls::Types::Int64 k_NS_PER_MS
 
static const bsls::Types::Int64 k_NS_PER_S = k_NANOSECONDS_PER_SECOND
 
static const bsls::Types::Int64 k_NS_PER_M = k_NANOSECONDS_PER_MINUTE
 
static const bsls::Types::Int64 k_NS_PER_H = k_NANOSECONDS_PER_HOUR
 
static const bsls::Types::Int64 k_NS_PER_D = k_NANOSECONDS_PER_DAY
 
static const bsls::Types::Int64 k_US_PER_MS
 
static const bsls::Types::Int64 k_US_PER_S = k_MICROSECONDS_PER_SECOND
 
static const bsls::Types::Int64 k_US_PER_M = k_MICROSECONDS_PER_MINUTE
 
static const bsls::Types::Int64 k_US_PER_H = k_MICROSECONDS_PER_HOUR
 
static const bsls::Types::Int64 k_US_PER_D = k_MICROSECONDS_PER_DAY
 
static const bsls::Types::Int64 k_MS_PER_S = k_MILLISECONDS_PER_SECOND
 
static const bsls::Types::Int64 k_MS_PER_M = k_MILLISECONDS_PER_MINUTE
 
static const bsls::Types::Int64 k_MS_PER_H = k_MILLISECONDS_PER_HOUR
 
static const bsls::Types::Int64 k_MS_PER_D = k_MILLISECONDS_PER_DAY
 
static const bsls::Types::Int64 k_S_PER_M = k_SECONDS_PER_MINUTE
 
static const bsls::Types::Int64 k_S_PER_H = k_SECONDS_PER_HOUR
 
static const bsls::Types::Int64 k_S_PER_D = k_SECONDS_PER_DAY
 
static const bsls::Types::Int64 k_M_PER_H = k_MINUTES_PER_HOUR
 
static const bsls::Types::Int64 k_M_PER_D = k_MINUTES_PER_DAY
 
static const bsls::Types::Int64 k_H_PER_D = k_HOURS_PER_DAY
 
static const int k_NANOSECONDS_PER_MICROSECOND_32
 
static const int k_NANOSECONDS_PER_MILLISECOND_32
 
static const int k_NANOSECONDS_PER_SECOND_32
 
static const int k_MICROSECONDS_PER_MILLISECOND_32
 
static const int k_MICROSECONDS_PER_SECOND_32
 
static const int k_MICROSECONDS_PER_MINUTE_32
 
static const int k_MILLISECONDS_PER_SECOND_32 = k_MILLISECONDS_PER_SECOND
 
static const int k_MILLISECONDS_PER_MINUTE_32 = k_MILLISECONDS_PER_MINUTE
 
static const int k_MILLISECONDS_PER_HOUR_32 = k_MILLISECONDS_PER_HOUR
 
static const int k_MILLISECONDS_PER_DAY_32 = k_MILLISECONDS_PER_DAY
 
static const int k_SECONDS_PER_MINUTE_32 = k_SECONDS_PER_MINUTE
 
static const int k_SECONDS_PER_HOUR_32 = k_SECONDS_PER_HOUR
 
static const int k_SECONDS_PER_DAY_32 = k_SECONDS_PER_DAY
 
static const int k_MINUTES_PER_HOUR_32 = k_MINUTES_PER_HOUR
 
static const int k_MINUTES_PER_DAY_32 = k_MINUTES_PER_DAY
 
static const int k_HOURS_PER_DAY_32 = k_HOURS_PER_DAY
 
static const int k_NS_PER_US_32 = k_NANOSECONDS_PER_MICROSECOND
 
static const int k_NS_PER_MS_32 = k_NANOSECONDS_PER_MILLISECOND
 
static const int k_NS_PER_S_32 = k_NANOSECONDS_PER_SECOND
 
static const int k_US_PER_MS_32 = k_MICROSECONDS_PER_MILLISECOND
 
static const int k_US_PER_S_32 = k_MICROSECONDS_PER_SECOND
 
static const int k_US_PER_M_32 = k_MICROSECONDS_PER_MINUTE
 
static const int k_MS_PER_S_32 = k_MILLISECONDS_PER_SECOND
 
static const int k_MS_PER_M_32 = k_MILLISECONDS_PER_MINUTE
 
static const int k_MS_PER_H_32 = k_MILLISECONDS_PER_HOUR
 
static const int k_MS_PER_D_32 = k_MILLISECONDS_PER_DAY
 
static const int k_S_PER_M_32 = k_SECONDS_PER_MINUTE
 
static const int k_S_PER_H_32 = k_SECONDS_PER_HOUR
 
static const int k_S_PER_D_32 = k_SECONDS_PER_DAY
 
static const int k_M_PER_H_32 = k_MINUTES_PER_HOUR
 
static const int k_M_PER_D_32 = k_MINUTES_PER_DAY
 
static const int k_H_PER_D_32 = k_HOURS_PER_DAY
 

Detailed Description

This struct provides a namespace for constants characterizing ratios between commonly-used time units.

Member Data Documentation

◆ k_H_PER_D

const bsls::Types::Int64 bdlt::TimeUnitRatio::k_H_PER_D = k_HOURS_PER_DAY
static

◆ k_H_PER_D_32

const int bdlt::TimeUnitRatio::k_H_PER_D_32 = k_HOURS_PER_DAY
static

◆ k_HOURS_PER_DAY

const bsls::Types::Int64 bdlt::TimeUnitRatio::k_HOURS_PER_DAY = 24
static

◆ k_HOURS_PER_DAY_32

const int bdlt::TimeUnitRatio::k_HOURS_PER_DAY_32 = k_HOURS_PER_DAY
static

◆ k_M_PER_D

const bsls::Types::Int64 bdlt::TimeUnitRatio::k_M_PER_D = k_MINUTES_PER_DAY
static

◆ k_M_PER_D_32

const int bdlt::TimeUnitRatio::k_M_PER_D_32 = k_MINUTES_PER_DAY
static

◆ k_M_PER_H

const bsls::Types::Int64 bdlt::TimeUnitRatio::k_M_PER_H = k_MINUTES_PER_HOUR
static

◆ k_M_PER_H_32

const int bdlt::TimeUnitRatio::k_M_PER_H_32 = k_MINUTES_PER_HOUR
static

◆ k_MICROSECONDS_PER_DAY

const bsls::Types::Int64 bdlt::TimeUnitRatio::k_MICROSECONDS_PER_DAY
static
Initial value:
=
static const bsls::Types::Int64 k_HOURS_PER_DAY
Definition bdlt_timeunitratio.h:210
static const bsls::Types::Int64 k_MICROSECONDS_PER_HOUR
Definition bdlt_timeunitratio.h:236

◆ k_MICROSECONDS_PER_HOUR

const bsls::Types::Int64 bdlt::TimeUnitRatio::k_MICROSECONDS_PER_HOUR
static
Initial value:
=
static const bsls::Types::Int64 k_MICROSECONDS_PER_MINUTE
Definition bdlt_timeunitratio.h:233
static const bsls::Types::Int64 k_MINUTES_PER_HOUR
Definition bdlt_timeunitratio.h:209

◆ k_MICROSECONDS_PER_MILLISECOND

const bsls::Types::Int64 bdlt::TimeUnitRatio::k_MICROSECONDS_PER_MILLISECOND = 1000
static

◆ k_MICROSECONDS_PER_MILLISECOND_32

const int bdlt::TimeUnitRatio::k_MICROSECONDS_PER_MILLISECOND_32
static
Initial value:
=
static const bsls::Types::Int64 k_MICROSECONDS_PER_MILLISECOND
Definition bdlt_timeunitratio.h:206

◆ k_MICROSECONDS_PER_MINUTE

const bsls::Types::Int64 bdlt::TimeUnitRatio::k_MICROSECONDS_PER_MINUTE
static
Initial value:
=
static const bsls::Types::Int64 k_SECONDS_PER_MINUTE
Definition bdlt_timeunitratio.h:208
static const bsls::Types::Int64 k_MICROSECONDS_PER_SECOND
Definition bdlt_timeunitratio.h:230

◆ k_MICROSECONDS_PER_MINUTE_32

const int bdlt::TimeUnitRatio::k_MICROSECONDS_PER_MINUTE_32
static
Initial value:

◆ k_MICROSECONDS_PER_SECOND

const bsls::Types::Int64 bdlt::TimeUnitRatio::k_MICROSECONDS_PER_SECOND
static
Initial value:
=
static const bsls::Types::Int64 k_MILLISECONDS_PER_SECOND
Definition bdlt_timeunitratio.h:207

◆ k_MICROSECONDS_PER_SECOND_32

const int bdlt::TimeUnitRatio::k_MICROSECONDS_PER_SECOND_32
static
Initial value:

◆ k_MILLISECONDS_PER_DAY

const bsls::Types::Int64 bdlt::TimeUnitRatio::k_MILLISECONDS_PER_DAY
static
Initial value:
=
static const bsls::Types::Int64 k_MILLISECONDS_PER_HOUR
Definition bdlt_timeunitratio.h:246

◆ k_MILLISECONDS_PER_DAY_32

const int bdlt::TimeUnitRatio::k_MILLISECONDS_PER_DAY_32 = k_MILLISECONDS_PER_DAY
static

◆ k_MILLISECONDS_PER_HOUR

const bsls::Types::Int64 bdlt::TimeUnitRatio::k_MILLISECONDS_PER_HOUR
static
Initial value:
=
static const bsls::Types::Int64 k_MILLISECONDS_PER_MINUTE
Definition bdlt_timeunitratio.h:243

◆ k_MILLISECONDS_PER_HOUR_32

const int bdlt::TimeUnitRatio::k_MILLISECONDS_PER_HOUR_32 = k_MILLISECONDS_PER_HOUR
static

◆ k_MILLISECONDS_PER_MINUTE

const bsls::Types::Int64 bdlt::TimeUnitRatio::k_MILLISECONDS_PER_MINUTE
static

◆ k_MILLISECONDS_PER_MINUTE_32

const int bdlt::TimeUnitRatio::k_MILLISECONDS_PER_MINUTE_32 = k_MILLISECONDS_PER_MINUTE
static

◆ k_MILLISECONDS_PER_SECOND

const bsls::Types::Int64 bdlt::TimeUnitRatio::k_MILLISECONDS_PER_SECOND = 1000
static

◆ k_MILLISECONDS_PER_SECOND_32

const int bdlt::TimeUnitRatio::k_MILLISECONDS_PER_SECOND_32 = k_MILLISECONDS_PER_SECOND
static

◆ k_MINUTES_PER_DAY

const bsls::Types::Int64 bdlt::TimeUnitRatio::k_MINUTES_PER_DAY
static

◆ k_MINUTES_PER_DAY_32

const int bdlt::TimeUnitRatio::k_MINUTES_PER_DAY_32 = k_MINUTES_PER_DAY
static

◆ k_MINUTES_PER_HOUR

const bsls::Types::Int64 bdlt::TimeUnitRatio::k_MINUTES_PER_HOUR = 60
static

◆ k_MINUTES_PER_HOUR_32

const int bdlt::TimeUnitRatio::k_MINUTES_PER_HOUR_32 = k_MINUTES_PER_HOUR
static

◆ k_MS_PER_D

const bsls::Types::Int64 bdlt::TimeUnitRatio::k_MS_PER_D = k_MILLISECONDS_PER_DAY
static

◆ k_MS_PER_D_32

const int bdlt::TimeUnitRatio::k_MS_PER_D_32 = k_MILLISECONDS_PER_DAY
static

◆ k_MS_PER_H

const bsls::Types::Int64 bdlt::TimeUnitRatio::k_MS_PER_H = k_MILLISECONDS_PER_HOUR
static

◆ k_MS_PER_H_32

const int bdlt::TimeUnitRatio::k_MS_PER_H_32 = k_MILLISECONDS_PER_HOUR
static

◆ k_MS_PER_M

const bsls::Types::Int64 bdlt::TimeUnitRatio::k_MS_PER_M = k_MILLISECONDS_PER_MINUTE
static

◆ k_MS_PER_M_32

const int bdlt::TimeUnitRatio::k_MS_PER_M_32 = k_MILLISECONDS_PER_MINUTE
static

◆ k_MS_PER_S

const bsls::Types::Int64 bdlt::TimeUnitRatio::k_MS_PER_S = k_MILLISECONDS_PER_SECOND
static

◆ k_MS_PER_S_32

const int bdlt::TimeUnitRatio::k_MS_PER_S_32 = k_MILLISECONDS_PER_SECOND
static

◆ k_NANOSECONDS_PER_DAY

const bsls::Types::Int64 bdlt::TimeUnitRatio::k_NANOSECONDS_PER_DAY
static
Initial value:
=
static const bsls::Types::Int64 k_NANOSECONDS_PER_HOUR
Definition bdlt_timeunitratio.h:223

◆ k_NANOSECONDS_PER_HOUR

const bsls::Types::Int64 bdlt::TimeUnitRatio::k_NANOSECONDS_PER_HOUR
static
Initial value:
=
static const bsls::Types::Int64 k_NANOSECONDS_PER_MINUTE
Definition bdlt_timeunitratio.h:220

◆ k_NANOSECONDS_PER_MICROSECOND

const bsls::Types::Int64 bdlt::TimeUnitRatio::k_NANOSECONDS_PER_MICROSECOND = 1000
static

◆ k_NANOSECONDS_PER_MICROSECOND_32

const int bdlt::TimeUnitRatio::k_NANOSECONDS_PER_MICROSECOND_32
static
Initial value:
=
static const bsls::Types::Int64 k_NANOSECONDS_PER_MICROSECOND
Definition bdlt_timeunitratio.h:205

◆ k_NANOSECONDS_PER_MILLISECOND

const bsls::Types::Int64 bdlt::TimeUnitRatio::k_NANOSECONDS_PER_MILLISECOND
static

◆ k_NANOSECONDS_PER_MILLISECOND_32

const int bdlt::TimeUnitRatio::k_NANOSECONDS_PER_MILLISECOND_32
static
Initial value:
=
static const bsls::Types::Int64 k_NANOSECONDS_PER_MILLISECOND
Definition bdlt_timeunitratio.h:214

◆ k_NANOSECONDS_PER_MINUTE

const bsls::Types::Int64 bdlt::TimeUnitRatio::k_NANOSECONDS_PER_MINUTE
static
Initial value:
=
static const bsls::Types::Int64 k_NANOSECONDS_PER_SECOND
Definition bdlt_timeunitratio.h:217

◆ k_NANOSECONDS_PER_SECOND

const bsls::Types::Int64 bdlt::TimeUnitRatio::k_NANOSECONDS_PER_SECOND
static

◆ k_NANOSECONDS_PER_SECOND_32

const int bdlt::TimeUnitRatio::k_NANOSECONDS_PER_SECOND_32
static
Initial value:

◆ k_NS_PER_D

const bsls::Types::Int64 bdlt::TimeUnitRatio::k_NS_PER_D = k_NANOSECONDS_PER_DAY
static

◆ k_NS_PER_H

const bsls::Types::Int64 bdlt::TimeUnitRatio::k_NS_PER_H = k_NANOSECONDS_PER_HOUR
static

◆ k_NS_PER_M

const bsls::Types::Int64 bdlt::TimeUnitRatio::k_NS_PER_M = k_NANOSECONDS_PER_MINUTE
static

◆ k_NS_PER_MS

const bsls::Types::Int64 bdlt::TimeUnitRatio::k_NS_PER_MS
static

◆ k_NS_PER_MS_32

const int bdlt::TimeUnitRatio::k_NS_PER_MS_32 = k_NANOSECONDS_PER_MILLISECOND
static

◆ k_NS_PER_S

const bsls::Types::Int64 bdlt::TimeUnitRatio::k_NS_PER_S = k_NANOSECONDS_PER_SECOND
static

◆ k_NS_PER_S_32

const int bdlt::TimeUnitRatio::k_NS_PER_S_32 = k_NANOSECONDS_PER_SECOND
static

◆ k_NS_PER_US

const bsls::Types::Int64 bdlt::TimeUnitRatio::k_NS_PER_US
static

◆ k_NS_PER_US_32

const int bdlt::TimeUnitRatio::k_NS_PER_US_32 = k_NANOSECONDS_PER_MICROSECOND
static

◆ k_S_PER_D

const bsls::Types::Int64 bdlt::TimeUnitRatio::k_S_PER_D = k_SECONDS_PER_DAY
static

◆ k_S_PER_D_32

const int bdlt::TimeUnitRatio::k_S_PER_D_32 = k_SECONDS_PER_DAY
static

◆ k_S_PER_H

const bsls::Types::Int64 bdlt::TimeUnitRatio::k_S_PER_H = k_SECONDS_PER_HOUR
static

◆ k_S_PER_H_32

const int bdlt::TimeUnitRatio::k_S_PER_H_32 = k_SECONDS_PER_HOUR
static

◆ k_S_PER_M

const bsls::Types::Int64 bdlt::TimeUnitRatio::k_S_PER_M = k_SECONDS_PER_MINUTE
static

◆ k_S_PER_M_32

const int bdlt::TimeUnitRatio::k_S_PER_M_32 = k_SECONDS_PER_MINUTE
static

◆ k_SECONDS_PER_DAY

const bsls::Types::Int64 bdlt::TimeUnitRatio::k_SECONDS_PER_DAY
static
Initial value:
=
static const bsls::Types::Int64 k_SECONDS_PER_HOUR
Definition bdlt_timeunitratio.h:253

◆ k_SECONDS_PER_DAY_32

const int bdlt::TimeUnitRatio::k_SECONDS_PER_DAY_32 = k_SECONDS_PER_DAY
static

◆ k_SECONDS_PER_HOUR

const bsls::Types::Int64 bdlt::TimeUnitRatio::k_SECONDS_PER_HOUR
static

◆ k_SECONDS_PER_HOUR_32

const int bdlt::TimeUnitRatio::k_SECONDS_PER_HOUR_32 = k_SECONDS_PER_HOUR
static

◆ k_SECONDS_PER_MINUTE

const bsls::Types::Int64 bdlt::TimeUnitRatio::k_SECONDS_PER_MINUTE = 60
static

◆ k_SECONDS_PER_MINUTE_32

const int bdlt::TimeUnitRatio::k_SECONDS_PER_MINUTE_32 = k_SECONDS_PER_MINUTE
static

◆ k_US_PER_D

const bsls::Types::Int64 bdlt::TimeUnitRatio::k_US_PER_D = k_MICROSECONDS_PER_DAY
static

◆ k_US_PER_H

const bsls::Types::Int64 bdlt::TimeUnitRatio::k_US_PER_H = k_MICROSECONDS_PER_HOUR
static

◆ k_US_PER_M

const bsls::Types::Int64 bdlt::TimeUnitRatio::k_US_PER_M = k_MICROSECONDS_PER_MINUTE
static

◆ k_US_PER_M_32

const int bdlt::TimeUnitRatio::k_US_PER_M_32 = k_MICROSECONDS_PER_MINUTE
static

◆ k_US_PER_MS

const bsls::Types::Int64 bdlt::TimeUnitRatio::k_US_PER_MS
static

◆ k_US_PER_MS_32

const int bdlt::TimeUnitRatio::k_US_PER_MS_32 = k_MICROSECONDS_PER_MILLISECOND
static

◆ k_US_PER_S

const bsls::Types::Int64 bdlt::TimeUnitRatio::k_US_PER_S = k_MICROSECONDS_PER_SECOND
static

◆ k_US_PER_S_32

const int bdlt::TimeUnitRatio::k_US_PER_S_32 = k_MICROSECONDS_PER_SECOND
static

The documentation for this struct was generated from the following file: