net.stff.ical.beans
Class Recurrence

java.lang.Object
  extended bynet.stff.ical.beans.Recurrence

public class Recurrence
extends java.lang.Object

Author:
buntekuh

Field Summary
static int DAILY
           
static int MONTHLY
           
static java.lang.String[] WEEKDAYS
           
static int WEEKLY
           
static int YEARLY
           
 
Constructor Summary
Recurrence()
           
Recurrence(java.lang.String rule)
           
 
Method Summary
 void addExdate(java.util.Date d)
           
 java.lang.String getByLabel()
           
 java.lang.String getByValue()
           
 java.util.Set getExDates()
           
 java.lang.String getExDatesAsString()
           
 int getFrequency()
           
 java.lang.String getFrequencyAsString()
           
 int getInterval()
           
 java.util.Collection getRecurrentDates(VEvent event)
           
 java.lang.String getRule()
           
 java.util.Date getUntil()
           
 java.lang.String getUntilDate()
           
 boolean isExDate(java.util.Date d)
           
 void recompute(VEvent event)
           
 void removeExdate(java.util.Date d)
           
 void setByLabel(java.lang.String byLabel)
           
 void setByValue(java.lang.String byValue)
           
 void setExDates(java.util.Set exDates)
           
 void setFrequency(int frequency)
           
 void setFrequencyAsString(java.lang.String frequency)
           
 void setInterval(int interval)
           
 void setRule(java.lang.String rule)
           
 void setUntil(java.util.Date until)
           
 void setUntilDate(java.lang.String date)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DAILY

public static final int DAILY
See Also:
Constant Field Values

WEEKLY

public static final int WEEKLY
See Also:
Constant Field Values

MONTHLY

public static final int MONTHLY
See Also:
Constant Field Values

YEARLY

public static final int YEARLY
See Also:
Constant Field Values

WEEKDAYS

public static final java.lang.String[] WEEKDAYS
Constructor Detail

Recurrence

public Recurrence()

Recurrence

public Recurrence(java.lang.String rule)
Method Detail

toString

public java.lang.String toString()

recompute

public void recompute(VEvent event)

getRecurrentDates

public java.util.Collection getRecurrentDates(VEvent event)

getByLabel

public java.lang.String getByLabel()
Returns:
Returns the byLabel.

setByLabel

public void setByLabel(java.lang.String byLabel)
Parameters:
byLabel - The byLabel to set.

getByValue

public java.lang.String getByValue()
Returns:
Returns the byValue.

setByValue

public void setByValue(java.lang.String byValue)
Parameters:
byValue - The byValue to set.

getExDates

public java.util.Set getExDates()
Returns:
Returns the exDate.

getExDatesAsString

public java.lang.String getExDatesAsString()

setExDates

public void setExDates(java.util.Set exDates)

addExdate

public void addExdate(java.util.Date d)

removeExdate

public void removeExdate(java.util.Date d)

getFrequency

public int getFrequency()
Returns:
Returns the frequency.

getFrequencyAsString

public java.lang.String getFrequencyAsString()

setFrequency

public void setFrequency(int frequency)
Parameters:
frequency - The frequency to set.

setFrequencyAsString

public void setFrequencyAsString(java.lang.String frequency)

getInterval

public int getInterval()
Returns:
Returns the interval.

setInterval

public void setInterval(int interval)
Parameters:
interval - The interval to set.

getUntil

public java.util.Date getUntil()
Returns:
Returns the repeatUntil.

setUntil

public void setUntil(java.util.Date until)

setUntilDate

public void setUntilDate(java.lang.String date)

getUntilDate

public java.lang.String getUntilDate()

getRule

public java.lang.String getRule()
Returns:
Returns the rule.

setRule

public void setRule(java.lang.String rule)
Parameters:
rule - The rule to set.

isExDate

public boolean isExDate(java.util.Date d)


Copyright © 2004-2005 stoffwechsel development GbR. All Rights Reserved.