|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.nitido.nimx.nuggets.wcap.WeekDay
public class WeekDay
The possible values of day name of a week.
This is a data object that acts as a C style enum. It force the programmer to use a set of predefined values. These predefined values are declared by iCalendar proposed standard (RFC 2445).
The available options are:
Field Summary | |
---|---|
static WeekDay |
FRI
Friday |
static WeekDay |
MON
Monday |
static WeekDay |
SAT
Saturday |
static java.lang.String |
STR_FRI
The actual string value of Friday (as defined by RFC 2445 and WCAP). |
static java.lang.String |
STR_MON
The actual string value of Monday (as defined by RFC 2445 and WCAP). |
static java.lang.String |
STR_SAT
The actual string value of Saturday (as defined by RFC 2445 and WCAP). |
static java.lang.String |
STR_SUN
The actual string value of Sunday (as defined by RFC 2445 and WCAP). |
static java.lang.String |
STR_THU
The actual string value of Thursday (as defined by RFC 2445 and WCAP). |
static java.lang.String |
STR_TUE
The actual string value of Tuesday (as defined by RFC 2445 and WCAP). |
static java.lang.String |
STR_WED
The actual string value of Wednesday (as defined by RFC 2445 and WCAP). |
static WeekDay |
SUN
Sunday |
static WeekDay |
THU
Thursday |
static WeekDay |
TUE
Tuesday |
static WeekDay |
WED
Wednesday |
Method Summary | |
---|---|
static WeekDay |
convertFromInt(int dayInt)
Convert a integer into a WeekDay object. |
static WeekDay |
convertFromString(java.lang.String inStr)
Convert a string into a WeekDay object. |
boolean |
equals(java.lang.Object inObj)
Override the default java.lang.Object's equal command. |
java.lang.String |
getStringValue()
Get the string value of the object |
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_SUN
public static final java.lang.String STR_MON
public static final java.lang.String STR_TUE
public static final java.lang.String STR_WED
public static final java.lang.String STR_THU
public static final java.lang.String STR_FRI
public static final java.lang.String STR_SAT
public static final WeekDay SUN
public static final WeekDay MON
public static final WeekDay TUE
public static final WeekDay WED
public static final WeekDay THU
public static final WeekDay FRI
public static final WeekDay SAT
Method Detail |
---|
public java.lang.String getStringValue()
public boolean equals(java.lang.Object inObj)
equals
in class java.lang.Object
public static WeekDay convertFromString(java.lang.String inStr)
public static WeekDay convertFromInt(int dayInt)
public java.lang.String toWcapQuery(WcapNugget nugget) throws WcapException
WcapException
public java.lang.String toString()
toString
in class java.lang.Object
|
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.