org.elasticsearch.util.joda
Class FormatDateTimeFormatter

java.lang.Object
  extended by org.elasticsearch.util.joda.FormatDateTimeFormatter

@Immutable
public class FormatDateTimeFormatter
extends java.lang.Object

A simple wrapper around DateTimeFormatter that retains the format that was used to create it.


Constructor Summary
FormatDateTimeFormatter(java.lang.String format, org.joda.time.format.DateTimeFormatter parser)
           
FormatDateTimeFormatter(java.lang.String format, org.joda.time.format.DateTimeFormatter parser, org.joda.time.format.DateTimeFormatter printer)
           
 
Method Summary
 java.lang.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
 

Constructor Detail

FormatDateTimeFormatter

public FormatDateTimeFormatter(java.lang.String format,
                               org.joda.time.format.DateTimeFormatter parser)

FormatDateTimeFormatter

public FormatDateTimeFormatter(java.lang.String format,
                               org.joda.time.format.DateTimeFormatter parser,
                               org.joda.time.format.DateTimeFormatter printer)
Method Detail

format

public java.lang.String format()

parser

public org.joda.time.format.DateTimeFormatter parser()

printer

public org.joda.time.format.DateTimeFormatter printer()