com.gammastream.validity
Class GSVDateMethods
java.lang.Object
com.gammastream.validity.GSVDateMethods
- public class GSVDateMethods
- extends Object
This class provides a set of predefined rules for performing
validation on NSTimestamps
. These rules are part of
the default set of 'QuickRules'.
- Author:
- GammaStream Technologies, Inc.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GSVDateMethods
public GSVDateMethods()
updateTimestamp
public static final boolean updateTimestamp(Object object,
Object attribute,
String key,
NSDictionary params)
- One of the many 'mutators' which never fail, unless of course, an exception is thrown.
A mutator simply modifies (or mutates) the attribute is some way.
In this case, it updates the attribute to the current time.
- Parameters:
object
- The object whose attribute is being validated.attribute
- The attribute being validated.key
- The key used to access the attribute.params
- The param dictionary which must contain the above mentioned key-value pairs.
- Returns:
- always
true
Copyright © 2002 – 2004 Project Wonder.