Time.Instant

Alias

Inherited

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: Long.Fun[Instant]

Specialized functions

Specialized functions

Already parameterized set of generic functions

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

Specialized indexed collection

Specialized indexed collection

Already parameterized generic indexed collection

Inherited from
Framework
Source
__.scala
final val Idx: Long.Idx[Instant]

Type companion

Type companion

Holds methods to construct type instances

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

Specialized lookup collection

Specialized lookup collection

Already parameterized generic lookup collection

Inherited from
Framework
Source
__.scala

Type companion

Type companion

Holds methods to construct type instances

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

Specialized option

Specialized option

Already parameterized generic option

Inherited from
Framework
Source
__.scala
final val Opt: Long.Opt[Instant]

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 = Long.G.Pro[A]

Specialized property

Specialized property

Already parameterized generic property

Inherited from
Framework
Source
__.scala
final val Pro: Long.Pro[Instant]

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

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

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

Local

inline def apply(): Instant

Current time instant

Current time instant

Getting instant from java.time.Clock.systemUTC.instant

    Instant().tp
    // Printed no micros or nanos
    2021-01-21 09:36:31.766.000.000
    // Apparently not every JVM supports precise clock
Source
Instant.scala
def apply(i: Instant): Instant

By instant

By instant

Time from java.time.Instant

Source
Instant.scala
inline def fromNanos(inline v: Long): Instant
@targetName("nanosTotal")
def nanosTotal: Long
override def tag(v: Instant): String
Definition Classes
Source
Instant.scala

Inherited inherited

@targetName("plus")
inline def +(inline l: Length): Instant
Inherited from
Nanos
Source
Nanos.scala
@targetName("plusAll")
inline def ++(inline s: ~[Length]): Instant
Inherited from
Nanos
Source
Nanos.scala
@targetName("minus")
inline def -(inline l: Length): Instant
Inherited from
Nanos
Source
Nanos.scala
@targetName("minusAll")
inline def --(inline s: ~[Length]): Instant
Inherited from
Nanos
Source
Nanos.scala
@targetName("age")
def age: Length

Length to current.

Length to current.

Returns Length from this time to current time.

If this is in future, void Length is returned.

Inherited from
Base
Source
Base.scala
@targetName("day")
def day: Day

Day.

Day.

Day, which includes this time instance.

Inherited from
Base
Source
Base.scala
inline def daysTotal: Long

Day count

Day count

Total days (24.Hours) which fit in this time unit

Inherited from
Nanos
Source
Nanos.scala
@targetName("dayTime")

DayTime component.

DayTime component.

DayTime component of this time instance.

Inherited from
Base
Source
Base.scala
inline def emptyArray: Array[Instant]

Empty array

Empty array

Returns singleton scala.Array.emptyLongArray

Inherited from
Framework
Source
__.scala
inline def hours: Long

Hours remainder

Hours remainder

Hours remainder when rounded by whole day (24 hours)

Value range is from 0 to 23

Inherited from
Nanos
Source
Nanos.scala
inline def hoursTotal: Long

Hours count

Hours count

Total hours which fit in this time unit

Inherited from
Nanos
Source
Nanos.scala
def info(v: Instant): Info

Type to Info

Type to Info

Override this method to provide type standard Info implementation

Inherited from
Type
Source
Type.scala
@targetName("isFuture")
def isFuture: Boolean

Check if in future.

Check if in future.

Returns true if this time is greater than current.

Inherited from
Base
Source
Base.scala
@targetName("isPast")
def isPast: Boolean

Check if in past.

Check if in past.

Returns true if this time is less or equal to current.

Inherited from
Base
Source
Base.scala
final def isRef: Boolean
Inherited from
Type
Source
Type.scala
override def isVoid(v: Instant): Boolean
Definition Classes
Type -> Longs -> Type -> Void
Inherited from
Type
Source
__.scala
@targetName("lengthTo")
def lengthTo(that: Time): Length

Range duration

Range duration

Returns Length between this and that.

Inherited from
Base
Source
Base.scala
inline def micros: Long

Microseconds remainder

Microseconds remainder

Microseconds remainder when rounded by whole millisecond

Value range is from 0 to 999

Inherited from
Nanos
Source
Nanos.scala
inline def microsTotal: Long

Microseconds count

Microseconds count

Total microseconds which fit in this time unit

Inherited from
Nanos
Source
Nanos.scala
inline def millis: Long

Milliseconds remainder

Milliseconds remainder

Milliseconds remainder when rounded by whole second

Value range is from 0 to 999

Inherited from
Nanos
Source
Nanos.scala
@targetName("millisTotal")
def millisTotal: Long

Milliseconds count

Milliseconds count

Total milliseconds which fit in this time unit

Inherited from
Nanos
Source
Nanos.scala
inline def minutes: Long

Minutes remainder

Minutes remainder

Minutes remainder when rounded by whole hour

Value range is from 0 to 59

Inherited from
Nanos
Source
Nanos.scala
inline def minutesTotal: Long

Minutes count

Minutes count

Total minutes which fit in this time unit

Inherited from
Nanos
Source
Nanos.scala
@targetName("month")
def month: Month

Month.

Month.

Month, which includes this time instance.

Inherited from
Base
Source
Base.scala
val name: String
Inherited from
Type
Source
__.scala
inline def nanos: Long

Nanoseconds remainder

Nanoseconds remainder

Nanoseconds remainder when rounded by whole microsecond

Value range is from 0 to 999

Inherited from
Nanos
Source
Nanos.scala
inline def real: Long
Inherited from
Type
Source
__.scala
@targetName("roundTo")
def roundTo(l: Length)(using r: Rounding): Instant
Inherited from
Nanos
Source
Nanos.scala
inline def seconds: Long

Seconds remainder

Seconds remainder

Seconds remainder when rounded by whole minute

Value range is from 0 to 59

Inherited from
Nanos
Source
Nanos.scala
inline def secondsTotal: Long

Seconds count

Seconds count

Total seconds which fit in this time unit

Inherited from
Nanos
Source
Nanos.scala
@targetName("toBrief")
def toBrief: String

Short String.

Short String.

Time is rounded to 1.Second.

For current Day, day portion is ommited.

Inherited from
Base
Source
Base.scala
@targetName("week")
Inherited from
Base
Source
Base.scala
inline def weeksTotal: Long
Inherited from
Nanos
Source
Nanos.scala
@targetName("year")
def year: Year

Year.

Year.

Year, which includes this time instance.

Inherited from
Base
Source
Base.scala