com.highdeal.hci
Class RecurringDate

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

public class RecurringDate
extends java.lang.Object


Field Summary
static int BIMONTHLY
          Frequency for an audit cycle every 2 months.
static int BIWEEKLY
          Frequency for an audit cycle every 2 weeks.
static int DAILY
          Frequency for daily audit cycle.
static int MONTHLY
          Frequency for monthly audit cycle.
static int SEMIANNUAL
          Frequency for an audit cycle every 3 months.
static int TRIMONTHLY
          Frequency for an audit cycle every 3 months.
static int WEEKLY
          Frequency for weekly audit cycle.
static int YEARLY
          Frequency for yearly audit cycle.
 
Constructor Summary
RecurringDate()
          Builds an empty RecurringDate.
RecurringDate(int type)
           
 
Method Summary
 java.util.Vector<java.util.Date> computeOccurrencesFromDate(java.util.Date originalDate, java.util.Date date)
           
 int getType()
          Gets the type.
 java.util.Date nextOccurrence(java.util.Date original, java.util.Date from)
           
 java.util.Date nextOccurrenceFromToday(java.util.Date originalDate)
           
 void setType(int t)
          Sets the type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DAILY

public static final int DAILY
Frequency for daily audit cycle.

See Also:
Constant Field Values

WEEKLY

public static final int WEEKLY
Frequency for weekly audit cycle.

See Also:
Constant Field Values

BIWEEKLY

public static final int BIWEEKLY
Frequency for an audit cycle every 2 weeks.

See Also:
Constant Field Values

MONTHLY

public static final int MONTHLY
Frequency for monthly audit cycle.

See Also:
Constant Field Values

BIMONTHLY

public static final int BIMONTHLY
Frequency for an audit cycle every 2 months.

See Also:
Constant Field Values

TRIMONTHLY

public static final int TRIMONTHLY
Frequency for an audit cycle every 3 months.

See Also:
Constant Field Values

SEMIANNUAL

public static final int SEMIANNUAL
Frequency for an audit cycle every 3 months.

See Also:
Constant Field Values

YEARLY

public static final int YEARLY
Frequency for yearly audit cycle.

See Also:
Constant Field Values
Constructor Detail

RecurringDate

public RecurringDate()
Builds an empty RecurringDate.


RecurringDate

public RecurringDate(int type)
Method Detail

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 java.util.Date nextOccurrence(java.util.Date original,
                                     java.util.Date from)

nextOccurrenceFromToday

public java.util.Date nextOccurrenceFromToday(java.util.Date originalDate)

computeOccurrencesFromDate

public java.util.Vector<java.util.Date> computeOccurrencesFromDate(java.util.Date originalDate,
                                                                   java.util.Date date)

Document Published: October 2015 (SAP CC 4.0 SP10 and Later)