This method checks if this date-time is equal to another date-time.
format(DateTimeFormatter formatter)
This method formats this date-time using the specified formatter.
from(TemporalAccessor temporal)
This method obtains an instance of ZonedDateTime from a temporal object.
This method gets the value of the specified field from this date-time as an int.
This method gets the day-of-month field.
This method gets the day-of-week field, which is an enum DayOfWeek.
This method gets the day-of-year field.
This method gets the hour-of-day field.
This method gets the value of the specified field from this date-time as a long.
This method gets the minute-of-hour field.
This method gets the month-of-year field using the Month enum.
This method gets the month-of-year field from 1 to 12.
This method gets the nano-of-second field.
getOffset()
This method gets the zone offset, such as '+01:00'.
This method gets the second-of-minute field.
This method gets the year field.
This method gets the time-zone, such as 'Europe/Paris'.
A hash code for this date-time.
isSupported(TemporalField field)
This method checks if the specified field is supported.
isSupported(TemporalUnit unit)
This method checks if the specified unit is supported.
minus(long amountToSubtract, TemporalUnit unit)
This method returns a copy of this date-time with the specified amount subtracted.
minus(TemporalAmount amountToSubtract)
This method returns a copy of this date-time with the specified amount subtracted.
This method returns a copy of this ZonedDateTime with the specified number of days subtracted.
This method returns a copy of this ZonedDateTime with the specified number of hours subtracted.
This method returns a copy of this ZonedDateTime with the specified number of minutes subtracted.
This method returns a copy of this ZonedDateTime with the specified number of months subtracted.
This method returns a copy of this ZonedDateTime with the specified number of nanoseconds subtracted.
This method returns a copy of this ZonedDateTime with the specified number of seconds subtracted.
This method returns a copy of this ZonedDateTime with the specified number of weeks subtracted.
This method returns a copy of this ZonedDateTime with the specified number of years subtracted.
This method obtains the current date-time from the system clock in the default time-zone.
This method obtains the current date-time from the specified clock.
This method obtains the current date-time from the system clock in the specified time-zone.
This method obtains an instance of ZonedDateTime from a year, month, day, hour, minute, second, nanosecond and time-zone.
of(LocalDate date, LocalTime time, ZoneId zone)
This method obtains an instance of ZonedDateTime from a local date and time.
of(LocalDateTime localDateTime, ZoneId zone)
This method obtains an instance of ZonedDateTime from a local date-time.
ofInstant(Instant instant, ZoneId zone)
This method obtains an instance of ZonedDateTime from an Instant.
ofInstant(LocalDateTime localDateTime, ZoneOffset offset, ZoneId zone)
This method obtains an instance of ZonedDateTime from the instant formed by combining the local date-time and offset.
ofLocal(LocalDateTime localDateTime, ZoneId zone, ZoneOffset preferredOffset)
This method obtains an instance of ZonedDateTime from a local date-time using the preferred offset if possible.
ofStrict(LocalDateTime localDateTime, ZoneOffset offset, ZoneId zone)
This method obtains an instance of ZonedDateTime strictly validating the combination of local date-time, offset and zone ID.
This method obtains an instance of ZonedDateTime from a text string such as 2007-12-03T10:15:30+01:00[Europe/Paris]
parse(CharSequence text, DateTimeFormatter formatter)
This method obtains an instance of ZonedDateTime from a text string using a specific formatter.
plus(long amountToAdd, TemporalUnit unit)
This method returns a copy of this date-time with the specified amount added.
plus(TemporalAmount amountToAdd)
This method returns a copy of this date-time with the specified amount added.
This method returns a copy of this ZonedDateTime with the specified number of days added.
This method returns a copy of this ZonedDateTime with the specified number of hours added.
This method returns a copy of this ZonedDateTime with the specified number of minutes added.
This method returns a copy of this ZonedDateTime with the specified number of months added.
This method returns a copy of this ZonedDateTime with the specified number of nanoseconds added.
This method returns a copy of this ZonedDateTime with the specified number of seconds added.
This method returns a copy of this ZonedDateTime with the specified number of weeks added.
This method returns a copy of this ZonedDateTime with the specified number of years added.
This method queries this date-time using the specified query.
This method gets the range of valid values for the specified field.
This method gets the LocalDate part of this date-time.
This method gets the LocalDateTime part of this date-time.
This method gets the LocalTime part of this date-time.
This method converts this date-time to an OffsetDateTime.
This method outputs this date-time as a String, such as 2007-12-03T10:15:30+01:00[Europe/Paris].
truncatedTo(TemporalUnit unit)
This method returns a copy of this ZonedDateTime with the time truncated.
until(Temporal endExclusive, TemporalUnit unit)
This method calculates the amount of time until another date-time in terms of the specified unit.
with(TemporalAdjuster adjuster)
This method returns an adjusted copy of this date-time.
with(TemporalField field, long newValue)
This method returns a copy of this date-time with the specified field set to a new value.
withDayOfMonth(int dayOfMonth)
This method returns a copy of this ZonedDateTime with the day-of-month altered.
This method returns a copy of this ZonedDateTime with the day-of-year altered.
This method returns a copy of this date-time changing the zone offset to the earlier of the two valid offsets at a local time-line overlap.
This method returns a copy of this date-time with the zone ID set to the offset.
This method returns a copy of this ZonedDateTime with the hour-of-day altered.
This method returns a copy of this date-time changing the zone offset to the later of the two valid offsets at a local time-line overlap.
This method returns a copy of this ZonedDateTime with the minute-of-hour altered.
This method returns a copy of this ZonedDateTime with the month-of-year altered.
This method returns a copy of this ZonedDateTime with the nano-of-second altered.
This method returns a copy of this ZonedDateTime with the second-of-minute altered.
This method returns a copy of this ZonedDateTime with the year altered.
withZoneSameInstant(ZoneId zone)
This method returns a copy of this date-time with a different time-zone, retaining the instant.
withZoneSameLocal(ZoneId zone)
This method returns a copy of this date-time with a different time-zone, retaining the local date-time if possible.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4