final class Month extends AnyVal with Any.Datum.Int.Sequential[Util.Calendar.Month]

Calendar Month

Ordering
  1. Alphabetic
Inherited
  1. Month
  2. Any.Datum.Int.Sequential
  3. Any.Datum.Int.Ordered
  4. Any.Datum.Z.Ordered
  5. Any.Datum.Int
  6. Custom.Number.Like
  7. Any.Datum
  8. Any.Wrap
  9. scala.AnyVal
  10. scala.Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Constant

  1. val real: Int
    Attributes
    protected
    Definition Classes
    Month_Trait_Trait

Method

  1. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  2. def day(num: Int): Util.Calendar.Day

    Day by number.

    Day by number.

    Returns Day within this Month by number.

    num

    day number from 1 up to 31

    Month.make(2018,4).day(9).lp // Prints: 2018-04-09
    Definition Classes
    Month
  3. def days: Idx[Util.Calendar.Day]

    Idx of days.

    Idx of days.

    Idx of all Days for the month.

    Month.make(2018, 1).days.all.range.lp
    // Output
    2018-01-01 <> 2018-01-31
    Definition Classes
    Month
  4. def index: Int

    Unique sequential index.

    Unique sequential index.

    Idx is calculated as: (year.number * 12 + month.number - 1)

    Month.make(2018, 1).index.lp // Prints: 24216
    Month.make(2018, 2).index.lp // Prints: 24217
    Month.make(2018, 3).index.lp // Prints: 24218
    Definition Classes
    Month
  5. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  6. def make(v: Int): Month
    Attributes
    protected
    Definition Classes
    _Trait_Trait
  7. def max(v: Month): Month

    Maximum value

    Maximum value

    Returns maximum of this and provided value

    Definition Classes
    _Trait → Ordered
  8. def min(v: Month): Month

    Minimum value

    Minimum value

    Returns minimum of this and provided value

    Definition Classes
    _Trait → Ordered
  9. def next: Month
    Definition Classes
    _Trait
  10. def number: Int

    Month number within the year.

    Month number within the year.

    Number is within 1 <> 12

    Definition Classes
    Month
  11. def period: Util.Time.Period

    Year period

    Year period

    Returns Period from the first moment of the month and the first moment of the next month exclusive.

    Month.make(2018, 1).period.lp // prints: 2018-01-01 0:00:00 to 2018-02-01 0:00:00
    Definition Classes
    Month
  12. def prior: Month
    Definition Classes
    _Trait
  13. def realNumber: Integer
    Attributes
    protected
    Definition Classes
    _TraitLike
  14. def setup: Month.type
    Attributes
    protected
    Definition Classes
    Month_Trait_Trait_Trait
  15. def start: Time

    Month start time

    Month start time

    Returns Time for the first moment of the month

    Month.make(2018, 1).start.lp // prints: Time{day=2018-01-01,time=0:00}
    Definition Classes
    Month
  16. def toString(): String
    Definition Classes
    Month → Any
  17. def year: Util.Calendar.Year

    Month's year.

    Month's year.

    Returns Year which contains this Month.

    Definition Classes
    Month

Operator

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. def +(i: Int): Month
    Definition Classes
    _Trait
  4. def -(i: Int): Month
    Definition Classes
    _Trait
  5. def <(v: Month): Boolean

    Is less test

    Is less test

    Returns true if this is less than v, false otherwise

    Definition Classes
    _Trait → Ordered
  6. def <=(v: Month): Boolean

    Is less or equal test

    Is less or equal test

    Returns true if this is less or equal to v, false otherwise

    Definition Classes
    _Trait → Ordered
  7. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  8. def >(v: Month): Boolean

    Is greater test

    Is greater test

    Returns true if this is greater than v, false otherwise

    Definition Classes
    _Trait → Ordered
  9. def >=(v: Month): Boolean

    Is greater or equal test

    Is greater or equal test

    Returns true if this is greater or equal to v, false otherwise

    Definition Classes
    _Trait → Ordered