Property | Type | Description | |
---|---|---|---|
AdvanceToNextDayOfWeekIfNecessary | DateTimeOffset? | ||
CreateCalendarTime | DateTimeOffset | ||
IsSameDay | bool |
Method | Description | |
---|---|---|
ComputeFirstFireTimeUtc ( ICalendar calendar ) : DateTimeOffset? |
This method should not be used by the Quartz client. Called by the scheduler at the time a ITrigger is first added to the scheduler, in order to have the ITrigger compute its first fire time, based on any associated calendar. After this method has been called, ITrigger.GetNextFireTimeUtc should return a valid answer. |
|
DailyTimeIntervalTriggerImpl ( ) : System |
Create a IDailyTimeIntervalTrigger with no settings.
|
|
DailyTimeIntervalTriggerImpl ( string name, DateTimeOffset startTimeUtc, DateTimeOffset endTimeUtc, TimeOfDay startTimeOfDayUtc, TimeOfDay endTimeOfDayUtc, IntervalUnit intervalUnit, int repeatInterval ) : System |
Create a IDailyTimeIntervalTrigger that will occur at the given time, and repeat at the given interval until the given end time.
|
|
DailyTimeIntervalTriggerImpl ( string name, TimeOfDay startTimeOfDayUtc, TimeOfDay endTimeOfDayUtc, IntervalUnit intervalUnit, int repeatInterval ) : System |
Create a IDailyTimeIntervalTrigger that will occur immediately, and repeat at the given interval.
|
|
DailyTimeIntervalTriggerImpl ( string name, string group, DateTimeOffset startTimeUtc, DateTimeOffset endTimeUtc, TimeOfDay startTimeOfDayUtc, TimeOfDay endTimeOfDayUtc, IntervalUnit intervalUnit, int repeatInterval ) : System |
Create a IDailyTimeIntervalTrigger that will occur at the given time, and repeat at the given interval until the given end time.
|
|
DailyTimeIntervalTriggerImpl ( string name, string group, TimeOfDay startTimeOfDayUtc, TimeOfDay endTimeOfDayUtc, IntervalUnit intervalUnit, int repeatInterval ) : System |
Create a IDailyTimeIntervalTrigger that will occur immediately, and repeat at the given interval.
|
|
DailyTimeIntervalTriggerImpl ( string name, string group, string jobName, string jobGroup, DateTimeOffset startTimeUtc, DateTimeOffset endTimeUtc, TimeOfDay startTimeOfDayUtc, TimeOfDay endTimeOfDayUtc, IntervalUnit intervalUnit, int repeatInterval ) : System |
Create a IDailyTimeIntervalTrigger that will occur at the given time, fire the identified job and repeat at the given interval until the given end time.
|
|
GetFireTimeAfter ( DateTimeOffset afterTime ) : DateTimeOffset? |
Returns the next time at which the IDailyTimeIntervalTrigger will fire, after the given time. If the trigger will not fire after the given time,
|
|
GetMayFireAgain ( ) : bool |
Determines whether or not the IDailyTimeIntervalTrigger will occur again.
|
|
GetNextFireTimeUtc ( ) : DateTimeOffset? |
Returns the next time at which the ITrigger is scheduled to fire. If the trigger will not fire again, The value returned is not guaranteed to be valid until after the ITrigger has been added to the scheduler. |
|
GetPreviousFireTimeUtc ( ) : DateTimeOffset? |
Returns the previous time at which the ICalendarIntervalTrigger fired. If the trigger has not yet fired,
|
|
GetScheduleBuilder ( ) : IScheduleBuilder |
Get a IScheduleBuilder that is configured to produce a schedule identical to this trigger's schedule.
|
|
SetNextFireTimeUtc ( DateTimeOffset value ) : void |
Set the next time at which the IDailyTimeIntervalTrigger should fire. This method should not be invoked by client code. |
|
SetPreviousFireTimeUtc ( DateTimeOffset previousFireTimeUtc ) : void |
Set the previous time at which the IDailyTimeIntervalTrigger fired. This method should not be invoked by client code. |
|
Triggered ( ICalendar calendar ) : void |
Called when the scheduler has decided to 'fire' the trigger (execute the associated job), in order to give the trigger a chance to update itself for its next triggering (if any).
|
|
UpdateAfterMisfire ( ICalendar cal ) : void |
Updates the ICalendarIntervalTrigger's state based on the MisfireInstruction.XXX that was selected when the IDailyTimeIntervalTrigger was created. If the misfire instruction is set to MisfireInstruction.SmartPolicy, then the following scheme will be used:
|
|
UpdateWithNewCalendar ( ICalendar calendar, System.TimeSpan misfireThreshold ) : void |
|
|
Validate ( ) : void |
Validates whether the properties of the IJobDetail are valid for submission into a IScheduler.
|
Method | Description | |
---|---|---|
ValidateMisfireInstruction ( int misfireInstruction ) : bool |
Method | Description | |
---|---|---|
AdvanceToNextDayOfWeekIfNecessary ( DateTimeOffset fireTime, bool forceToAdvanceNextDay ) : DateTimeOffset? |
Given fireTime time determine if it is on a valid day of week. If so, simply return it unaltered, if not, advance to the next valid week day, and set the time of day to the start time of day.
|
|
CreateCalendarTime ( DateTimeOffset dateTime ) : DateTimeOffset | ||
IsSameDay ( DateTimeOffset d1, DateTimeOffset d2 ) : bool |
public ComputeFirstFireTimeUtc ( ICalendar calendar ) : DateTimeOffset? | ||
calendar | ICalendar | |
return | DateTimeOffset? |
public DailyTimeIntervalTriggerImpl ( ) : System | ||
return | System |
public DailyTimeIntervalTriggerImpl ( string name, DateTimeOffset startTimeUtc, DateTimeOffset endTimeUtc, TimeOfDay startTimeOfDayUtc, TimeOfDay endTimeOfDayUtc, IntervalUnit intervalUnit, int repeatInterval ) : System | ||
name | string | |
startTimeUtc | DateTimeOffset | A |
endTimeUtc | DateTimeOffset | A |
startTimeOfDayUtc | TimeOfDay | The |
endTimeOfDayUtc | TimeOfDay | The |
intervalUnit | IntervalUnit | The repeat interval unit. The only intervals that are valid for this type of trigger are
/// |
repeatInterval | int | The number of milliseconds to pause between the repeat firing. |
return | System |
public DailyTimeIntervalTriggerImpl ( string name, TimeOfDay startTimeOfDayUtc, TimeOfDay endTimeOfDayUtc, IntervalUnit intervalUnit, int repeatInterval ) : System | ||
name | string | |
startTimeOfDayUtc | TimeOfDay | The |
endTimeOfDayUtc | TimeOfDay | The |
intervalUnit | IntervalUnit | The repeat interval unit. The only intervals that are valid for this type of trigger are
/// |
repeatInterval | int | |
return | System |
public DailyTimeIntervalTriggerImpl ( string name, string group, DateTimeOffset startTimeUtc, DateTimeOffset endTimeUtc, TimeOfDay startTimeOfDayUtc, TimeOfDay endTimeOfDayUtc, IntervalUnit intervalUnit, int repeatInterval ) : System | ||
name | string | |
group | string | |
startTimeUtc | DateTimeOffset | A |
endTimeUtc | DateTimeOffset | A |
startTimeOfDayUtc | TimeOfDay | The |
endTimeOfDayUtc | TimeOfDay | The |
intervalUnit | IntervalUnit | The repeat interval unit. The only intervals that are valid for this type of trigger are
/// |
repeatInterval | int | The number of milliseconds to pause between the repeat firing. |
return | System |
public DailyTimeIntervalTriggerImpl ( string name, string group, TimeOfDay startTimeOfDayUtc, TimeOfDay endTimeOfDayUtc, IntervalUnit intervalUnit, int repeatInterval ) : System | ||
name | string | |
group | string | |
startTimeOfDayUtc | TimeOfDay | The |
endTimeOfDayUtc | TimeOfDay | The |
intervalUnit | IntervalUnit | The repeat interval unit. The only intervals that are valid for this type of trigger are
/// |
repeatInterval | int | |
return | System |
public DailyTimeIntervalTriggerImpl ( string name, string group, string jobName, string jobGroup, DateTimeOffset startTimeUtc, DateTimeOffset endTimeUtc, TimeOfDay startTimeOfDayUtc, TimeOfDay endTimeOfDayUtc, IntervalUnit intervalUnit, int repeatInterval ) : System | ||
name | string | |
group | string | |
jobName | string | |
jobGroup | string | |
startTimeUtc | DateTimeOffset | A |
endTimeUtc | DateTimeOffset | A |
startTimeOfDayUtc | TimeOfDay | The |
endTimeOfDayUtc | TimeOfDay | The |
intervalUnit | IntervalUnit | The repeat interval unit. The only intervals that are valid for this type of trigger are
/// |
repeatInterval | int | The number of milliseconds to pause between the repeat firing. |
return | System |
public GetFireTimeAfter ( DateTimeOffset afterTime ) : DateTimeOffset? | ||
afterTime | DateTimeOffset | |
return | DateTimeOffset? |
public GetNextFireTimeUtc ( ) : DateTimeOffset? | ||
return | DateTimeOffset? |
public GetPreviousFireTimeUtc ( ) : DateTimeOffset? | ||
return | DateTimeOffset? |
public GetScheduleBuilder ( ) : IScheduleBuilder | ||
return | IScheduleBuilder |
public SetNextFireTimeUtc ( DateTimeOffset value ) : void | ||
value | DateTimeOffset | |
return | void |
public SetPreviousFireTimeUtc ( DateTimeOffset previousFireTimeUtc ) : void | ||
previousFireTimeUtc | DateTimeOffset | |
return | void |
public Triggered ( ICalendar calendar ) : void | ||
calendar | ICalendar | |
return | void |
public UpdateAfterMisfire ( ICalendar cal ) : void | ||
cal | ICalendar | |
return | void |
public UpdateWithNewCalendar ( ICalendar calendar, System.TimeSpan misfireThreshold ) : void | ||
calendar | ICalendar | |
misfireThreshold | System.TimeSpan | |
return | void |
protected ValidateMisfireInstruction ( int misfireInstruction ) : bool | ||
misfireInstruction | int | |
return | bool |