org.elasticsearch.common.joda
Class FormatDateTimeFormatter
java.lang.Object
org.elasticsearch.common.joda.FormatDateTimeFormatter
public class FormatDateTimeFormatter
- extends Object
A simple wrapper around DateTimeFormatter
that retains the
format that was used to create it.
Method Summary |
String |
format()
|
org.joda.time.format.DateTimeFormatter |
parser()
|
org.joda.time.format.DateTimeFormatter |
printer()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FormatDateTimeFormatter
public FormatDateTimeFormatter(String format,
org.joda.time.format.DateTimeFormatter parser)
FormatDateTimeFormatter
public FormatDateTimeFormatter(String format,
org.joda.time.format.DateTimeFormatter parser,
org.joda.time.format.DateTimeFormatter printer)
format
public String format()
parser
public org.joda.time.format.DateTimeFormatter parser()
printer
public org.joda.time.format.DateTimeFormatter printer()
Copyright © 2009-2012. All Rights Reserved.