AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Java quartz scheduler time zone2/17/2024 Return the original value if timeStamp is Public long getNextIncludedTime(long timeStamp)Ĭalendar after the given time. Specified by: isTimeIncluded in interface Calendar See Also: Calendar.isTimeIncluded(long) The implementation of BaseCalendar simply calls the baseĬalendars isTimeIncluded() method if base calendar is set. Public boolean isTimeIncluded(long timeStamp)Ĭheck if date/time represented by timeStamp is included. Parameters: timeZone - The time zone to use for this Calendar, null Public void setTimeZone( TimeZone timeZone) Sets the time zone for which this Calendar will be resolved. Returns: This Calendar's timezone, null if Calendar should Public TimeZone getTimeZone() Returns the time zone for which this Calendar will be Specified by: setDescription in interface Calendar Public void setDescription( String description) Specified by: getDescription in interface Calendar Returns: null if no description was set. Specified by: getBaseCalendar in interface Calendar Specified by: setBaseCalendar in interface Calendar Public void setBaseCalendar( Calendar baseCalendar) Public Object clone() Specified by: clone in interface Calendar Overrides: clone in class Object If TimeZone.getDefault() should be used Method Detail TimeZone timeZone) Parameters: timeZone - The time zone to use for this Calendar, null Public BaseCalendar( Calendar baseCalendar, Public BaseCalendar( TimeZone timeZone) Parameters: timeZone - The time zone to use for this Calendar, null Public BaseCalendar( Calendar baseCalendar) ObjectĮquals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Sets the time zone for which this Calendar will be resolved. The description has no meaning to Quartz. Useful for remembering/displaying the purpose of the calendar, though Set a description for the Calendar instance - may be Set a new base calendar or remove the existing one Returns the time zone for which this Calendar will beĬheck if date/time represented by timeStamp is included. Returns the start of the given day as a Calendar. GetStartOfDayJavaCalendar(long timeInMillis) Returns the end of the given day Calendar.ĭetermine the next time (in milliseconds) that is 'included' by the GetEndOfDayJavaCalendar(long timeInMillis) Return the description given to the Calendar instance by Calendarīuild a Calendar for the given timeStamp. Holidays as well you may define a Weekl圜alendar instance to be the baseĪuthor: Juergen Donnerstag, James House See Also: Calendar,įields inherited from interface org.quartz. ForĮxample to exclude weekends you may use Weekl圜alendar. BaseĬalendar allow you to chain (stack) as much calendars as you may need. Regarded as base functionality is the treatment of base calendars. This implementation of the Calendar may be used (you don't have to) as aīase class for more sophisticated one's. Public class BaseCalendar extends Object implements Calendar, Serializable, Cloneable SUMMARY: NESTED | FIELD | CONSTR | METHODĬlass BaseCalendar .BaseCalendar All Implemented Interfaces: Serializable, Cloneable, Calendar Direct Known Subclasses: AnnualCalendar, CronCalendar, Dail圜alendar, Holida圜alendar, Monthl圜alendar, Weekl圜alendar servlet.BaseCalendar (Quartz Enterprise Job Scheduler 2.2.3 API) I found some links that talked about doing this in spring framework. I could not find any examples pertaining to doing this in quartz used in a web application. The cron expression can help me do "6 AM every Monday" part, but not the EST part. I want to initiate a job at a particular time - 6 AM EST every Monday.
0 Comments
Read More
Leave a Reply. |