DayTime

opaque type DayTime

Time within Day

DayTime is an opaque Long value holding nanoseconds since midnigth

Source
DayTime.scala

Def

@targetName("plus")
inline def +(l: Time.Length): DayTime
@targetName("minus")
inline def -(l: Time.Length): DayTime
@targetName("less")
inline def <(v: DayTime): Boolean

Less

Less

Returns true if current value is less than given, false - otherwise

Inherited from
_methods
Source
Ordered.scala
@targetName("lessOrEqual")
inline def <=(v: DayTime): Boolean

Less or equal

Less or equal

Returns true if current value is less or equal to given, false - otherwise

Inherited from
_methods
Source
Ordered.scala
@targetName("range")
inline def <>(to: Long.G.Range[DayTime]

Range

Range

Returns Range from current to given value

Note. Range uses base primitive natural ordering

Inherited from
z_MethodsBase
Source
Ordered.scala
@targetName("rangeX")
inline def <>>(to: Long.G.Range[DayTime]

Exclusive end range

Exclusive end range

Returns Range from current to given value exclusive

Note. Range uses base primitive natural ordering

Inherited from
z_MethodsBase
Source
Ordered.scala
@targetName("greater")
inline def >(v: DayTime): Boolean

Greater

Greater

Returns true if current value is greater than given, false - otherwise

Inherited from
_methods
Source
Ordered.scala
@targetName("greaterOrEqual")
inline def >=(v: DayTime): Boolean

Greater or equal

Greater or equal

Returns true if current value is greater or equal to given, false - otherwise

Inherited from
_methods
Source
Ordered.scala
@targetName("Opt")
inline def ?: Long.G.Opt[DayTime]

To option

To option

Returns Long specialized option

Inherited from
_methods
Source
Base.scala
inline def daysTotal: Long

Day count

Day count

Total days (24.Hours) which fit in this time unit

Inherited from
Length
Source
Nanos.scala
inline def hours: Long

Hours remainder

Hours remainder

Hours remainder when rounded by whole day (24 hours)

Value range is from 0 to 23

Inherited from
Base
Source
Nanos.scala
inline def hoursTotal: Long

Hours count

Hours count

Total hours which fit in this time unit

Inherited from
Length
Source
Nanos.scala
inline def length: Time.Length

Length from midnight.

Length from midnight.

Source
DayTime.scala
inline def max(v:

Max value

Max value

Returns maximum of current or given value

Inherited from
z_MethodsBase
Source
Ordered.scala
inline def micros: Long

Microseconds remainder

Microseconds remainder

Microseconds remainder when rounded by whole millisecond

Value range is from 0 to 999

Inherited from
Base
Source
Nanos.scala
inline def microsTotal: Long

Microseconds count

Microseconds count

Total microseconds which fit in this time unit

Inherited from
Length
Source
Nanos.scala
inline def millis: Long

Milliseconds remainder

Milliseconds remainder

Milliseconds remainder when rounded by whole second

Value range is from 0 to 999

Inherited from
Base
Source
Nanos.scala
inline def millisTotal: Long

Milliseconds count

Milliseconds count

Total milliseconds which fit in this time unit

Inherited from
Length
Source
Nanos.scala
inline def min(v:

Min value

Min value

Returns minimun of current or given value

Inherited from
z_MethodsBase
Source
Ordered.scala
inline def minutes: Long

Minutes remainder

Minutes remainder

Minutes remainder when rounded by whole hour

Value range is from 0 to 59

Inherited from
Base
Source
Nanos.scala
inline def minutesTotal: Long

Minutes count

Minutes count

Total minutes which fit in this time unit

Inherited from
Length
Source
Nanos.scala
inline def nanos: Long

Nanoseconds remainder

Nanoseconds remainder

Nanoseconds remainder when rounded by whole microsecond

Value range is from 0 to 999

Inherited from
Base
Source
Nanos.scala
inline def nanosTotal: Long

Nanoseconds count

Nanoseconds count

Total nanoseconds which fit in this time unit

Note: Maximum duration expressed in nanoseconds is "7331 days, 10 hours, 50 mins, 44.854775807 secs". Unboxed over will cause problems

Inherited from
Length
Source
Nanos.scala
inline def real: Long

Real value

Real value

Returns Long value standing behind the opaque type.

This is a zero cost call.

Inherited from
_methods
Source
Base.scala
inline def roundTo(l: Time.Length)(using r: Math.Rounding): DayTime
Inherited from
Base
Source
Nanos.scala
inline def seconds: Long

Seconds remainder

Seconds remainder

Seconds remainder when rounded by whole minute

Value range is from 0 to 59

Inherited from
Base
Source
Nanos.scala
inline def secondsTotal: Long

Seconds count

Seconds count

Total seconds which fit in this time unit

Inherited from
Length
Source
Nanos.scala
def tagBrief: String
inline def weeksTotal: Long
Inherited from
Length
Source
Nanos.scala