public interface ERCalendarEvent
the ERPublishCalendarPage component
.
ERPublishCalendarPage
can use objects of any class
that implements this interface. Existing classes (for example
EOCustomObject subclasses), that correspond to calendar events,
can easily be modified to implement this interface and thus be
added directly to ERPublishCalendarPage
. If existing
classes does not directly correspond to calendar events, create
events from business data (or some algorithm) using either the
included ERSimpleEvent class
, a subclass of
ERSimpleEvent
, or any other class implementing
this interface.
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
NSTimestamp |
startTime()
Return the start time of this event.
|
String |
status()
Return the status of this event.
|
String |
summary()
Return a summary or textual description of this event.
|
String |
uniqueId()
Return a persistent, globally unique identifier for this
event.
|
boolean |
wholeDay()
Return
false if this event have specified
start and ending times. |
boolean wholeDay()
false
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.ERSimpleEvent.wholeDay()
NSTimestamp startTime()
endTime()
NSTimestamp endTime()
startTime()
int sequence()
ERSimpleEvent.sequence()
String status()
String summary()
String uniqueId()
ERSimpleEvent.sequence()
int repeatFrequency()
java.util.Calendar
field numbers
YEAR
, MONTH
,
WEEK_OF_YEAR
, DAY_OF_MONTH
,
HOUR_OF_DAY
, MINUTE
or
SECOND
.repeatCount()
int repeatCount()
repeatFrequency()
returns 0.repeatFrequency()
int repeatDayOfWeek()
java.util.Calendar
DAY_OF_WEEK
field values SUNDAY
, MONDAY
,
TUESDAY
, WEDNESDAY
,
THURSDAY
, FRIDAY
,
SATURDAY
or as the value 0. Ignored if
repeatFrequency()
returns 0.repeatFrequency()
int repeatDayOfWeekInMonth()
repeatDayOfWeek()
it uniquely specifies a day
within the month. Ignored if repeatFrequency()
returns 0.repeatDayOfWeek()
NSArray repeatDaysOfMonth()
Integer
indicating the days
within a month, at which the event repeats, or
null
for not restricting repeating
to certain days.
Together with repeatDayOfWeek()
it uniquely
specifies a day within the month (Keep in mind
that iCal 1.0 does not properly handle this).
Ignored if repeatFrequency()
returns 0.repeatDayOfWeek()
Copyright © 2002 – 2024 Project Wonder.