hibergui.verify
Class DateFormatConstraint

java.lang.Object
  extended by hibergui.verify.DateFormatConstraint
All Implemented Interfaces:
Constraint

public abstract class DateFormatConstraint
extends java.lang.Object
implements Constraint


Field Summary
private static java.text.DateFormat dateFormat
           
private static java.text.DateFormat timeFormat
           
 
Constructor Summary
DateFormatConstraint()
           
 
Method Summary
 boolean check(java.lang.Object o)
           
static boolean parseDate(java.lang.String s)
           
static boolean parseTime(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dateFormat

private static java.text.DateFormat dateFormat

timeFormat

private static java.text.DateFormat timeFormat
Constructor Detail

DateFormatConstraint

public DateFormatConstraint()
Method Detail

parseDate

public static boolean parseDate(java.lang.String s)

parseTime

public static boolean parseTime(java.lang.String s)

check

public boolean check(java.lang.Object o)
Specified by:
check in interface Constraint
Returns:
true if the object satisfies the constraint, false otherwise