Functions: FnJodaString

1. Overview

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

2. Functions

Function nameTypeParamsDescription
baseDateTimeToStrFunction<BaseDateTime, String>

It converts the input BaseDateTime into a String

baseDateTimeToStrFunction<BaseDateTime, String>DateTimeFormatter formatter

It converts the input BaseDateTime into a String by means of the given DateTimeFormatter

baseDateTimeToStrFunction<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).

baseDateTimeToStrFunction<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).

baseDateTimeToStrFunction<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).

baseDateTimeToStrFunction<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).

localDateToStrFunction<LocalDate, String>

It converts the input LocalDate into a String

localDateToStrFunction<LocalDate, String>DateTimeFormatter formatter

It converts the input LocalDate into a String by means of the given DateTimeFormatter

localDateToStrFunction<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)

localDateToStrFunction<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

localDateToStrFunction<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

localDateToStrFunction<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

localTimeToStrFunction<LocalTime, String>

It converts the input LocalTime into a String

localTimeToStrFunction<LocalTime, String>DateTimeFormatter formatter

It converts the input LocalTime into a String by means of the given DateTimeFormatter

localTimeToStrFunction<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).

localTimeToStrFunction<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).

localTimeToStrFunction<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).

localTimeToStrFunction<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).