public abstract class BaseLocal extends AbstractPartial
This class should generally not be used directly by API users.
ReadablePartial interface should be used when different
kinds of partial objects are to be referenced.
BasePartial subclasses may be mutable and not thread-safe.
|Modifier||Constructor and Description|
Constructs a partial with the current time, using ISOChronology in the default zone to extract the fields.
|Modifier and Type||Method and Description|
Gets the local milliseconds from the Java epoch of 1970-01-01T00:00:00 (not fixed to any specific time zone).
compareTo, equals, get, getField, getField, getFields, getFieldType, getFieldTypes, getValues, hashCode, indexOf, indexOf, indexOfSupported, indexOfSupported, isAfter, isBefore, isEqual, isSupported, toDateTime, toString
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
The constructor uses the default time zone, resulting in the local time being initialised. Once the constructor is complete, all further calculations are performed without reference to a timezone (by switching to UTC).
protected abstract long getLocalMillis()
This method is useful in certain circumstances for high performance access to the datetime fields.
Copyright © 2002–2020 Joda.org. All rights reserved.