Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.gammastream.validity
Class GSVDateMethods  view GSVDateMethods download GSVDateMethods.java

java.lang.Object
  extended bycom.gammastream.validity.GSVDateMethods

public class GSVDateMethods
extends java.lang.Object

This class provides a set of predefined rules for performing validation on NSTimestamps. These rules are part of the default set of 'QuickRules'.


Constructor Summary
GSVDateMethods()
           
 
Method Summary
static boolean updateTimestamp(java.lang.Object object, java.lang.Object attribute, java.lang.String key, NSDictionary params)
          One of the many 'mutators' which never fail, unless of course, an exception is thrown.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GSVDateMethods

public GSVDateMethods()
Method Detail

updateTimestamp

public static final boolean updateTimestamp(java.lang.Object object,
                                            java.lang.Object attribute,
                                            java.lang.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.