📄 event.html
字号:
<DL>
<DD>
A String specifying a more complete description than the <CODE>SUMMARY</CODE> for
this Event. Data for this field is a string value. For example:
<BR>
"I phoned John on Friday to book this meeting, he better show"
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.Event.NOTE">Constant
Field Values</A></DD></DL>
</DD>
</DL>
<HR>
<A NAME="REVISION"><!-- --></A><H3>
REVISION</H3>
<PRE>
public static final int <B>REVISION</B></PRE>
<DL>
<DD>
Field specifying the last modification date and time of an Event item. If the
Event has ever been committed to an EventList, then this attribute becomes read
only. This field is set automatically on imports and commits of an Event. The
data for this field is expressed in the same long value format as
java.util.Date, which is milliseconds since the epoch (00:00:00 GMT, January 1,
1970).
<P></P>
<P>
Note that the value provided may be rounded-down by an implementation due to
platform restrictions. For example, should a native Event database only support
event date values with granularity in terms of seconds, then the provided date
value is rounded down to a date time with a full second.
</P>
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.Event.REVISION">Constant
Field Values</A></DD></DL>
</DD>
</DL>
<HR>
<A NAME="START"><!-- --></A><H3>
START</H3>
<PRE>
public static final int <B>START</B></PRE>
<DL>
<DD>
Field specifying the inclusive date and time a single Event starts. The data
for this field is expressed in the same long value format as java.util.Date,
which is milliseconds since the epoch (00:00:00 GMT, January 1, 1970).
<P></P>
<P>
If <CODE>START</CODE> and <CODE>END</CODE> are the same this event is an all
day event. If <CODE>START</CODE> is specified but <CODE>END</CODE> is not, the
event occurs only at the instance specified by <CODE>START</CODE>.
</P>
<P>
Note that the value provided may be rounded-down by an implementation due to
platform restrictions. For example, should a native Event database only support
event date values with granularity in terms of seconds, then the provided date
value is rounded down to a date time with a full second.
</P>
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../javax/microedition/pim/Event.html#END"><CODE>END</CODE></A>,
<A HREF="../../../constant-values.html#javax.microedition.pim.Event.START">Constant
Field Values</A></DD></DL>
</DD>
</DL>
<HR>
<A NAME="SUMMARY"><!-- --></A><H3>
SUMMARY</H3>
<PRE>
public static final int <B>SUMMARY</B></PRE>
<DL>
<DD>
Field specifying the summary or subject for this Event. Data for this field is
a string type. For example:
<BR>
"Meeting with John"
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.Event.SUMMARY">Constant
Field Values</A></DD></DL>
</DD>
</DL>
<HR>
<A NAME="UID"><!-- --></A><H3>
UID</H3>
<PRE>
public static final int <B>UID</B></PRE>
<DL>
<DD>
Field specifying a unique ID for an Event. This field can be used to check for
identity using <code>String.equals</code>. UID is read only if the Event has
been committed to an EventList at least once in its lifetime. The UID is not
set if the Event has never been committed to an EventList; <CODE>countValues(UID)</CODE>
returns 0 before a newly created Event object is committed to its list. The
attribute is valid for the persistent life of the Event and may be reused by
the platform once this particular Event is deleted. The data for this field is
of string type.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.Event.UID">Constant
Field Values</A></DD></DL>
</DD>
</DL>
<HR>
<A NAME="CLASS_CONFIDENTIAL"><!-- --></A><H3>
CLASS_CONFIDENTIAL</H3>
<PRE>
public static final int <B>CLASS_CONFIDENTIAL</B></PRE>
<DL>
<DD>
Constant indicating this event's class of access is confidential.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.Event.CLASS_CONFIDENTIAL">Constant
Field Values</A></DD></DL>
</DD>
</DL>
<HR>
<A NAME="CLASS_PRIVATE"><!-- --></A><H3>
CLASS_PRIVATE</H3>
<PRE>
public static final int <B>CLASS_PRIVATE</B></PRE>
<DL>
<DD>
Constant indicating this event's class of access is private.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.Event.CLASS_PRIVATE">Constant
Field Values</A></DD></DL>
</DD>
</DL>
<HR>
<A NAME="CLASS_PUBLIC"><!-- --></A><H3>
CLASS_PUBLIC</H3>
<PRE>
public static final int <B>CLASS_PUBLIC</B></PRE>
<DL>
<DD>
Constant indicating this event's class of access is public.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.Event.CLASS_PUBLIC">Constant
Field Values</A></DD></DL>
</DD>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#ccccff" CLASS="TableHeadingColor">
<TD COLSPAN="1"><FONT SIZE="+2"> <B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="getRepeat()"><!-- --></A><H3>
getRepeat</H3>
<PRE>
public <A HREF="../../../javax/microedition/pim/RepeatRule.html">RepeatRule</A> <B>getRepeat</B>()</PRE>
<DL>
<DD>
Retrieves a RepeatRule object specifying how often and when this event occurs.
This method returns a copy of the RepeatRule object associated with the Event
by the system. Modifications to the returned object must be saved back to the
Event via the <code>setRepeat</code> method if they are to be persisted with
the Event.
<P></P>
<DD>
<DL>
</DL>
<DD>
<DL>
<DT><B>Returns:</B><DD>the RepeatRule describing how often this Event occurs or <code>null</code>
if a RepeatRule has not been set.</DD></DL>
</DD>
</DL>
<HR>
<A NAME="setRepeat(javax.microedition.pim.RepeatRule)"><!-- --></A><H3>
setRepeat</H3>
<PRE>
public void <B>setRepeat</B>(<A HREF="../../../javax/microedition/pim/RepeatRule.html">RepeatRule</A> value)</PRE>
<DL>
<DD>
Sets the RepeatRule specifying how often and when this event occurs. The
RepeatRule parameter is a hint to the system indicating the repeat pattern, but
does not have to be strictly enforced in the implementation. The provided
RepeatRule object replaces any previously set RepeatRule object for the Event.
<P></P>
<DD>
<DL>
</DL>
<DD>
<DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - A RepeatRule describing how often this
Event occurs or <code>null</code> to clear any RepeatRule.</DD></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN="3" BGCOLOR="#eeeeff" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#eeeeff" CLASS="NavBarCell1">
<A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#eeeeff" CLASS="NavBarCell1">
<A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#ffffff" CLASS="NavBarCell1Rev">
<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#eeeeff" CLASS="NavBarCell1">
<A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#eeeeff" CLASS="NavBarCell1">
<A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#eeeeff" CLASS="NavBarCell1">
<A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#eeeeff" CLASS="NavBarCell1">
<A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN="3"><EM> Final Release<br>
Rev. 1.00</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../javax/microedition/pim/ContactList.html"><B>PREV
CLASS</B></A> <A HREF="../../../javax/microedition/pim/EventList.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html" TARGET="_top">
<B>FRAMES</B></A> <A HREF="Event.html" TARGET="_top"><B>NO FRAMES</B></A>
<SCRIPT> <!-- if(window==top) { document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>'); } //--></SCRIPT>
<NOSCRIPT>
<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
</NOSCRIPT>
</FONT>
</TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<font size="-1">Copyright
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -