psdi.common.dateselector.virtual

Class DateSelectorPreviewSet

    • Constructor Detail

      • DateSelectorPreviewSet

        public DateSelectorPreviewSet(MboServerInterface ms)
                               throws MXException,
                                      java.rmi.RemoteException
        Construct the set.
        Parameters:
        ms - The MboServerInterface
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • getPreviewDatesInClientPattern

        public MboSetRemote getPreviewDatesInClientPattern(java.util.Date startDate,
                                                           java.util.Date endDate,
                                                           java.lang.String pattern)
                                                    throws MXException,
                                                           java.rmi.RemoteException
        Get preview dates in client timezone. This method is useful when we calculate all dates with client timezone,client locale and pattern that doesn't change with server locale and timezone
        Parameters:
        startDate -
        endDate -
        pattern -
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • getPreviewDates

        public MboSetRemote getPreviewDates(java.util.Date startDate,
                                            java.util.Date endDate,
                                            java.lang.String pattern)
                                     throws MXException,
                                            java.rmi.RemoteException
        Method to get preview dates
        Returns:
        mbosetremote
        Throws:
        MXException
        java.rmi.RemoteException