|
Project Wonder 5.0 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objecter.calendar.ERSimpleEvent
public class ERSimpleEvent
ERSimpleEvent is an simple implementation of an event class,
implementing the ERCalendarEvent interface,
for use by the ERPublishCalendarPage component.
ERSimpleEvent objects can be created corresponding to your events and added to ERPublishCalendarPage to create a calendar.
Subclass ERSimpleEvent if more advanced features are needed.
| Field Summary | |
|---|---|
protected com.webobjects.foundation.NSTimestamp |
endTime
|
protected com.webobjects.foundation.NSTimestamp |
startTime
|
protected java.lang.String |
status
|
protected java.lang.String |
summary
|
protected java.lang.String |
uniqueId
|
protected boolean |
wholeDay
|
| Constructor Summary | |
|---|---|
ERSimpleEvent(com.webobjects.foundation.NSTimestamp aStartTime,
com.webobjects.foundation.NSTimestamp anEndTime,
java.lang.String aSummary,
java.lang.String aUniqueId)
|
|
| Method Summary | |
|---|---|
com.webobjects.foundation.NSTimestamp |
endTime()
Return the end time of this event. |
int |
repeatCount()
Return the number of occurences of a repeating event. |
int |
repeatDayOfWeek()
Return the day of week of a repeating event, or 0 for unspecified day of week. |
int |
repeatDayOfWeekInMonth()
Return the ordinal number of day of the week within a month at which the event repeats. |
com.webobjects.foundation.NSArray |
repeatDaysOfMonth()
Return an array of Integer indicating the days
within a month, at which the event repeats, or
null for not restricting repeating
to certain days. |
int |
repeatFrequency()
Return the frequency of a repeating event, or 0 for a one time event. |
int |
sequence()
Return the change counter of this event. |
com.webobjects.foundation.NSTimestamp |
startTime()
Return the start time of this event. |
java.lang.String |
status()
Return the status of this event. |
java.lang.String |
summary()
Return a summary or textual description of this event. |
java.lang.String |
uniqueId()
Return a persistent, globally unique identifier for this event. |
boolean |
wholeDay()
Return false if this event have specified
start and ending times. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected com.webobjects.foundation.NSTimestamp endTime
protected com.webobjects.foundation.NSTimestamp startTime
protected java.lang.String status
protected java.lang.String summary
protected java.lang.String uniqueId
protected boolean wholeDay
| Constructor Detail |
|---|
public ERSimpleEvent(com.webobjects.foundation.NSTimestamp aStartTime,
com.webobjects.foundation.NSTimestamp anEndTime,
java.lang.String aSummary,
java.lang.String aUniqueId)
aStartTime - start time of this eventanEndTime - end time of this eventaSummary - summary or textual description of this
eventaUniqueId - a persistent, globally unique identifier
for this eventERCalendarEvent#startTime,
ERCalendarEvent#endTime,
ERCalendarEvent#summary,
ERCalendarEvent#uniqueId| Method Detail |
|---|
public boolean wholeDay()
ERCalendarEventfalse if this event have specified
start and ending times.
true if this event is a whole-day
event without a specific starting and ending hour
and minute.
wholeDay in interface ERCalendarEventfalse.
ERSimpleEvent doesn't support whole-day events.ERCalendarEvent#wholeDaypublic com.webobjects.foundation.NSTimestamp startTime()
ERCalendarEvent
startTime in interface ERCalendarEventconstructorERCalendarEvent#startTimepublic com.webobjects.foundation.NSTimestamp endTime()
ERCalendarEvent
endTime in interface ERCalendarEventconstructorERCalendarEvent#endTimepublic int sequence()
ERCalendarEvent
sequence in interface ERCalendarEventERCalendarEvent#sequencepublic java.lang.String status()
ERCalendarEvent
status in interface ERCalendarEventnull since ERSimpleEvent doesn't support
event status.ERCalendarEvent#statuspublic java.lang.String summary()
ERCalendarEvent
summary in interface ERCalendarEventconstructorERCalendarEvent#summarypublic java.lang.String uniqueId()
ERCalendarEvent
uniqueId in interface ERCalendarEventconstructorERCalendarEvent#uniqueIdpublic int repeatFrequency()
ERCalendarEventjava.util.Calendar field numbers
YEAR, MONTH,
WEEK_OF_YEAR, DAY_OF_MONTH,
HOUR_OF_DAY, MINUTE or
SECOND.
repeatFrequency in interface ERCalendarEventERCalendarEvent.repeatCount()public int repeatCount()
ERCalendarEventERCalendarEvent.repeatFrequency() returns 0.
repeatCount in interface ERCalendarEventrepeatFrequency() always return 0).repeatFrequency()public int repeatDayOfWeek()
ERCalendarEventjava.util.Calendar DAY_OF_WEEK
field values SUNDAY, MONDAY,
TUESDAY, WEDNESDAY,
THURSDAY, FRIDAY,
SATURDAY or as the value 0. Ignored if
ERCalendarEvent.repeatFrequency() returns 0.
repeatDayOfWeek in interface ERCalendarEventrepeatFrequency()
always returns 0).repeatFrequency()public int repeatDayOfWeekInMonth()
ERCalendarEventERCalendarEvent.repeatDayOfWeek() it uniquely specifies a day
within the month. Ignored if ERCalendarEvent.repeatFrequency()
returns 0.
repeatDayOfWeekInMonth in interface ERCalendarEventrepeatFrequency() always returns 0).repeatFrequency()public com.webobjects.foundation.NSArray repeatDaysOfMonth()
ERCalendarEventInteger indicating the days
within a month, at which the event repeats, or
null for not restricting repeating
to certain days.
Together with ERCalendarEvent.repeatDayOfWeek() it uniquely
specifies a day within the month (Keep in mind
that iCal 1.0 does not properly handle this).
Ignored if ERCalendarEvent.repeatFrequency() returns 0.
repeatDaysOfMonth in interface ERCalendarEventnull indicating unspecified days
within a month (although this method is never
called since repeatFrequency() always
returns 0.repeatFrequency()
|
Last updated: Tue, Feb 21, 2017 05:45 PM CET | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||