public final class LocalDates
extends java.lang.Object
LocalDate
.Modifier and Type | Method and Description |
---|---|
static io.spine.util.SerializableConverter<java.time.LocalDate,LocalDate> |
converter()
Obtains Java Time converter instance.
|
static LocalDate |
of(int year,
Month month,
int day)
Obtains local date from a year, month, and day.
|
static LocalDate |
of(java.time.LocalDate ld)
Creates an instance by the passed Java Time value.
|
static LocalDate |
parse(java.lang.String str)
Parse from ISO-8601 date representation of the format
yyyy-MM-dd . |
static java.time.LocalDate |
toJavaTime(LocalDate date)
Converts the passed value to Java Time instance.
|
static java.lang.String |
toString(LocalDate date)
Converts a local date into ISO-8601 string with the format
yyyy-MM-dd . |
public static LocalDate of(java.time.LocalDate ld)
public static java.time.LocalDate toJavaTime(LocalDate date)
public static LocalDate of(int year, Month month, int day)
public static LocalDate parse(java.lang.String str)
yyyy-MM-dd
.toString(LocalDate)
public static java.lang.String toString(LocalDate date)
yyyy-MM-dd
.parse(String)
public static io.spine.util.SerializableConverter<java.time.LocalDate,LocalDate> converter()