org.elasticsearch.common.joda
Class FormatDateTimeFormatter

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

FormatDateTimeFormatter

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

format

public java.lang.String format()

parser

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

printer

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