C# Class FluentScheduler.TimeUnit

Unit of time.
显示文件 Open project: fluentscheduler/FluentScheduler

Public Methods

Method Description
Days ( ) : DayUnit

Sets the interval to days.

Hours ( ) : HourUnit

Sets the interval to hours.

Minutes ( ) : MinuteUnit

Sets the interval to minutes.

Months ( ) : MonthUnit

Sets the interval to months.

Seconds ( ) : SecondUnit

Sets the interval to seconds.

Weekdays ( ) : WeekdayUnit

Sets the interval to weekdays.

Weeks ( ) : WeekUnit

Sets the interval to weeks.

Years ( ) : YearUnit

Sets the interval to years.

Private Methods

Method Description
TimeUnit ( Schedule schedule, int duration )

Method Details

Days() public method

Sets the interval to days.
public Days ( ) : DayUnit
return DayUnit

Hours() public method

Sets the interval to hours.
public Hours ( ) : HourUnit
return HourUnit

Minutes() public method

Sets the interval to minutes.
public Minutes ( ) : MinuteUnit
return MinuteUnit

Months() public method

Sets the interval to months.
public Months ( ) : MonthUnit
return MonthUnit

Seconds() public method

Sets the interval to seconds.
public Seconds ( ) : SecondUnit
return SecondUnit

Weekdays() public method

Sets the interval to weekdays.
public Weekdays ( ) : WeekdayUnit
return WeekdayUnit

Weeks() public method

Sets the interval to weeks.
public Weeks ( ) : WeekUnit
return WeekUnit

Years() public method

Sets the interval to years.
public Years ( ) : YearUnit
return YearUnit