schedule.html
来自「基于mondrian 开源框架进行OLAP多维分析」· HTML 代码 · 共 596 行 · 第 1/3 页
HTML
596 行
int period)</PRE><DL><DD>Creates a calendar which fires every day.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>begin</CODE> - open lower bound, may be null, must be UTC<DD><CODE>end</CODE> - closed upper bound, may be null, must be UTC<DD><CODE>tz</CODE> - timezone<DD><CODE>timeOfDay</CODE> - time at which to fire<DD><CODE>period</CODE> - causes the schedule to fire every <code>period</code> days. If <code>period</code> is greater than 1, the cycle starts at the begin point of the schedule, or at the epoch (1 January, 1970) if <code>begin</code> is not specified.<DT><B>Pre-condition:</B></DT> <DD>tz != null, period > 0</DD><DT><B>Post-condition:</B></DT> <DD>return != null</DD></DL></DD></DL><HR><A NAME="createWeekly(java.util.Date, java.util.Date, java.util.TimeZone, java.sql.Time, int, int)"><!-- --></A><H3>createWeekly</H3><PRE>public static <A HREF="../../mondrian/util/Schedule.html" title="class in mondrian.util">Schedule</A> <B>createWeekly</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Date.html" title="class or interface in java.util">Date</A> begin, <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Date.html" title="class or interface in java.util">Date</A> end, <A HREF="http://java.sun.com/javase/6/docs/api/java/util/TimeZone.html" title="class or interface in java.util">TimeZone</A> tz, <A HREF="http://java.sun.com/javase/6/docs/api/java/sql/Time.html" title="class or interface in java.sql">Time</A> timeOfDay, int period, int daysOfWeekBitmap)</PRE><DL><DD>Creates a calendar which fires on particular days each week.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>tz</CODE> - timezone<DD><CODE>daysOfWeekBitmap</CODE> - a bitmap of day values, for example <code>(1 << <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Calendar.html#TUESDAY" title="class or interface in java.util"><CODE>Calendar.TUESDAY</CODE></A>) | (1 << <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Calendar.html#THURSDAY" title="class or interface in java.util"><CODE>Calendar.THURSDAY</CODE></A>)</code> to fire on Tuesdays and Thursdays<DD><CODE>timeOfDay</CODE> - time at which to fire<DD><CODE>begin</CODE> - open lower bound, may be null<DD><CODE>end</CODE> - closed upper bound, may be null<DD><CODE>period</CODE> - causes the schedule to be active every <code>period</code> weeks. If <code>period</code> is greater than 1, the cycle starts at the begin point of the schedule, or at the epoch (1 January, 1970) if <code>begin</code> is not specified.<DT><B>Pre-condition:</B></DT> <DD>tz != null, period > 0</DD><DT><B>Post-condition:</B></DT> <DD>return != null</DD></DL></DD></DL><HR><A NAME="createMonthlyByDay(java.util.Date, java.util.Date, java.util.TimeZone, java.sql.Time, int, int)"><!-- --></A><H3>createMonthlyByDay</H3><PRE>public static <A HREF="../../mondrian/util/Schedule.html" title="class in mondrian.util">Schedule</A> <B>createMonthlyByDay</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Date.html" title="class or interface in java.util">Date</A> begin, <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Date.html" title="class or interface in java.util">Date</A> end, <A HREF="http://java.sun.com/javase/6/docs/api/java/util/TimeZone.html" title="class or interface in java.util">TimeZone</A> tz, <A HREF="http://java.sun.com/javase/6/docs/api/java/sql/Time.html" title="class or interface in java.sql">Time</A> timeOfDay, int period, int daysOfMonthBitmap)</PRE><DL><DD>Creates a calendar which fires on particular days of each month. For example,<blockquote> <pre>createMonthlyByDay( null, null, TimeZone.getTimeZone("PST"), 1, (1 << 12) | (1 << 14) | (1 << <A HREF="../../mondrian/util/Schedule.html#LAST_DAY_OF_MONTH"><CODE>LAST_DAY_OF_MONTH</CODE></A>))</pre> </blockquote> creates a schedule which fires on the 12th, 14th and last day of the month.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>begin</CODE> - open lower bound, may be null<DD><CODE>end</CODE> - closed upper bound, may be null<DD><CODE>tz</CODE> - timezone<DD><CODE>daysOfMonthBitmap</CODE> - a bitmap of day values, may include <A HREF="../../mondrian/util/Schedule.html#LAST_DAY_OF_MONTH"><CODE>LAST_DAY_OF_MONTH</CODE></A><DD><CODE>timeOfDay</CODE> - time at which to fire<DD><CODE>period</CODE> - causes the schedule to be active every <code>period</code> months. If <code>period</code> is greater than 1, the cycle starts at the begin point of the schedule, or at the epoch (1 January, 1970) if <code>begin</code> is not specified.<DT><B>Pre-condition:</B></DT> <DD>tz != null, period > 0</DD><DT><B>Post-condition:</B></DT> <DD>return != null</DD></DL></DD></DL><HR><A NAME="createMonthlyByWeek(java.util.Date, java.util.Date, java.util.TimeZone, java.sql.Time, int, int, int)"><!-- --></A><H3>createMonthlyByWeek</H3><PRE>public static <A HREF="../../mondrian/util/Schedule.html" title="class in mondrian.util">Schedule</A> <B>createMonthlyByWeek</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Date.html" title="class or interface in java.util">Date</A> begin, <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Date.html" title="class or interface in java.util">Date</A> end, <A HREF="http://java.sun.com/javase/6/docs/api/java/util/TimeZone.html" title="class or interface in java.util">TimeZone</A> tz, <A HREF="http://java.sun.com/javase/6/docs/api/java/sql/Time.html" title="class or interface in java.sql">Time</A> timeOfDay, int period, int daysOfWeekBitmap, int weeksOfMonthBitmap)</PRE><DL><DD>Creates a calendar which fires on particular days of particular weeks of a month. For example,<blockquote> <pre>createMonthlyByWeek( null, null, TimeZone.getTimeZone("PST"), (1 << Calendar.TUESDAY) | (1 << Calendar.THURSDAY), (1 << 2) | (1 << <A HREF="../../mondrian/util/Schedule.html#LAST_WEEK_OF_MONTH"><CODE>LAST_WEEK_OF_MONTH</CODE></A>)</pre> </blockquote> creates a schedule which fires on the 2nd and last Tuesday and Thursday of the month.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>begin</CODE> - open lower bound, may be null<DD><CODE>end</CODE> - closed upper bound, may be null<DD><CODE>tz</CODE> - timezone<DD><CODE>daysOfWeekBitmap</CODE> - a bitmap of day values, for example <code>(1 << Calendar.TUESDAY) | (1 << Calendar.THURSDAY)</code><DD><CODE>weeksOfMonthBitmap</CODE> - a bitmap of week values (may include <A HREF="../../mondrian/util/Schedule.html#LAST_WEEK_OF_MONTH"><CODE>LAST_WEEK_OF_MONTH</CODE></A><DD><CODE>timeOfDay</CODE> - time at which to fire<DD><CODE>period</CODE> - causes the schedule be active every <code>period</code> months. If <code>period</code> is greater than 1, the cycle starts at the begin point of the schedule, or at the epoch (1 January, 1970) if <code>begin</code> is not specified.<DT><B>Pre-condition:</B></DT> <DD>tz != null, period > 0</DD><DT><B>Post-condition:</B></DT> <DD>return != null</DD></DL></DD></DL><HR><A NAME="nextOccurrence(java.util.Date, boolean)"><!-- --></A><H3>nextOccurrence</H3><PRE>public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Date.html" title="class or interface in java.util">Date</A> <B>nextOccurrence</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Date.html" title="class or interface in java.util">Date</A> after, boolean strict)</PRE><DL><DD>Returns the next occurrence of this schedule after a given date. If <code>after</code> is null, returns the first occurrence. If there are no further occurrences, returns null.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>after</CODE> - if not null, returns the first occurrence after this point in time; if null, returns the first occurrence ever.<DD><CODE>strict</CODE> - If <code>after</code> is an occurrence, <code>strict</code> determines whether this method returns it, or the next occurrence. If <code>strict</code> is true, the value returned is strictly greater than <code>after</code>.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <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><a href="http://sourceforge.net/projects/mondrian"><img src="http://sourceforge.net/sflogo.php?group_id=35302&type=1" width="88" height="31" border="0" alt="SourceForge.net_Logo"></a></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../mondrian/util/PrimeFinderTest.html" title="class in mondrian.util"><B>PREV CLASS</B></A> <A HREF="../../mondrian/util/ScheduleTest.html" title="class in mondrian.util"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../index.html?mondrian/util/Schedule.html" target="_top"><B>FRAMES</B></A> <A HREF="Schedule.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../allclasses-noframe.html"><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><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?