DayTime
- Source
- DayTime.scala
Def
By generic units.
By generic units.
Creates DayTime specified by one or more [Length]s in any order.
DayTime(10.Hours, 15.Seconds).tp // Prints: 10:00:15
DayTime(10.Hours, 15.Seconds, 45.Minutes).tp // Prints: 10:45:15
- Source
- DayTime.scala
By milliseconds.
By milliseconds.
Creates a DayTime by total milliseconds.
If value
exceeds the whole day, the day divided remainder will be used.
If value
is negative, DayTime down from max value is taken.
DayTime.millis(10001).tp // Prints: 0:00:10.001
DayTime.millis(-10001).tp // Prints: 23:59:49.999
- Source
- DayTime.scala
Inherited
Less
Less
Returns true
if current value is less than given, false
- otherwise
- Inherited from
- Ordered
- Source
- Ordered.scala
Less or equal
Less or equal
Returns true
if current value is less or equal to given, false
- otherwise
- Inherited from
- Ordered
- Source
- Ordered.scala
Exclusive end range
Exclusive end range
Returns Range from current to given value exclusive
Note. Range uses base primitive natural ordering
- Inherited from
- Ordered
- Source
- Ordered.scala
Greater
Greater
Returns true
if current value is greater than given, false
- otherwise
- Inherited from
- Ordered
- Source
- Ordered.scala
Greater or equal
Greater or equal
Returns true
if current value is greater or equal to given, false
- otherwise
- Inherited from
- Ordered
- Source
- Ordered.scala
Type to Info
Type to Info
Override this method to provide type standard Info implementation
- Inherited from
- Type
- Source
- Type.scala