object ChronoZonedDateTime
- Alphabetic
- By Inheritance
- ChronoZonedDateTime
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def from(temporal: TemporalAccessor): ChronoZonedDateTime[_]
Obtains an instance of
ChronoZonedDateTimefrom a temporal object.Obtains an instance of
ChronoZonedDateTimefrom a temporal object.This creates a zoned date-time based on the specified temporal. A
TemporalAccessorrepresents an arbitrary set of date and time information, which this factory converts to an instance ofChronoZonedDateTime.The conversion extracts and combines the chronology, date, time and zone from the temporal object. The behavior is equivalent to using
Chronology#zonedDateTime(TemporalAccessor)with the extracted chronology. Implementations are permitted to perform optimizations such as accessing those fields that are equivalent to the relevant objects.This method matches the signature of the functional interface
TemporalQueryallowing it to be used as a query via method reference,ChronoZonedDateTime::from.- temporal
the temporal object to convert, not null
- returns
the date-time, not null
- Exceptions thrown
DateTimeExceptionif unable to convert to a { @code ChronoZonedDateTime}- See also
Chronology#zonedDateTime(TemporalAccessor)
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def timeLineOrder: Comparator[ChronoZonedDateTime[_]]
Gets a comparator that compares
ChronoZonedDateTimein time-line order ignoring the chronology.Gets a comparator that compares
ChronoZonedDateTimein time-line order ignoring the chronology.This comparator differs from the comparison in
#compareToin that it only compares the underlying instant and not the chronology. This allows dates in different calendar systems to be compared based on the position of the date-time on the instant time-line. The underlying comparison is equivalent to comparing the epoch-second and nano-of-second.- returns
a comparator that compares in time-line order ignoring the chronology
- See also
#isAfter
#isBefore
#isEqual
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()