Package org.elasticsearch.common.joda
Class FormatDateTimeFormatter
- java.lang.Object
-
- org.elasticsearch.common.joda.FormatDateTimeFormatter
-
public class FormatDateTimeFormatter extends java.lang.ObjectA simple wrapper aroundDateTimeFormatterthat retains the format that was used to create it.
-
-
Constructor Summary
Constructors Constructor Description FormatDateTimeFormatter(java.lang.String format, org.joda.time.format.DateTimeFormatter parser, java.util.Locale locale)FormatDateTimeFormatter(java.lang.String format, org.joda.time.format.DateTimeFormatter parser, org.joda.time.format.DateTimeFormatter printer, java.util.Locale locale)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringformat()java.util.Localelocale()org.joda.time.format.DateTimeFormatterparser()org.joda.time.format.DateTimeFormatterprinter()DateMathParsertoDateMathParser()
-
-
-
Constructor Detail
-
FormatDateTimeFormatter
public FormatDateTimeFormatter(java.lang.String format, org.joda.time.format.DateTimeFormatter parser, java.util.Locale locale)
-
FormatDateTimeFormatter
public FormatDateTimeFormatter(java.lang.String format, org.joda.time.format.DateTimeFormatter parser, org.joda.time.format.DateTimeFormatter printer, java.util.Locale locale)
-
-
Method Detail
-
format
public java.lang.String format()
-
parser
public org.joda.time.format.DateTimeFormatter parser()
-
printer
public org.joda.time.format.DateTimeFormatter printer()
-
locale
public java.util.Locale locale()
-
toDateMathParser
public DateMathParser toDateMathParser()
-
-