Java org.joda.time TimeOfDay fields, constructors, methods, implement or subclass

Example usage for Java org.joda.time TimeOfDay fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.joda.time TimeOfDay.

The text is from its open source code.

Subclass

org.joda.time.TimeOfDay has subclasses.
Click this link to see all its subclasses.

Field

TimeOfDayMIDNIGHT
Constant for midnight.

Constructor

TimeOfDay(int hourOfDay, int minuteOfHour, Chronology chronology)
Constructs a TimeOfDay with specified hour and minute and zero seconds and milliseconds.
TimeOfDay(int hourOfDay, int minuteOfHour, int secondOfMinute)
Constructs a TimeOfDay with specified time field values and zero milliseconds using ISOChronology in the default zone.
TimeOfDay(DateTimeZone zone)
Constructs a TimeOfDay with the current time, using ISOChronology in the specified zone to extract the fields.
TimeOfDay(Chronology chronology)
Constructs a TimeOfDay with the current time, using the specified chronology and zone to extract the fields.
TimeOfDay(long instant)
Constructs a TimeOfDay extracting the partial fields from the specified milliseconds using the ISOChronology in the default zone.
TimeOfDay(Object instant)
Constructs a TimeOfDay from an Object that represents a time.
TimeOfDay(long instant, Chronology chronology)
Constructs a TimeOfDay extracting the partial fields from the specified milliseconds using the chronology provided.
TimeOfDay(Object instant, Chronology chronology)
Constructs a TimeOfDay from an Object that represents a time, using the specified chronology.
TimeOfDay(int hourOfDay, int minuteOfHour)
Constructs a TimeOfDay with specified hour and minute and zero seconds and milliseconds using ISOChronology in the default zone.
TimeOfDay(TimeOfDay partial, int[] values)
Constructs a TimeOfDay with chronology from this instance and new values.
TimeOfDay(TimeOfDay partial, Chronology chrono)
Constructs a TimeOfDay with values from this instance and a new chronology.
TimeOfDay(int hourOfDay, int minuteOfHour, int secondOfMinute, Chronology chronology)
Constructs a TimeOfDay with specified time field values and zero milliseconds.
TimeOfDay(int hourOfDay, int minuteOfHour, int secondOfMinute, int millisOfSecond)
Constructs a TimeOfDay with specified time field values using ISOChronology in the default zone.
TimeOfDay(int hourOfDay, int minuteOfHour, int secondOfMinute, int millisOfSecond, Chronology chronology)
Constructs a TimeOfDay with specified time field values and chronology.

Method

TimeOfDayfromMillisOfDay(long millisOfDay)
Constructs a TimeOfDay from the specified millis of day using the ISO chronology.
ChronologygetChronology()
Gets the chronology of the partial which is never null.
intgetHourOfDay()
Get the hour of day (0-23) field value.
intgetMillisOfSecond()
Get the millis of second field value.
intgetMinuteOfHour()
Get the minute of hour field value.
intgetSecondOfMinute()
Get the second of minute field value.
DateTimetoDateTimeToday(DateTimeZone zone)
Converts this partial to a full datetime using the specified time zone setting the time fields from this instance and the date fields from the current time.
LocalTimetoLocalTime()
Converts this object to a LocalTime with the same time and chronology.
StringtoString()
Output the time in the ISO8601 format THH:mm:ss.SSS.