psdi.app.sla

Class FldDatePair

    • Constructor Detail

      • FldDatePair

        public FldDatePair(MboValue mbv)
        Construct and attach to the specified mbo value
        Parameters:
        MboValue - - Instance of MboValue
    • Method Detail

      • validateDates

        public boolean validateDates(java.lang.String date1,
                                     java.lang.String date2,
                                     boolean compareAfter)
                              throws MXException,
                                     java.rmi.RemoteException
        Checks if validateDate is later or before than validateAgainstDate based on the compare type value.
        Parameters:
        flag - - boolean value representing when to compare dates. If flag is TRUE (compare after) - test if validate date is after validateAgainst date and if true will throw an exception. If flag is FALSE (compare before) - test if validate date is before validateAgainst date and if true will throw an exception.
        Throws:
        MXException
        java.rmi.RemoteException