📄 repeatrule.html
字号:
which is milliseconds since the epoch (00:00:00 GMT, January 1, 1970).
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.RepeatRule.END">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="FREQUENCY"><!-- --></A><H3>
FREQUENCY</H3>
<PRE>
public static final int <B>FREQUENCY</B></PRE>
<DL>
<DD>Field specifying the frequency of the Repeat. This field has a value of either <code>DAILY</code>, <code>WEEKLY</code>, <code>MONTHLY</code> or <code>YEARLY</code>.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.RepeatRule.FREQUENCY">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="INTERVAL"><!-- --></A><H3>
INTERVAL</H3>
<PRE>
public static final int <B>INTERVAL</B></PRE>
<DL>
<DD>Field specifying the number of iterations of the frequency between occurring dates, or how often the frequency repeats. For example, for every other day the <code>FREQUENCY</code> is <code>DAILY</code> and <code>INTERVAL</code> is 2.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.RepeatRule.INTERVAL">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="MONTH_IN_YEAR"><!-- --></A><H3>
MONTH_IN_YEAR</H3>
<PRE>
public static final int <B>MONTH_IN_YEAR</B></PRE>
<DL>
<DD>Field specifying the month in which an event occurs. To set multiple months, OR the values together (e.g. <code>RepeatRule.JANUARY | RepeatRule.FEBRUARY </code>). Retrieval of data for this field can contain multiple months OR'd together in the same manner as setting the value.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.RepeatRule.MONTH_IN_YEAR">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="WEEK_IN_MONTH"><!-- --></A><H3>
WEEK_IN_MONTH</H3>
<PRE>
public static final int <B>WEEK_IN_MONTH</B></PRE>
<DL>
<DD>Field specifying which week in a month a particular event occurs. To set multiple weeks, OR the values together (e.g. <code>FIRST | LAST | SECOND | SECONDLAST</code>). Retrieval of data for this field can contain multiple weeks OR'd together in the same manner as setting the value.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.RepeatRule.WEEK_IN_MONTH">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="DAILY"><!-- --></A><H3>
DAILY</H3>
<PRE>
public static final int <B>DAILY</B></PRE>
<DL>
<DD>Used for frequency when the Event happens every day.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.RepeatRule.DAILY">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="WEEKLY"><!-- --></A><H3>
WEEKLY</H3>
<PRE>
public static final int <B>WEEKLY</B></PRE>
<DL>
<DD>Used for frequency when the Event happens every week.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.RepeatRule.WEEKLY">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="MONTHLY"><!-- --></A><H3>
MONTHLY</H3>
<PRE>
public static final int <B>MONTHLY</B></PRE>
<DL>
<DD>Used for frequency when the Event happens every month.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.RepeatRule.MONTHLY">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="YEARLY"><!-- --></A><H3>
YEARLY</H3>
<PRE>
public static final int <B>YEARLY</B></PRE>
<DL>
<DD>Used for frequency when the Event happens every year.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.RepeatRule.YEARLY">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="FIRST"><!-- --></A><H3>
FIRST</H3>
<PRE>
public static final int <B>FIRST</B></PRE>
<DL>
<DD>Constant for the first week of the month used with <code>WEEK_OF_MONTH</code> field.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.RepeatRule.FIRST">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="SECOND"><!-- --></A><H3>
SECOND</H3>
<PRE>
public static final int <B>SECOND</B></PRE>
<DL>
<DD>Constant for the second week of the month used with <code>WEEK_OF_MONTH</code> field.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.RepeatRule.SECOND">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="THIRD"><!-- --></A><H3>
THIRD</H3>
<PRE>
public static final int <B>THIRD</B></PRE>
<DL>
<DD>Constant for the third week of the month used with <code>WEEK_OF_MONTH</code> field.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.RepeatRule.THIRD">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="FOURTH"><!-- --></A><H3>
FOURTH</H3>
<PRE>
public static final int <B>FOURTH</B></PRE>
<DL>
<DD>Constant for the fourth week of the month used with <code>WEEK_OF_MONTH</code> field.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.RepeatRule.FOURTH">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="FIFTH"><!-- --></A><H3>
FIFTH</H3>
<PRE>
public static final int <B>FIFTH</B></PRE>
<DL>
<DD>Constant for the fifth week of the month used with <code>WEEK_OF_MONTH</code> field.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.RepeatRule.FIFTH">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="LAST"><!-- --></A><H3>
LAST</H3>
<PRE>
public static final int <B>LAST</B></PRE>
<DL>
<DD>Constant for the last week of the month used with <code>WEEK_OF_MONTH</code> field.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.RepeatRule.LAST">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="SECONDLAST"><!-- --></A><H3>
SECONDLAST</H3>
<PRE>
public static final int <B>SECONDLAST</B></PRE>
<DL>
<DD>Constant for the second to last week of the month used with <code>WEEK_OF_MONTH</code> field.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.RepeatRule.SECONDLAST">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="THIRDLAST"><!-- --></A><H3>
THIRDLAST</H3>
<PRE>
public static final int <B>THIRDLAST</B></PRE>
<DL>
<DD>Constant for the third to last week of the month used with <code>WEEK_OF_MONTH</code> field.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.RepeatRule.THIRDLAST">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="FOURTHLAST"><!-- --></A><H3>
FOURTHLAST</H3>
<PRE>
public static final int <B>FOURTHLAST</B></PRE>
<DL>
<DD>Constant for the fourth to last week of the month used with <code>WEEK_OF_MONTH</code> field.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.RepeatRule.FOURTHLAST">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="FIFTHLAST"><!-- --></A><H3>
FIFTHLAST</H3>
<PRE>
public static final int <B>FIFTHLAST</B></PRE>
<DL>
<DD>Constant for the fifth to last week of the month used with <code>WEEK_OF_MONTH</code> field.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.RepeatRule.FIFTHLAST">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="SATURDAY"><!-- --></A><H3>
SATURDAY</H3>
<PRE>
public static final int <B>SATURDAY</B></PRE>
<DL>
<DD>Constant for the day of week Saturday used with <code>DAY_IN_WEEK</code> field.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.RepeatRule.SATURDAY">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="FRIDAY"><!-- --></A><H3>
FRIDAY</H3>
<PRE>
public static final int <B>FRIDAY</B></PRE>
<DL>
<DD>Constant for the day of week Friday used with <code>DAY_IN_WEEK</code> field.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.RepeatRule.FRIDAY">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="THURSDAY"><!-- --></A><H3>
THURSDAY</H3>
<PRE>
public static final int <B>THURSDAY</B></PRE>
<DL>
<DD>Constant for the day of week Thursday used with <code>DAY_IN_WEEK</code> field.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.RepeatRule.THURSDAY">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="WEDNESDAY"><!-- --></A><H3>
WEDNESDAY</H3>
<PRE>
public static final int <B>WEDNESDAY</B></PRE>
<DL>
<DD>Constant for the day of week Wednesday used with <code>DAY_IN_WEEK</code> field.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.RepeatRule.WEDNESDAY">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="TUESDAY"><!-- --></A><H3>
TUESDAY</H3>
<PRE>
public static final int <B>TUESDAY</B></PRE>
<DL>
<DD>Constant for the day of week Tuesday used with <code>DAY_IN_WEEK</code> field.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.RepeatRule.TUESDAY">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="MONDAY"><!-- --></A><H3>
MONDAY</H3>
<PRE>
public static final int <B>MONDAY</B></PRE>
<DL>
<DD>Constant for the day of week Monday used with <code>DAY_IN_WEEK</code> field.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.RepeatRule.MONDAY">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="SUNDAY"><!-- --></A><H3>
SUNDAY</H3>
<PRE>
public static final int <B>SUNDAY</B></PRE>
<DL>
<DD>Constant for the day of week Sunday used with <code>DAY_IN_WEEK</code> field.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.RepeatRule.SUNDAY">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="JANUARY"><!-- --></A><H3>
JANUARY</H3>
<PRE>
public static final int <B>JANUARY</B></PRE>
<DL>
<DD>Constant for the month of January used with <code>MONTH_IN_YEAR</code> field.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.RepeatRule.JANUARY">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="FEBRUARY"><!-- --></A><H3>
FEBRUARY</H3>
<PRE>
public static final int <B>FEBRUARY</B></PRE>
<DL>
<DD>Constant for the month of February used with <code>MONTH_IN_YEAR</code> field.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.RepeatRule.FEBRUARY">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="MARCH"><!-- --></A><H3>
MARCH</H3>
<PRE>
public static final int <B>MARCH</B></PRE>
<DL>
<DD>Constant for the month of March used with <code>MONTH_IN_YEAR</code> field.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.RepeatRule.MARCH">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="APRIL"><!-- --></A><H3>
APRIL</H3>
<PRE>
public static final int <B>APRIL</B></PRE>
<DL>
<DD>Constant for the month of April used with <code>MONTH_IN_YEAR</code> field.
<P>
<DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -