Month
- Source
- Month.scala
Def
Month by year and month numbers.
Month by year and month numbers.
Note, month number is within 1 <> 12.
- Source
- Month.scala
| of days.
| of days.
! of all Days for the month.
Month(2018, 1).days.~.range.tp
// Output
2018-01-01 <> 2018-01-31
- Source
- Month.scala
Set sequential index.
Set sequential index.
| is calculated as: (year.number * 12 + month.number - 1)
Month(2018, 1).index.tp // Prints: 24216
Month(2018, 2).index.tp // Prints: 24217
Month(2018, 3).index.tp // Prints: 24218
- Source
- Month.scala
Month number within the year.
Month number within the year.
Number is within 1 <> 12
- Source
- Month.scala
Year period
Year period
Returns Period from the first moment of the month and the first moment of the next month exclusive.
Month(2018, 1).period.tp // prints: 2018-01-01 0:00:00 to 2018-02-01 0:00:00
- Source
- Month.scala
Month start time
Month start time
Returns Time for the first moment of the month
Month(2018, 1).start.tp // prints: Time{day=2018-01-01,time=0:00}
- Source
- Month.scala
Inherited
Get further in sequance
Get further in sequance
Returns value, which is given number of position further in sequence
- Inherited from
- Sequential
- Source
- Sequential.scala
Get before in sequance
Get before in sequance
Returns value, which is given number of position before in sequence
- Inherited from
- Sequential
- Source
- Sequential.scala
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
Next in sequance
Next in sequance
Returns next value in sequance
- Inherited from
- Sequential
- Source
- Sequential.scala
Prior in sequance
Prior in sequance
Returns prior value in sequance
- Inherited from
- Sequential
- Source
- Sequential.scala