org.otfeed.samples
Class FormatUtil

java.lang.Object
  extended by org.otfeed.samples.FormatUtil

public final class FormatUtil
extends java.lang.Object

Utility for property value formatting. Most importantly, knows how to format date as Unix timestamp, or as a simple human-readable string.


Field Summary
static IPropertyFormatter DATE_FORMAT_AS_STRING
           
static IPropertyFormatter DATE_FORMAT_AS_UNIX_TIMESTAMP
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DATE_FORMAT_AS_UNIX_TIMESTAMP

public static final IPropertyFormatter DATE_FORMAT_AS_UNIX_TIMESTAMP

DATE_FORMAT_AS_STRING

public static final IPropertyFormatter DATE_FORMAT_AS_STRING


Copyright © 2007-2008 Mike Kroutikov. All Rights Reserved.