Time
Parameters
the hour of day
the minute of the hour
the second of the minute
the nanosecond of the second
Throws
if the time is invalid
Constructors
Types
Functions
Returns this time with hours subtracted from it.
Returns this time with microseconds subtracted from it.
Returns this time with milliseconds subtracted from it.
Returns this time with minutes subtracted from it.
Returns this time with nanoseconds subtracted from it.
Returns this time with seconds subtracted from it.
Returns this time with hours added to it.
Returns this time with microseconds added to it.
Returns this time with milliseconds added to it.
Returns this time with minutes added to it.
Returns this time with nanoseconds added to it.
Returns this time with seconds added to it.
Properties
Extensions
Combines a local time with a UTC offset to create an OffsetTime.
Returns this time, rounded down to match the precision of a given unit.
Returns this time, rounded down to the nearest hour that satisfies the increment.
Returns this time, rounded down to the nearest minute that satisfies the increment.
Returns this time, rounded down to the nearest second that satisfies the increment.
Returns this time, rounded down to the nearest millisecond that satisfies the increment.
Returns this time, rounded down to the nearest microsecond that satisfies the increment.
Returns this time, rounded down to the nearest nanosecond that satisfies the increment.
Returns this time, rounded to the nearest hour that satisfies the increment. If the time is halfway between increments, it will be rounded up.
Returns this time, rounded to the nearest minute that satisfies the increment. If the time is halfway between increments, it will be rounded up.
Returns this time, rounded to the nearest second that satisfies the increment. If the time is halfway between increments, it will be rounded up.
Returns this time, rounded to the nearest millisecond that satisfies the increment. If the time is halfway between increments, it will be rounded up.
Returns this time, rounded to the nearest microsecond that satisfies the increment. If the time is halfway between increments, it will be rounded up.
Returns this time, rounded to the nearest nanosecond that satisfies the increment. If the time is halfway between increments, it will be rounded up.
Returns this time, rounded up to match the precision of a given unit.
Returns this time, rounded up to the nearest hour that satisfies the increment.
Returns this time, rounded up to the nearest minute that satisfies the increment.
Returns this time, rounded up to the nearest second that satisfies the increment.
Returns this time, rounded up to the nearest millisecond that satisfies the increment.
Returns this time, rounded up to the nearest microsecond that satisfies the increment.
Returns this time, rounded up to the nearest nanosecond that satisfies the increment.
Converts this time to an equivalent Java LocalTime.
Converts this time to an equivalent NSDateComponents object.
Returns this time, rounded down to match the precision of a given unit.