FnJodaString is a function hub class containing a lot of static methods to convert jodatime objects to String. Those static methods return functions whose input is BaseDateTime, LocalDate or LocalTime and whose output is String. It includes conversions to String from BaseDateTime, LocalDate and LocalTime
Function name | Type | Params | Description |
---|---|---|---|
baseDateTimeToStr | Function<BaseDateTime, String> | It converts the input BaseDateTime into a String | |
baseDateTimeToStr | Function<BaseDateTime, String> | DateTimeFormatter formatter | It converts the input BaseDateTime into a String by means of the given DateTimeFormatter |
baseDateTimeToStr | Function<BaseDateTime, String> | FormatType formatType String format | It converts the input BaseDateTime into a String by means of the given pattern or style (depending on the value of formatType parameter). |
baseDateTimeToStr | Function<BaseDateTime, String> | FormatType formatType String format Locale locale | It converts the input BaseDateTime into a String by means of the given pattern or style (depending on the value of formatType parameter). |
baseDateTimeToStr | Function<BaseDateTime, String> | FormatType formatType String format Chronology chronology | It converts the input BaseDateTime into a String by means of the given pattern or style (depending on the value of formatType parameter). |
baseDateTimeToStr | Function<BaseDateTime, String> | FormatType formatType String format String locale | It converts the input BaseDateTime into a String by means of the given pattern or style (depending on the value of formatType parameter). |
localDateToStr | Function<LocalDate, String> | It converts the input LocalDate into a String | |
localDateToStr | Function<LocalDate, String> | DateTimeFormatter formatter | It converts the input LocalDate into a String by means of the given DateTimeFormatter |
localDateToStr | Function<LocalDate, String> | FormatType formatType String format | It converts the input LocalDate into a String by means of the given pattern or style (depending on the formatType value) |
localDateToStr | Function<LocalDate, String> | FormatType formatType String format Locale locale | It converts the input LocalDate into a String by means of the given pattern or style (depending on the formatType value) with the given Locale |
localDateToStr | Function<LocalDate, String> | FormatType formatType String format Chronology chronology | It converts the input LocalDate into a String by means of the given pattern or style (depending on the formatType value) with the given Chronology |
localDateToStr | Function<LocalDate, String> | FormatType formatType String format String locale | It converts the input LocalDate into a String by means of the given pattern or style (depending on the formatType value) with the given Locale |
localTimeToStr | Function<LocalTime, String> | It converts the input LocalTime into a String | |
localTimeToStr | Function<LocalTime, String> | DateTimeFormatter formatter | It converts the input LocalTime into a String by means of the given DateTimeFormatter |
localTimeToStr | Function<LocalTime, String> | FormatType formatType String format | It converts the input LocalTime into a String by means of the given pattern or style (depending on the value of formatType parameter). |
localTimeToStr | Function<LocalTime, String> | FormatType formatType String format Locale locale | It converts the input LocalTime into a String by means of the given pattern or style (depending on the value of formatType parameter). |
localTimeToStr | Function<LocalTime, String> | FormatType formatType String format Chronology chronology | It converts the input LocalTime into a String by means of the given pattern or style (depending on the value of formatType parameter). |
localTimeToStr | Function<LocalTime, String> | FormatType formatType String format String locale | It converts the input LocalTime into a String by means of the given pattern or style (depending on the value of formatType parameter). |