Build 1.0_r1(from source)

android.pim
Class EventRecurrence

java.lang.Object
  extended by android.pim.EventRecurrence

public class EventRecurrence
extends Object


Nested Class Summary
static class EventRecurrence.InvalidFormatException
          Thrown when a recurrence string provided can not be parsed according to RFC2445.
 
Field Summary
 int[] byday
           
 int bydayCount
           
 int[] bydayNum
           
 int[] byhour
           
 int byhourCount
           
 int[] byminute
           
 int byminuteCount
           
 int[] bymonth
           
 int bymonthCount
           
 int[] bymonthday
           
 int bymonthdayCount
           
 int[] bysecond
           
 int bysecondCount
           
 int[] bysetpos
           
 int bysetposCount
           
 int[] byweekno
           
 int byweeknoCount
           
 int[] byyearday
           
 int byyeardayCount
           
 int count
           
static int DAILY
           
static int FR
           
 int freq
           
static int HOURLY
           
 int interval
           
static int MINUTELY
           
static int MO
           
static int MONTHLY
           
static int SA
           
static int SECONDLY
           
 Time startDate
           
static int SU
           
static int TH
           
static int TU
           
 String until
           
static int WE
           
static int WEEKLY
           
 int wkst
           
static int YEARLY
           
 
Constructor Summary
EventRecurrence()
           
 
Method Summary
static int calendarDay2Day(int day)
          Converts one of the Calendar.SUNDAY constants to the SU, MO, etc.
static int day2CalendarDay(int day)
          Converts one of the SU, MO, etc.
static int day2TimeDay(int day)
           
 String getRepeatString()
           
 void parse(String recur)
          Parse an iCalendar/RFC2445 recur type according to Section 4.3.10.
 boolean repeatsMonthlyOnDayCount()
           
 boolean repeatsOnEveryWeekDay()
           
 void setStartDate(Time date)
           
static int timeDay2Day(int day)
           
 String toString()
          Returns a string containing a concise, human-readable description of the receiver.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SECONDLY

public static final int SECONDLY
See Also:
Constant Field Values

MINUTELY

public static final int MINUTELY
See Also:
Constant Field Values

HOURLY

public static final int HOURLY
See Also:
Constant Field Values

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

SU

public static final int SU
See Also:
Constant Field Values

MO

public static final int MO
See Also:
Constant Field Values

TU

public static final int TU
See Also:
Constant Field Values

WE

public static final int WE
See Also:
Constant Field Values

TH

public static final int TH
See Also:
Constant Field Values

FR

public static final int FR
See Also:
Constant Field Values

SA

public static final int SA
See Also:
Constant Field Values

startDate

public Time startDate

freq

public int freq

until

public String until

count

public int count

interval

public int interval

wkst

public int wkst

bysecond

public int[] bysecond

bysecondCount

public int bysecondCount

byminute

public int[] byminute

byminuteCount

public int byminuteCount

byhour

public int[] byhour

byhourCount

public int byhourCount

byday

public int[] byday

bydayNum

public int[] bydayNum

bydayCount

public int bydayCount

bymonthday

public int[] bymonthday

bymonthdayCount

public int bymonthdayCount

byyearday

public int[] byyearday

byyeardayCount

public int byyeardayCount

byweekno

public int[] byweekno

byweeknoCount

public int byweeknoCount

bymonth

public int[] bymonth

bymonthCount

public int bymonthCount

bysetpos

public int[] bysetpos

bysetposCount

public int bysetposCount
Constructor Detail

EventRecurrence

public EventRecurrence()
Method Detail

parse

public void parse(String recur)
Parse an iCalendar/RFC2445 recur type according to Section 4.3.10.


setStartDate

public void setStartDate(Time date)

calendarDay2Day

public static int calendarDay2Day(int day)
Converts one of the Calendar.SUNDAY constants to the SU, MO, etc. constants. btw, I think we should switch to those here too, to get rid of this function, if possible.


timeDay2Day

public static int timeDay2Day(int day)

day2TimeDay

public static int day2TimeDay(int day)

day2CalendarDay

public static int day2CalendarDay(int day)
Converts one of the SU, MO, etc. constants to the Calendar.SUNDAY constants. btw, I think we should switch to those here too, to get rid of this function, if possible.


toString

public String toString()
Description copied from class: Object
Returns a string containing a concise, human-readable description of the receiver.

Overrides:
toString in class Object
Returns:
String a printable representation for the receiver.

getRepeatString

public String getRepeatString()

repeatsOnEveryWeekDay

public boolean repeatsOnEveryWeekDay()

repeatsMonthlyOnDayCount

public boolean repeatsMonthlyOnDayCount()

Build 1.0_r1(from source)

Please submit a feedback, bug or feature