org.jclarion.clarion.runtime.format
Class DateFormat

java.lang.Object
  extended by org.jclarion.clarion.runtime.format.Formatter
      extended by org.jclarion.clarion.runtime.format.DateFormat

public class DateFormat
extends Formatter

Clarion date formatting

Author:
barney

Field Summary
 
Fields inherited from class org.jclarion.clarion.runtime.format.Formatter
picture
 
Constructor Summary
DateFormat(java.lang.String input)
           
 
Method Summary
 java.lang.String deformat(java.lang.String input)
           
 java.lang.String format(java.lang.String input)
          Note that format for dates does not implicitly deformat- because of risk of confusion between machine greogian date and clarion encoded date - cannot tell the two apart.
 int getMaxLen()
           
 java.lang.String getPictureRepresentation()
           
 
Methods inherited from class org.jclarion.clarion.runtime.format.Formatter
clearError, construct, getPicture, isError, isStrict, setError, setStrictMode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateFormat

public DateFormat(java.lang.String input)
Method Detail

deformat

public java.lang.String deformat(java.lang.String input)
Specified by:
deformat in class Formatter

format

public java.lang.String format(java.lang.String input)
Note that format for dates does not implicitly deformat- because of risk of confusion between machine greogian date and clarion encoded date - cannot tell the two apart. This differs from numeric handling

Specified by:
format in class Formatter

getMaxLen

public int getMaxLen()
Specified by:
getMaxLen in class Formatter

getPictureRepresentation

public java.lang.String getPictureRepresentation()
Specified by:
getPictureRepresentation in class Formatter


Copyright © 2010. All Rights Reserved.