Module: Puppet::Pops::Time
- Defined in:
- lib/puppet/pops/time/timespan.rb,
lib/puppet/pops/time/timestamp.rb
Defined Under Namespace
Classes: TimeData, Timespan, Timestamp
Constant Summary collapse
- NSECS_PER_USEC =
1000
- NSECS_PER_MSEC =
NSECS_PER_USEC * 1000
- NSECS_PER_SEC =
NSECS_PER_MSEC * 1000
- NSECS_PER_MIN =
NSECS_PER_SEC * 60
- NSECS_PER_HOUR =
NSECS_PER_MIN * 60
- NSECS_PER_DAY =
NSECS_PER_HOUR * 24
- KEY_STRING =
'string'
- KEY_FORMAT =
'format'
- KEY_NEGATIVE =
'negative'
- KEY_DAYS =
'days'
- KEY_HOURS =
'hours'
- KEY_MINUTES =
'minutes'
- KEY_SECONDS =
'seconds'
- KEY_MILLISECONDS =
'milliseconds'
- KEY_MICROSECONDS =
'microseconds'
- KEY_NANOSECONDS =
'nanoseconds'