com.ancientprogramming.fixedformat4j.format.impl
Class DateFormatter

java.lang.Object
  extended by com.ancientprogramming.fixedformat4j.format.AbstractFixedFormatter<java.util.Date>
      extended by com.ancientprogramming.fixedformat4j.format.impl.DateFormatter
All Implemented Interfaces:
FixedFormatter<java.util.Date>

public class DateFormatter
extends AbstractFixedFormatter<java.util.Date>

Formatter for Date data

Since:
1.0.0
Author:
Jacob von Eyben - http://www.ancientprogramming.com

Constructor Summary
DateFormatter()
           
 
Method Summary
 java.util.Date asObject(java.lang.String string, FormatInstructions instructions)
           
 java.lang.String asString(java.util.Date date, FormatInstructions instructions)
           
 
Methods inherited from class com.ancientprogramming.fixedformat4j.format.AbstractFixedFormatter
format, parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateFormatter

public DateFormatter()
Method Detail

asObject

public java.util.Date asObject(java.lang.String string,
                               FormatInstructions instructions)
                        throws FixedFormatException
Specified by:
asObject in class AbstractFixedFormatter<java.util.Date>
Throws:
FixedFormatException

asString

public java.lang.String asString(java.util.Date date,
                                 FormatInstructions instructions)
Specified by:
asString in class AbstractFixedFormatter<java.util.Date>


Copyright © 2008 ancientprogramming.com. All Rights Reserved.