FnLocalDate is a function hub class containing a lot of static methods to convert from various input objects to LocalDate. Those static methods return functions whose output is LocalDate and whose input can be Calendar, Date, Integer list and Long among others.
Function name | Type | Params | Description |
---|---|---|---|
calendarToLocalDate | Function<T, LocalDate> | It converts a Calendar into a LocalDate | |
calendarToLocalDate | Function<T, LocalDate> | DateTimeZone dateTimeZone | It converts a Calendar into a LocalDate in the given DateTimeZone |
calendarToLocalDate | Function<T, LocalDate> | Chronology chronology | It converts a Calendar into a LocalDate with the given Chronology |
dateToLocalDate | Function<T, LocalDate> | The input Date is converted into a LocalDate | |
dateToLocalDate | Function<T, LocalDate> | DateTimeZone dateTimeZone | The input Date is converted into a LocalDate configured with the given DateTimeZone |
dateToLocalDate | Function<T, LocalDate> | Chronology chronology | The input Date is converted into a LocalDate with the given Chronology |
integerFieldArrayToLocalDate | Function<Integer[], LocalDate> | A LocalDate is created from the given integer array. The valid input Integer[] are:
| |
integerFieldArrayToLocalDate | Function<Integer[], LocalDate> | Chronology chronology | A LocalDate is created from the given integer array. The result will be created with the given Chronology The valid input Integer[] are:
|
integerFieldCollectionToLocalDate | Function<Collection<Integer>, LocalDate> | A LocalDate is created from the given Integer Collection. The valid input Collection<Integer> are:
| |
integerFieldCollectionToLocalDate | Function<Collection<Integer>, LocalDate> | Chronology chronology | A LocalDate is created from the given Integer Collection. The output LocalDate will be created with the given Chronology The valid input Collection<Integer> are:
|
longToLocalDate | Function<Long, LocalDate> | The input Long representing the time in milliseconds is converted into a LocalDate | |
longToLocalDate | Function<Long, LocalDate> | DateTimeZone dateTimeZone | The input Long representing the time in milliseconds is converted into a LocalDate in the given DateTimeZone |
longToLocalDate | Function<Long, LocalDate> | Chronology chronology | The input Long representing the time in milliseconds is converted into a LocalDate with the given Chronology |
strFieldArrayToLocalDate | Function<String[], LocalDate> | A LocalDate is created from the given string array. The valid input String[] are:
| |
strFieldArrayToLocalDate | Function<String[], LocalDate> | Chronology chronology | A LocalDate is created from the given string array. The output LocalDate will be created with the specified Chronology The valid input String[] are:
|
strFieldCollectionToLocalDate | Function<Collection<String>, LocalDate> | A LocalDate is created from the given String Collection. The valid input Collection<String> are:
| |
strFieldCollectionToLocalDate | Function<Collection<String>, LocalDate> | Chronology chronology | A LocalDate is created from the input String Collection. The result will be created with the given Chronology The valid input Collection<String> are:
|
strToLocalDate | Function<String, LocalDate> | String pattern | It converts the given String into a LocalDate using the given pattern parameter. If the pattern includes either, the name of the month or day of week, a conversion accepting a Locale must be used instead |
strToLocalDate | Function<String, LocalDate> | String pattern DateTimeZone dateTimeZone | It converts the input String into a LocalDate using the given pattern parameter and with the given DateTimeZone. If the pattern includes either, the name of the month or day of week, a conversion accepting a Locale must be used instead |
strToLocalDate | Function<String, LocalDate> | String pattern Chronology chronology | It converts the input String into a LocalDate using the given pattern parameter and with the given Chronology. If the pattern includes either, the name of the month or day of week, a conversion accepting a Locale must be used instead |
strToLocalDate | Function<String, LocalDate> | String pattern Locale locale | It converts the input String into a LocalDate using the given pattern and Locale parameters |
strToLocalDate | Function<String, LocalDate> | String pattern String locale | It converts the input String into a LocalDate using the given pattern and Locale parameters |
strToLocalDate | Function<String, LocalDate> | String pattern Locale locale DateTimeZone dateTimeZone | It converts the input String into a LocalDate using the given pattern and Locale parameters. The DateTime is created with the specified DateTimeZone |
strToLocalDate | Function<String, LocalDate> | String pattern String locale DateTimeZone dateTimeZone | It converts the input String into a LocalDate using the given pattern and Locale parameters. The DateTime is created with the specified DateTimeZone |
strToLocalDate | Function<String, LocalDate> | String pattern Locale locale Chronology chronology | It converts the input String into a LocalDate using the given pattern and Locale parameters. The DateTime will be created with the given Chronology |
strToLocalDate | Function<String, LocalDate> | String pattern String locale Chronology chronology | It converts the input String into a LocalDate using the given pattern and Locale parameters. The DateTime will be created with the given Chronology |
timestampToLocalDate | Function<Timestamp, LocalDate> | The input Timestamp is converted into a LocalDate | |
timestampToLocalDate | Function<Timestamp, LocalDate> | DateTimeZone dateTimeZone | The input Timestamp is converted into a LocalDate in the given DateTimeZone |
timestampToLocalDate | Function<Timestamp, LocalDate> | Chronology chronology | The input Timestamp is converted into a LocalDate with the given Chronology |