|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use LocalTime | |
---|---|
org.joda.time | Provides support for dates, times, time zones, durations, intervals, and partials. |
org.joda.time.format | Provides printing and parsing support for instants and durations. |
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 |
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. |
static LocalTime |
LocalTime.fromCalendarFields(Calendar calendar)
Constructs a LocalTime from a java.util.Calendar
using exactly the same field values. |
static LocalTime |
LocalTime.fromDateFields(Date date)
Constructs a LocalTime from a java.util.Date
using exactly the same field values. |
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. |
LocalTime |
LocalTime.Property.getLocalTime()
Gets the LocalTime object linked to this property. |
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.minusMillis(int millis)
Returns a copy of this time minus the specified number of millis. |
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. |
static LocalTime |
LocalTime.now()
Obtains a LocalTime set to the current system millisecond time
using ISOChronology in the default time zone. |
static LocalTime |
LocalTime.now(Chronology chronology)
Obtains a LocalTime set to the current system millisecond time
using the specified chronology. |
static LocalTime |
LocalTime.now(DateTimeZone zone)
Obtains a LocalTime set to the current system millisecond time
using ISOChronology in the specified time zone. |
static LocalTime |
LocalTime.parse(String str)
Parses a LocalTime from the specified string. |
static LocalTime |
LocalTime.parse(String str,
DateTimeFormatter formatter)
Parses a LocalTime from the specified string using a formatter. |
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.plusMillis(int millis)
Returns a copy of this time plus the specified number of millis. |
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.Property.roundCeilingCopy()
Rounds to the highest whole unit of this field on a copy of this LocalTime. |
LocalTime |
LocalTime.Property.roundFloorCopy()
Rounds to the lowest whole unit of this field on a copy of this LocalTime. |
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 |
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.setCopy(int value)
Sets this field in a copy of the LocalTime. |
LocalTime |
LocalTime.Property.setCopy(String text)
Sets this field in a copy of the LocalTime to a parsed text value. |
LocalTime |
LocalTime.Property.setCopy(String text,
Locale locale)
Sets this field in a copy of the LocalTime to a parsed text value. |
LocalTime |
TimeOfDay.toLocalTime()
Deprecated. Converts this object to a LocalTime with the same time and chronology. |
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. |
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.withFields(ReadablePartial partial)
Returns a copy of this time with the partial set of fields replacing those from this instance. |
LocalTime |
LocalTime.withHourOfDay(int hour)
Returns a copy of this time with the hour of day field updated. |
LocalTime |
LocalTime.Property.withMaximumValue()
Returns a new LocalTime with this field set to the maximum value for this field. |
LocalTime |
LocalTime.withMillisOfDay(int millis)
Returns a copy of this time with the millis of day field updated. |
LocalTime |
LocalTime.withMillisOfSecond(int millis)
Returns a copy of this time with the millis of second field updated. |
LocalTime |
LocalTime.Property.withMinimumValue()
Returns a new LocalTime with this field set to the minimum value for this field. |
LocalTime |
LocalTime.withMinuteOfHour(int minute)
Returns a copy of this time with the minute of hour field updated. |
LocalTime |
LocalTime.withPeriodAdded(ReadablePeriod period,
int scalar)
Returns a copy of this time with the specified period added. |
LocalTime |
LocalTime.withSecondOfMinute(int second)
Returns a copy of this time with the second of minute field updated. |
Methods in org.joda.time with parameters of type LocalTime | |
---|---|
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. |
LocalDateTime |
LocalDate.toLocalDateTime(LocalTime time)
Converts this object to a LocalDateTime using a LocalTime to fill in the missing fields. |
Uses of LocalTime in org.joda.time.format |
---|
Methods in org.joda.time.format that return LocalTime | |
---|---|
LocalTime |
DateTimeFormatter.parseLocalTime(String text)
Parses only the local time from the given text, returning a new LocalDate. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |