|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use LocalTime | |
org.joda.time | Provides support for dates, times, time zones, durations, intervals, and partials. |
Uses of LocalTime in org.joda.time |
Fields in org.joda.time declared as LocalTime | |
static LocalTime |
LocalTime.MIDNIGHT
Constant for midnight. |
Methods in org.joda.time that return LocalTime | |
LocalTime |
TimeOfDay.toLocalTime()
Deprecated. Converts this object to a LocalTime with the same time and chronology. |
static LocalTime |
LocalTime.fromMillisOfDay(long millisOfDay)
Constructs a LocalTime from the specified millis of day using the ISO chronology. |
static LocalTime |
LocalTime.fromMillisOfDay(long millisOfDay,
Chronology chrono)
Constructs a LocalTime from the specified millis of day using the specified chronology. |
static LocalTime |
LocalTime.fromCalendarFields(Calendar calendar)
Constructs a LocalTime from a java.util.Calendar
using exactly the same field values avoiding any time zone effects. |
static LocalTime |
LocalTime.fromDateFields(Date date)
Constructs a LocalTime from a java.util.Date
using exactly the same field values avoiding any time zone effects. |
LocalTime |
LocalTime.withFields(ReadablePartial partial)
Returns a copy of this time with the partial set of fields replacing those from this instance. |
LocalTime |
LocalTime.withField(DateTimeFieldType fieldType,
int value)
Returns a copy of this time with the specified field set to a new value. |
LocalTime |
LocalTime.withFieldAdded(DurationFieldType fieldType,
int amount)
Returns a copy of this time with the value of the specified field increased. |
LocalTime |
LocalTime.withPeriodAdded(ReadablePeriod period,
int scalar)
Returns a copy of this time with the specified period added. |
LocalTime |
LocalTime.plus(ReadablePeriod period)
Returns a copy of this time with the specified period added. |
LocalTime |
LocalTime.plusHours(int hours)
Returns a copy of this time plus the specified number of hours. |
LocalTime |
LocalTime.plusMinutes(int minutes)
Returns a copy of this time plus the specified number of minutes. |
LocalTime |
LocalTime.plusSeconds(int seconds)
Returns a copy of this time plus the specified number of seconds. |
LocalTime |
LocalTime.plusMillis(int millis)
Returns a copy of this time plus the specified number of millis. |
LocalTime |
LocalTime.minus(ReadablePeriod period)
Returns a copy of this time with the specified period taken away. |
LocalTime |
LocalTime.minusHours(int hours)
Returns a copy of this time minus the specified number of hours. |
LocalTime |
LocalTime.minusMinutes(int minutes)
Returns a copy of this time minus the specified number of minutes. |
LocalTime |
LocalTime.minusSeconds(int seconds)
Returns a copy of this time minus the specified number of seconds. |
LocalTime |
LocalTime.minusMillis(int millis)
Returns a copy of this time minus the specified number of millis. |
LocalTime |
LocalTime.withHourOfDay(int hour)
Returns a copy of this time with the hour of day field updated. |
LocalTime |
LocalTime.withMinuteOfHour(int minute)
Returns a copy of this time with the minute of hour field updated. |
LocalTime |
LocalTime.withSecondOfMinute(int second)
Returns a copy of this time with the second of minute field updated. |
LocalTime |
LocalTime.withMillisOfSecond(int millis)
Returns a copy of this time with the millis of second field updated. |
LocalTime |
LocalTime.withMillisOfDay(int millis)
Returns a copy of this time with the millis of day field updated. |
LocalTime |
LocalTime.Property.getLocalTime()
Gets the LocalTime object linked to this property. |
LocalTime |
LocalTime.Property.addCopy(int value)
Adds to this field in a copy of this LocalTime. |
LocalTime |
LocalTime.Property.addCopy(long value)
Adds to this field in a copy of this LocalTime. |
LocalTime |
LocalTime.Property.addNoWrapToCopy(int value)
Adds to this field in a copy of this LocalTime. |
LocalTime |
LocalTime.Property.addWrapFieldToCopy(int value)
Adds to this field, possibly wrapped, in a copy of this LocalTime. |
LocalTime |
LocalTime.Property.setCopy(int value)
Sets this field in a copy of the LocalTime. |
LocalTime |
LocalTime.Property.setCopy(String text,
Locale locale)
Sets this field in a copy of the LocalTime to a parsed text value. |
LocalTime |
LocalTime.Property.setCopy(String text)
Sets this field in a copy of the LocalTime to a parsed text value. |
LocalTime |
LocalTime.Property.withMaximumValue()
Returns a new LocalTime with this field set to the maximum value for this field. |
LocalTime |
LocalTime.Property.withMinimumValue()
Returns a new LocalTime with this field set to the minimum value for this field. |
LocalTime |
LocalTime.Property.roundFloorCopy()
Rounds to the lowest whole unit of this field on a copy of this LocalTime. |
LocalTime |
LocalTime.Property.roundCeilingCopy()
Rounds to the highest whole unit of this field on a copy of this LocalTime. |
LocalTime |
LocalTime.Property.roundHalfFloorCopy()
Rounds to the nearest whole unit of this field on a copy of this LocalTime, favoring the floor if halfway. |
LocalTime |
LocalTime.Property.roundHalfCeilingCopy()
Rounds to the nearest whole unit of this field on a copy of this LocalTime, favoring the ceiling if halfway. |
LocalTime |
LocalTime.Property.roundHalfEvenCopy()
Rounds to the nearest whole unit of this field on a copy of this LocalTime. |
LocalTime |
LocalDateTime.toLocalTime()
Converts this object to a LocalTime with the same time and chronology. |
LocalTime |
DateTime.toLocalTime()
Converts this object to a LocalTime with the
same time and chronology. |
Methods in org.joda.time with parameters of type LocalTime | |
LocalDateTime |
LocalDate.toLocalDateTime(LocalTime time)
Converts this object to a LocalDateTime using a LocalTime to fill in the missing fields. |
DateTime |
LocalDate.toDateTime(LocalTime time)
Converts this object to a DateTime using a LocalTime to fill in the missing fields and using the default time zone. |
DateTime |
LocalDate.toDateTime(LocalTime time,
DateTimeZone zone)
Converts this object to a DateTime using a LocalTime to fill in the missing fields. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |