FnDateMidnight is a function hub class containing a lot of static methods to convert from various input objects to DateMidnight. Those static methods return functions whose output is DateMidnight and whose input can be Calendar, Date, Integer list and Long among others.
Function name | Type | Params | Description |
---|---|---|---|
calendarToDateMidnight | Function<T, DateMidnight> | It converts a Calendar into a DateMidnight | |
calendarToDateMidnight | Function<T, DateMidnight> | DateTimeZone dateTimeZone | It converts a Calendar into a DateMidnight in the given DateTimeZone |
calendarToDateMidnight | Function<T, DateMidnight> | Chronology chronology | It converts a Calendar into a DateMidnight with the given Chronology |
dateToDateMidnight | Function<T, DateMidnight> | The input Date is converted into a DateMidnight | |
dateToDateMidnight | Function<T, DateMidnight> | DateTimeZone dateTimeZone | The input Date is converted into a DateMidnight configured with the given DateTimeZone |
dateToDateMidnight | Function<T, DateMidnight> | Chronology chronology | The input Date is converted into a DateMidnight with the given Chronology |
integerFieldArrayToDateMidnight | Function<Integer[], DateMidnight> | A DateMidnight is created from the input Integer array. The valid input Integer[] are:
| |
integerFieldArrayToDateMidnight | Function<Integer[], DateMidnight> | Chronology chronology | A DateMidnight is created from the given Integer array. The result will be created with the given Chronology The valid input Integer[] are:
|
integerFieldCollectionToDateMidnight | Function<Collection<Integer>, DateMidnight> | A DateMidnight is created from the input Integer Collection. The valid input Collection<Integer> are:
| |
integerFieldCollectionToDateMidnight | Function<Collection<Integer>, DateMidnight> | Chronology chronology | A DateMidnight is created from the input Integer Collection. The result will be created with the given Chronology The valid input Collection<Integer> are:
|
longToDateMidnight | Function<Long, DateMidnight> | The input Long representing the time in milliseconds is converted into a DateMidnight | |
longToDateMidnight | Function<Long, DateMidnight> | DateTimeZone dateTimeZone | The input Long representing the time in milliseconds is converted into a DateMidnight in the given DateTimeZone |
longToDateMidnight | Function<Long, DateMidnight> | Chronology chronology | The input Long representing the time in milliseconds is converted into a DateMidnight with the given Chronology |
strFieldArrayToDateMidnight | Function<String[], DateMidnight> | A DateMidnight is created from the given String array. The valid input String[] are:
| |
strFieldArrayToDateMidnight | Function<String[], DateMidnight> | Chronology chronology | A DateMidnight is created from the input String array. The result will be created with the given Chronology The valid input String[] are:
|
strFieldCollectionToDateMidnight | Function<Collection<String>, DateMidnight> | A DateMidnight is created from the input String Collection. The valid input Collection<String> are:
| |
strFieldCollectionToDateMidnight | Function<Collection<String>, DateMidnight> | Chronology chronology | A DateMidnight is created from the input String Collection. The result will be created with the given Chronology The valid input Collection<String> are:
|
strToDateMidnight | Function<String, DateMidnight> | String pattern | It converts the input String into a DateMidnight 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 |
strToDateMidnight | Function<String, DateMidnight> | String pattern DateTimeZone dateTimeZone | It converts the input String into a DateMidnight 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 |
strToDateMidnight | Function<String, DateMidnight> | String pattern Chronology chronology | It converts the input String into a DateMidnight 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 |
strToDateMidnight | Function<String, DateMidnight> | String pattern Locale locale | It converts the input String into a DateMidnight using the given pattern and Locale parameters |
strToDateMidnight | Function<String, DateMidnight> | String pattern String locale | It converts the input String into a DateMidnight using the given pattern and Locale parameters |
strToDateMidnight | Function<String, DateMidnight> | String pattern Locale locale DateTimeZone dateTimeZone | It converts the input String into a DateMidnight using the given pattern and Locale parameters. The DateMidnight is configured with the given DateTimeZone |
strToDateMidnight | Function<String, DateMidnight> | String pattern String locale DateTimeZone dateTimeZone | It converts the input String into a DateMidnight using the given pattern and Locale parameters. The DateMidnight is configured with the given DateTimeZone |
strToDateMidnight | Function<String, DateMidnight> | String pattern Locale locale Chronology chronology | It converts the input String into a DateMidnight using the given pattern and Locale parameters. The DateMidnight will be created with the given Chronology |
strToDateMidnight | Function<String, DateMidnight> | String pattern String locale Chronology chronology | It converts the input String into a DateMidnight using the given pattern and Locale parameters. The DateMidnight will be created with the given Chronology |
timestampToDateMidnight | Function<Timestamp, DateMidnight> | The input Timestamp is converted into a DateMidnight | |
timestampToDateMidnight | Function<Timestamp, DateMidnight> | DateTimeZone dateTimeZone | The input Timestamp is converted into a DateMidnight in the given DateTimeZone |
timestampToDateMidnight | Function<Timestamp, DateMidnight> | Chronology chronology | The input Timestamp is converted into a DateMidnight with the given Chronology |