Parses a LocalTime from the specified string using a formatter. Parses a LocalTime from the specified string. Using ISOChronology in the specified time zone. Using ISOChronology in the default time zone. Obtains a LocalTime set to the current system millisecond time Get the minute of hour field property which provides access to advanced functionality. Returns a copy of this time minus the specified number of seconds. Returns a copy of this time minus the specified number of minutes. Returns a copy of this time minus the specified number of millis. Returns a copy of this time minus the specified number of hours. Returns a copy of this time with the specified period taken away. Get the millis of second property which provides access to advanced functionality. Get the millis of day property which provides access to advanced functionality. Get the hour of day field property which provides access to advanced functionality.Ĭhecks if the field type specified is supported by thisĬhecks if the duration type specified is supported by this Gets the value of the field at the specifed index. Of T00:00:00 (not fixed to any specific time zone). Gets the local milliseconds from the Java epoch Gets the field for a specific index in the chronology specified. Get the value of one of the fields of time. Instant evaluated using ISO chronology in the specified zone.Ĭonstructs an instance from an Object that represents a datetime.Ĭonstructs an instance from an Object that represents a datetime,Ĭompares this partial with another returning an integerĬompares this ReadablePartial with another returning true if the chronology,Ĭonstructs a LocalTime from a Ĭonstructs a LocalTime from a Ĭonstructs a LocalTime from the specified millis of day using the Instant evaluated using the specified chronology. Instant evaluated using ISO chronology in the default zone. Using the specified chronology, whose zone is ignored.Ĭonstructs an instance set to the local time defined by the specified Powerful datetime functionality to be easily accessed.Ĭonstructs an instance set to the current local time evaluated usingĬonstructs an instance set to the specified time LocalTime.Property binds a LocalTime to a DateTimeField allowing Since: 1.3 Author: Stephen Colebourne See Also: Serialized Form LocalTime is thread-safe and immutable, provided that the Chronology is as well.Īll standard Chronology classes supplied are thread-safe and immutable. The second technique also provides access to other useful methods on the This chronology will be set internally to be in the UTC time zoneĮach individual field can be queried in two ways: However, all time fields may in fact be queried.Ĭalculations on LocalTime are performed using a Chronology. HourOfDay, MinuteOfHour, SecondOfMinute and MillisOfSecond. To do this, the interface methods focus on the key fields. LocalTime implements the ReadablePartial interface. LocalTime is an immutable time class representing a time Public final class LocalTime extends BaseLocal implements ReadablePartial, Serializable SUMMARY: NESTED | FIELD | CONSTR | METHODĬlass LocalTime .AbstractPartial .BaseLocal All Implemented Interfaces: Serializable, Comparable, ReadablePartial
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |