|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.nitido.nimx.nuggets.wcap.RecurFreq
public class RecurFreq
The possible value for the freq field of a recurrence rule.
This is a data object that acts as a C style enum. It force the programmer to use a set of predefined values. These supported values are defined by the iCalendar proposed standard (RFC 2445).
The available options are:
This object provides the required field "freq" of the RecurRule object. It is used to indicate under what frequency (i.e. the base) of the recurrence. It must be specified for all recurrence rule under RFC 2445.
Field Summary | |
---|---|
static RecurFreq |
DAILY
Predefined value for recurring on day base. |
static RecurFreq |
HOURLY
Predefined value for recurring on hour base. |
static RecurFreq |
MINUTELY
Predefined value for recurring on minute base. |
static RecurFreq |
MONTHLY
Predefined value for recurring on month base. |
static RecurFreq |
SECONDLY
Predefined value for recurring on second base. |
static java.lang.String |
STR_DAILY
The actual string value of DAILY (as defined by RFC 2445 and WCAP). |
static java.lang.String |
STR_HOURLY
The actual string value of HOURLY (as defined by RFC 2445 and WCAP). |
static java.lang.String |
STR_MINUTELY
The actual string value of MINUTELY (as defined by RFC 2445 and WCAP). |
static java.lang.String |
STR_MONTHLY
The actual string value of MONTHLY (as defined by RFC 2445 and WCAP). |
static java.lang.String |
STR_SECONDLY
The actual string value of SECONDLY (as defined by RFC 2445 and WCAP). |
static java.lang.String |
STR_WEEKLY
The actual string value of WEEKLY (as defined by RFC 2445 and WCAP). |
static java.lang.String |
STR_YEARLY
The actual string value of YEARLY (as defined by RFC 2445 and WCAP). |
static RecurFreq |
WEEKLY
Predefined value for recurring on week base. |
static RecurFreq |
YEARLY
Predefined value for recurring on year base. |
Method Summary | |
---|---|
static RecurFreq |
convertFromString(java.lang.String inStr)
Convert a string into an instance of RecurFreq. |
boolean |
equals(java.lang.Object inObj)
Override the default java.lang.Object's equal command. |
java.lang.String |
getStringValue()
Return the string value of the recurrence frequency. |
java.lang.String |
toString()
Display the object as a string. |
java.lang.String |
toWcapQuery(WcapNugget nugget)
Convert the component into a string that is used for constructing a WCAP query. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String STR_SECONDLY
public static final java.lang.String STR_MINUTELY
public static final java.lang.String STR_HOURLY
public static final java.lang.String STR_DAILY
public static final java.lang.String STR_WEEKLY
public static final java.lang.String STR_MONTHLY
public static final java.lang.String STR_YEARLY
public static final RecurFreq SECONDLY
public static final RecurFreq MINUTELY
public static final RecurFreq HOURLY
public static final RecurFreq DAILY
public static final RecurFreq WEEKLY
public static final RecurFreq MONTHLY
public static final RecurFreq YEARLY
Method Detail |
---|
public java.lang.String getStringValue()
public java.lang.String toWcapQuery(WcapNugget nugget) throws WcapException
WcapException
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object inObj)
equals
in class java.lang.Object
public static RecurFreq convertFromString(java.lang.String inStr) throws InvalidParameterException
inStr
- the participate status string.
InvalidParameterException
- if the inStr is not a valid participate status string.
|
Nitido NiM 2.5 Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1999-2009 Nitido Inc. Proprietary and Confidential. All Rights Reserved.