org.specrunner.formatters.core
Class FormatterDate
java.lang.Object
org.specrunner.formatters.core.AbstractFormatterTime<SimpleDateFormat>
org.specrunner.formatters.core.FormatterDate
- All Implemented Interfaces:
- Serializable, IFormatter, IResetable
- Direct Known Subclasses:
- FormatterDateTemplate
public class FormatterDate
- extends AbstractFormatterTime<SimpleDateFormat>
Formatter.
- Author:
- Thiago Santos
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FormatterDate
public FormatterDate()
testType
protected boolean testType(Object value)
- Specified by:
testType in class AbstractFormatterTime<SimpleDateFormat>
newInstance
protected SimpleDateFormat newInstance(String str)
- Specified by:
newInstance in class AbstractFormatterTime<SimpleDateFormat>
format
protected String format(SimpleDateFormat pattern,
Object value,
Object[] args)
- Specified by:
format in class AbstractFormatterTime<SimpleDateFormat>
Copyright © 2015. All rights reserved.