Week

opaque type Week

Calendar Week

Week is an opaque Int value, holding week index since start of 1970

Source
Week.scala

Def

@scala.annotation.targetName("plus")
inline def +(inline i: Int): Week

Get further in sequance

Get further in sequance

Returns value, which is given number of position further in sequence

Inherited from
_methods
Source
Sequential.scala
@scala.annotation.targetName("minus")
inline def -(inline i: Int): Week

Get before in sequance

Get before in sequance

Returns value, which is given number of position before in sequence

Inherited from
_methods
Source
Sequential.scala
@scala.annotation.targetName("less")
inline def <(inline v: A): Boolean

Less

Less

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

Inherited from
_methods
Source
Ordered.scala
@scala.annotation.targetName("lessOrEqual")
inline def <=(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
_methods
Source
Ordered.scala
@scala.annotation.targetName("range")
inline def <>(inline to: Int.G.<>[Week]

Range

Range

Returns Range from current to given value

Note. Range uses base primitive natural ordering

Inherited from
zMethodsBase
Source
Ordered.scala
@scala.annotation.targetName("rangeOfSize")
inline def <>=(inline sz: Int): Int.G.<>[Week]
Inherited from
zMethodsBase
Source
Ordered.scala
@scala.annotation.targetName("rangeX")
inline def <>>(inline to: Int.G.<>[Week]

Exclusive end range

Exclusive end range

Returns Range from current to given value exclusive

Note. Range uses base primitive natural ordering

Inherited from
zMethodsBase
Source
Ordered.scala
@scala.annotation.targetName("greater")
inline def >(inline v: A): Boolean

Greater

Greater

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

Inherited from
_methods
Source
Ordered.scala
@scala.annotation.targetName("greaterOrEqual")
inline def >=(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
_methods
Source
Ordered.scala
inline def atLeast(v: Week

Max

Max

Returns maximum of current or given value

Inherited from
zMethodsBase
Source
Ordered.scala
inline def atMost(v: Week

Min

Min

Returns minimun of current or given value

Inherited from
zMethodsBase
Source
Ordered.scala
def index: Int
def isCurrent: Boolean
inline def next: Week

Next in sequance

Next in sequance

Returns next value in sequance

Inherited from
_methods
Source
Sequential.scala
inline def prior: Week

Prior in sequance

Prior in sequance

Returns prior value in sequance

Inherited from
_methods
Source
Sequential.scala
inline def real: Int

Real value

Real value

Returns real value standing behind the opaque type

Inherited from
_methods
Source
__.scala
def start: Time
def year: Year