Year

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[Year]

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[Year]

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[Year]

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[Year]

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[Year]

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[Year]

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[Year]

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

inline def apply(inline v: Int): Year
def apply(): Year
def days: Idx

| of days.

| of days.

! of all Days for the year.

Size is 366 for leap and 365 for regular years.

  2018.Year.days.~.range.tp
  // Output
   2018-01-01 <> 2018-12-31
Source
Year.scala
def isCurrent: Boolean
inline def isLeap: Boolean

Leap year indicator.

Leap year indicator.

Leap years have an extra day - Feb 29th.

Leap years usually happen every 4 years. But, let's check:

   // Find every 4th year, which is not leap
   (0 <> 2050).~.map(_.Year).take(_.number % 4 == 0).remove(_.isLeap).tp
   // Output
   ~(100, 200, 300, 500, 600, 700, 900, 1000, 1100, 1300, 1400, 1500, 1700, 1800, 1900)
Source
Year.scala
override def isVoid(v: Year): Boolean
Definition Classes
Type -> Ints -> Type -> Void
Source
Year.scala
def months: Idx

| of months.

| of months.

! of all Months for the year.

Size is always 12.

   2018.Year.months.~.tp
   // Output
   ~(2018-01, 2018-02, 2018-03, 2018-04, 2018-05, 2018-06, 2018-07, 2018-08, 2018-09, 2018-10, 2018-11, 2018-12)
Source
Year.scala
inline def number: Int

Year number.

Year number.

  2018.Year.number.tp // Prints: 2018
Source
Year.scala
inline def period: Period

Year period

Year period

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

  2018.Year.period.tp // prints: 2018-01-01 0:00:00 to 2019-01-01 0:00:00
Source
Year.scala
def start: Time

Year start time

Year start time

Returns Time for the first moment of the year

   2018.Year.start.tp // prints: Time{day=2018-01-01,time=0:00}
Source
Year.scala
override def tag(v: Year): String
Definition Classes
Source
Year.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[Year]

Empty array

Empty array

Returns singleton scala.Array.emptyIntArray

Inherited from
Framework
Source
__.scala
def info(v: Year): 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