public class FmtLocalTime extends AbstractJodaFormattingProcessor<org.joda.time.LocalTime>
For constructors using DateTimeFormatter, refer to the following Joda classes:
DateTimeFormat - formats by pattern and styleISODateTimeFormat - ISO8601 formatsDateTimeFormatterBuilder - complex formats created via method
calls
For constructors using date format Strings, refer to DateTimeFormat
for example formats.
next| Constructor and Description |
|---|
FmtLocalTime()
Constructs a new FmtLocalTime processor, which formats a Joda
LocalTime as a String.
|
FmtLocalTime(CellProcessor next)
Constructs a new FmtLocalTime processor, which formats a Joda
LocalTime as a String, then calls the next processor in the chain.
|
FmtLocalTime(org.joda.time.format.DateTimeFormatter formatter)
Constructs a new FmtLocalTime processor, which formats a Joda
LocalTime as a String using the supplied formatter.
|
FmtLocalTime(org.joda.time.format.DateTimeFormatter formatter,
CellProcessor next)
Constructs a new FmtLocalTime processor, which formats a Joda
LocalTime as a String using the supplied formatter, then calls the next
processor in the chain.
|
FmtLocalTime(String pattern)
Constructs a new FmtLocalTime processor, which formats a Joda
LocalTime as a String using the supplied pattern and the default locale.
|
FmtLocalTime(String pattern,
CellProcessor next)
Constructs a new FmtLocalTime processor, which formats a Joda
LocalTime as a String using the supplied pattern and the default locale,
then calls the next processor in the chain.
|
FmtLocalTime(String pattern,
Locale locale)
Constructs a new FmtLocalTime processor, which formats a Joda
LocalTime as a String using the supplied pattern and the locale.
|
FmtLocalTime(String pattern,
Locale locale,
CellProcessor next)
Constructs a new FmtLocalTime processor, which formats a Joda
LocalTime as a String using the supplied pattern and the locale, then
calls the next processor in the chain.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
format(org.joda.time.LocalTime jodaType)
Formats the Joda type as a String using the default pattern and locale.
|
protected String |
format(org.joda.time.LocalTime jodaType,
org.joda.time.format.DateTimeFormatter formatter)
Formats the Joda type as a String using a DateTimeFormatter.
|
protected String |
format(org.joda.time.LocalTime jodaType,
String pattern,
Locale locale)
Formats the Joda type as a String using the supplied pattern and
(optional) locale.
|
executetoString, validateInputNotNullpublic FmtLocalTime()
public FmtLocalTime(CellProcessor next)
next - next processor in the chainNullPointerException - if next is nullpublic FmtLocalTime(org.joda.time.format.DateTimeFormatter formatter)
formatter - the formatter to useNullPointerException - if formatter is nullpublic FmtLocalTime(org.joda.time.format.DateTimeFormatter formatter,
CellProcessor next)
formatter - the formatter to usenext - the next processor in the chainNullPointerException - if formatter or next is nullpublic FmtLocalTime(String pattern)
pattern - the pattern to useNullPointerException - if pattern is nullpublic FmtLocalTime(String pattern, CellProcessor next)
pattern - the pattern to usenext - the next processor in the chainNullPointerException - if pattern or next is nullpublic FmtLocalTime(String pattern, Locale locale)
pattern - the pattern to uselocale - the locale to use (default used if null)NullPointerException - if pattern is nullpublic FmtLocalTime(String pattern, Locale locale, CellProcessor next)
pattern - the pattern to uselocale - the locale to use (default used if null)next - the next processor in the chainNullPointerException - if pattern or next is nullprotected String format(org.joda.time.LocalTime jodaType, org.joda.time.format.DateTimeFormatter formatter)
format in class AbstractJodaFormattingProcessor<org.joda.time.LocalTime>jodaType - the Joda type to formatformatter - the formatter to useprotected String format(org.joda.time.LocalTime jodaType, String pattern, Locale locale)
format in class AbstractJodaFormattingProcessor<org.joda.time.LocalTime>jodaType - the Joda type to formatpattern - the pattern to uselocale - the (optional) localeprotected String format(org.joda.time.LocalTime jodaType)
format in class AbstractJodaFormattingProcessor<org.joda.time.LocalTime>jodaType - the Joda type to formatCopyright © 2007-2015 Super CSV. All Rights Reserved.