NOTE: This class only supports the four fields listed above. Thus, you cannot query the millisOfDay or secondOfDay fields for example. The new LocalTime
class removes this restriction.
Calculations on TimeOfDay are performed using a {@link Chronology}. This chronology is set to be in the UTC time zone for all calculations.
Each individual field can be queried in two ways:
getHourOfDay()
hourOfDay().get()
hourOfDay().get()
hourOfDay().getAsText()
hourOfDay().getAsShortText()
hourOfDay().getMaximumValue()
hourOfDay().addToCopy()
hourOfDay().setCopy()
TimeOfDay is thread-safe and immutable, provided that the Chronology is as well. All standard Chronology classes supplied are thread-safe and immutable. @author Stephen Colebourne @author Brian S O'Neill @since 1.0 @deprecated Use LocalTime which has a much better internal implementation andhas been available since 1.3
The hour is in 24-hour convention, meaning values are from 0 to 23.
@see DailyTimeIntervalScheduleBuilder @since 2.0.3 @author James House @author Zemian Deng
|
|
|
|
|
|
|
|
|
|