Class RecurringDate

java.lang.Object
com.highdeal.hci.RecurringDate

public class RecurringDate extends Object
  • Field Details

    • DAILY

      public static final int DAILY
      Frequency for daily audit cycle.
      See Also:
    • WEEKLY

      public static final int WEEKLY
      Frequency for weekly audit cycle.
      See Also:
    • BIWEEKLY

      public static final int BIWEEKLY
      Frequency for an audit cycle every 2 weeks.
      See Also:
    • MONTHLY

      public static final int MONTHLY
      Frequency for monthly audit cycle.
      See Also:
    • BIMONTHLY

      public static final int BIMONTHLY
      Frequency for an audit cycle every 2 months.
      See Also:
    • TRIMONTHLY

      public static final int TRIMONTHLY
      Frequency for an audit cycle every 3 months.
      See Also:
    • SEMIANNUAL

      public static final int SEMIANNUAL
      Frequency for an audit cycle every 3 months.
      See Also:
    • YEARLY

      public static final int YEARLY
      Frequency for yearly audit cycle.
      See Also:
  • Constructor Details

    • RecurringDate

      public RecurringDate()
      Builds an empty RecurringDate.
    • RecurringDate

      public RecurringDate(int type)
  • Method Details

    • getType

      public int getType()
      Gets the type.
      Returns:
      the type.
    • setType

      public void setType(int t)
      Sets the type.
      Parameters:
      t - the type.
    • nextOccurrence

      public Date nextOccurrence(Date original, Date from)
    • nextOccurrenceFromToday

      public Date nextOccurrenceFromToday(Date originalDate)
    • computeOccurrencesFromDate

      public Vector<Date> computeOccurrencesFromDate(Date originalDate, Date date)