Day

Source
Day.scala

Alias

Inherited

type Buffer = Int.G.Buffer[A]

Specialized buffer

Specialized buffer

Already parameterized generic buffer

Inherited from
Framework
Source
__.scala

Specialized collection

Specialized collection

Already parameterized generic collection

Inherited from
Framework
Source
__.scala

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Framework
Source
__.scala
final val Fun: Int.Fun[Day]

Specialized functions

Specialized functions

Already parameterized set of generic functions

Inherited from
Framework
Source
__.scala
type Idx = Int.G.Idx[A]

Specialized indexed collection

Specialized indexed collection

Already parameterized generic indexed collection

Inherited from
Framework
Source
__.scala
final val Idx: Int.Idx[Day]

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Framework
Source
__.scala
type Lookup[B] = Int.G.Lookup[A, B]

Specialized lookup collection

Specialized lookup collection

Already parameterized generic lookup collection

Inherited from
Framework
Source
__.scala
final val Lookup: Int.Lookup[Day]

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Framework
Source
__.scala
type Opt = Int.G.Opt[A]

Specialized option

Specialized option

Already parameterized generic option

Inherited from
Framework
Source
__.scala
final val Opt: Int.Opt[Day]

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Framework
Source
__.scala

Parameterized J.Ordering

Parameterized J.Ordering

Already parameterized generic J.Ordering

Inherited from
Framework
Source
__.scala
type Pro = Int.G.Pro[A]

Specialized property

Specialized property

Already parameterized generic property

Inherited from
Framework
Source
__.scala
final val Pro: Int.Pro[Day]

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Framework
Source
__.scala
type Promise = Promise[A]

Parameterized Val.Promise

Parameterized Val.Promise

Already parameterized generic Val.Promise

Inherited from
Framework
Source
__.scala
inline def Promise: Ref.Promise[Day]

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Framework
Source
__.scala
type Result = Result.type[A]

Parameterized Val.Result

Parameterized Val.Result

Already parameterized generic Val.Result

Inherited from
Framework
Source
__.scala
inline def Result: Ref.Result[Day]

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Framework
Source
__.scala

Type alias

Type alias

Shortcut to Collection.StableSet

Inherited from
Framework
Source
__.scala

Companion alias

Companion alias

Holds methods to construct type instances

Inherited from
Framework
Source
__.scala

Def

@targetName("and")
inline def &(l: Length): Time
Source
Day.scala
def apply(): Day
Source
Day.scala
def apply(year: Int, month: Int, day: Int): Day
Source
Day.scala
def apply(m: Month, day: Int): Day
Source
Day.scala
inline def byIndex(epochDay: Int): Day
Source
Day.scala
inline def index: Int

Set sequential index.

Set sequential index.

Day 1970-01-01 has index 0

 Day(1900, 1, 31).index.tp // Prints: -25537
 Day(1970, 1, 31).index.tp // Prints: 30
 Day(2018, 1, 31).index.tp // Prints: 17562
Source
Day.scala
inline def isCurrent: Boolean

Checks if today.

Checks if today.

Returns true if this day is today.

   Day().isCurrent.tp // Prints: true
Source
Day.scala
override def isVoid(v: Day): Boolean
Definition Classes
Type -> Ints -> Type -> Void
Source
Day.scala
def month: Month

Day's month.

Day's month.

Returns Month which contains this Day.

Source
Day.scala
def number: Int

Day number within the month.

Day number within the month.

Number is from 1 and up to 31

Source
Day.scala
inline def period: Period

Day period

Day period

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

  Day(2018, 1, 1).period.tp // prints: 2018-01-01 0:00:00 to 2018-01-02 0:00:00
Source
Day.scala
def start: Time

Day start time.

Day start time.

Returns Time for the first moment of the day.

   Day(2018, 1, 1).start.tp // prints: Time{day=2018-01-01,time=0:00}
Source
Day.scala
override def tag(v: Day): String
Definition Classes
Source
Day.scala
def unapply(v: Day): Option[(Int, Int, Int)]
Source
Day.scala
def week: Week
Source
Day.scala

Sunday to Saturday enumereration value.

Sunday to Saturday enumereration value.

Returns WeekDay value corresponding to this day.

   // Calculate number of each WeakDay in the year 2000
   2000.Year.days.~.map(_.weekDay)
       .countFew(_.isSun, _.isMon, _.isTue, _.isWed, _.isThu, _.isFri, _.isSat).~.tp
   // Output
   ~(53, 52, 52, 52, 52, 52, 53)
Source
Day.scala
def year: Year

Day's year.

Day's year.

Returns Year which contains this Day.

Source
Day.scala

Inherited

@targetName("plus")
inline def +[A <: RAW](inline i: Int): A

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
@targetName("minus")
inline def -[A <: RAW](inline i: Int): A

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
@targetName("less")
inline def <[A <: RAW](inline v: A): Boolean

Less

Less

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

Inherited from
Ordered
Source
Ordered.scala
@targetName("lessOrEqual")
inline def <=[A <: RAW](inline v: A): Boolean

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
@targetName("rangeSized")
inline def <>=[A <: RAW](inline sz: Int): Int.G.<>[A]
Inherited from
Ordered
Source
Ordered.scala
@targetName("rangeX")
inline def <>>[A <: RAW](inline to: A): Int.G.<>[A]

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
@targetName("greater")
inline def >[A <: RAW](inline v: A): Boolean

Greater

Greater

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

Inherited from
Ordered
Source
Ordered.scala
@targetName("greaterOrEqual")
inline def >=[A <: RAW](inline v: A): Boolean

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
inline def atLeast[A <: RAW](v: A): A

Max

Max

Returns maximum of current or given value

Inherited from
Ordered
Source
Ordered.scala
inline def atMost[A <: RAW](v: A): A

Min

Min

Returns minimun of current or given value

Inherited from
Ordered
Source
Ordered.scala
inline def emptyArray: Array[Day]

Empty array

Empty array

Returns singleton scala.Array.emptyIntArray

Inherited from
Framework
Source
__.scala
def info(v: Day): Info

Type to Info

Type to Info

Override this method to provide type standard Info implementation

Inherited from
Type
Source
Type.scala
final def isRef: Boolean
Inherited from
Type
Source
Type.scala
val name: String
Inherited from
Type
Source
__.scala
inline def next[A <: RAW]: A

Next in sequance

Next in sequance

Returns next value in sequance

Inherited from
Sequential
Source
Sequential.scala
@threadUnsafe
Inherited from
Ordered
Source
Ordered.scala
inline def prior[A <: RAW]: A

Prior in sequance

Prior in sequance

Returns prior value in sequance

Inherited from
Sequential
Source
Sequential.scala
inline def real: Int
Inherited from
Type
Source
__.scala