org.specrunner.formatters.core
Class FormatterJodatime

java.lang.Object
  extended by org.specrunner.formatters.core.AbstractFormatterTime<org.joda.time.format.DateTimeFormatter>
      extended by org.specrunner.formatters.core.FormatterJodatime
All Implemented Interfaces:
Serializable, IFormatter, IResetable
Direct Known Subclasses:
FormatterJodatimeTemplate

public class FormatterJodatime
extends AbstractFormatterTime<org.joda.time.format.DateTimeFormatter>

Formatter.

Author:
Thiago Santos
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.specrunner.formatters.core.AbstractFormatterTime
cache
 
Constructor Summary
FormatterJodatime()
           
 
Method Summary
protected  String format(org.joda.time.format.DateTimeFormatter pattern, Object value, Object[] args)
           
protected  org.joda.time.format.DateTimeFormatter newInstance(String str)
           
protected  boolean testType(Object value)
           
 
Methods inherited from class org.specrunner.formatters.core.AbstractFormatterTime
format, initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormatterJodatime

public FormatterJodatime()
Method Detail

testType

protected boolean testType(Object value)
Specified by:
testType in class AbstractFormatterTime<org.joda.time.format.DateTimeFormatter>

newInstance

protected org.joda.time.format.DateTimeFormatter newInstance(String str)
Specified by:
newInstance in class AbstractFormatterTime<org.joda.time.format.DateTimeFormatter>

format

protected String format(org.joda.time.format.DateTimeFormatter pattern,
                        Object value,
                        Object[] args)
Specified by:
format in class AbstractFormatterTime<org.joda.time.format.DateTimeFormatter>


Copyright © 2015. All rights reserved.