org.elasticsearch.common.joda
Class FormatDateTimeFormatter

java.lang.Object
  extended by 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.


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

Constructor Detail

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)
Method Detail

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.