org.mmbase.datatypes.processors
Class FormatDateTime

java.lang.Object
  extended byorg.mmbase.datatypes.processors.FormatDateTime
All Implemented Interfaces:
Processor, Serializable

public class FormatDateTime
extends Object
implements Processor

This can be used as getProcessor for String on DateTime fields. Then, the 'getStringValue' will use a localized String as customized in datatypes.xml

Since:
MMBase-1.8
Version:
$Id: FormatDateTime.java,v 1.3 2005/12/10 14:33:36 michiel Exp $
Author:
Michiel Meeuwissen
See Also:
Serialized Form

Constructor Summary
FormatDateTime()
           
 
Method Summary
 Object process(Node node, Field field, Object value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FormatDateTime

public FormatDateTime()
Method Detail

process

public Object process(Node node,
                      Field field,
                      Object value)
Specified by:
process in interface Processor
Parameters:
node - The node object for which the field must be transformed.
field - The field which is set.
value - The (new) field value.

toString

public String toString()


MMBase build 1.8.1.20060716