Examples
LocalDate
1. Extract day of week
Given input is year, monthe and day. Find the day of week.
LocalDateTime
1. Given a date and time in string. Attach a timezone to it.
This LocalDateTime
has no timezone information — it just means "11:40 on Sept 11th, 2023", but not in any particular zone.
Last updated
Was this helpful?