time
2.0.0-SNAPSHOT.121
time
/
io.spine.time
/
LocalDates
Local
Dates
public
final
class
LocalDates
Utilities for working with
LocalDate
.
Functions
Functions
converter
Link copied to clipboard
public
static
SerializableConverter
<
LocalDate
,
LocalDate
>
converter
(
)
Obtains Java Time converter instance.
of
Link copied to clipboard
public
static
LocalDate
of
(
LocalDate
ld
)
Creates an instance by the passed Java Time value.
public
static
LocalDate
of
(
int year
,
Month
month
,
int day
)
Obtains local date from a year, month, and day.
parse
Link copied to clipboard
public
static
LocalDate
parse
(
String
str
)
Parse from ISO-8601 date representation of the format
yyyy-MM-dd
.
to
Java
Time
Link copied to clipboard
public
static
LocalDate
toJavaTime
(
LocalDate
date
)
Converts the passed value to Java Time instance.
to
String
Link copied to clipboard
public
static
String
toString
(
LocalDate
date
)
Converts a local date into ISO-8601 string with the format
yyyy-MM-dd
.