DateBuilderNextGivenSecondDate Method

Quartz.NET 3.0 API Documentation
Returns a date that is rounded to the next even multiple of the given minute.

Namespace:  Quartz
Assembly:  Quartz (in Quartz.dll) Version: 3.0.0
Syntax

C#
public static DateTimeOffset NextGivenSecondDate(
	Nullable<DateTimeOffset> date,
	int secondBase
)

Parameters

date
Type: SystemNullableDateTimeOffset
the Date to round, if the current time will
secondBase
Type: SystemInt32
the base-second to set the time on

Return Value

Type: DateTimeOffset
the new rounded date
Remarks

The rules for calculating the second are the same as those for calculating the minute in the method NextGivenMinuteDate(NullableDateTimeOffset, Int32).
See Also

Reference