ZonedDateTimes

public final class ZonedDateTimes

Utilities for working with ZonedDateTime.

Functions

Link copied to clipboard
public static SerializableConverter<ZonedDateTime, ZonedDateTime> converter()
Obtains converter from Java Time and back.
Link copied to clipboard
public static ZonedDateTime of(ZonedDateTime value)
Creates the instance by the passed Java Time value.
public static ZonedDateTime of(LocalDateTime dateTime, ZoneId zone)
Obtains the zoned time for the local date-time at the passed time zone.
Link copied to clipboard
public static ZonedDateTime parse(String str)
Parses the ISO-8601 string representation of the zoned date-time value.
Link copied to clipboard
public static ZonedDateTime toJavaTime(ZonedDateTime value)
Converts the passed value to Java Time.
Link copied to clipboard
public static String toString(ZonedDateTime value)
Converts the passed value to ISO-8601 zoned date/time string.