C# 클래스 Quartz.Impl.Calendar.HolidayCalendar

상속: Quartz.Impl.Calendar.BaseCalendar, ICalendar
파일 보기 프로젝트 열기: quartznet/quartznet 1 사용 예제들

공개 메소드들

메소드 설명
AddExcludedDate ( System.DateTime excludedDateUtc ) : void

Add the given Date to the list of excluded days. Only the month, day and year of the returned dates are significant.

Clone ( ) : ICalendar

Creates a new object that is a copy of the current instance.

Equals ( HolidayCalendar obj ) : bool
Equals ( object obj ) : bool
GetHashCode ( ) : int
GetNextIncludedTimeUtc ( DateTimeOffset timeUtc ) : DateTimeOffset

Determine the next time (in milliseconds) that is 'included' by the Calendar after the given time.

Note that this Calendar is only has full-day precision.

HolidayCalendar ( ) : System

Initializes a new instance of the HolidayCalendar class.

HolidayCalendar ( ICalendar baseCalendar ) : System

Initializes a new instance of the HolidayCalendar class.

IsTimeIncluded ( DateTimeOffset timeStampUtc ) : bool

Determine whether the given time (in milliseconds) is 'included' by the Calendar.

Note that this Calendar is only has full-day precision.

RemoveExcludedDate ( System.DateTime dateToRemoveUtc ) : void

Removes the excluded date.

보호된 메소드들

메소드 설명
HolidayCalendar ( SerializationInfo info, StreamingContext context ) : System

Serialization constructor.

비공개 메소드들

메소드 설명
GetObjectData ( SerializationInfo info, StreamingContext context ) : void

메소드 상세

AddExcludedDate() 공개 메소드

Add the given Date to the list of excluded days. Only the month, day and year of the returned dates are significant.
public AddExcludedDate ( System.DateTime excludedDateUtc ) : void
excludedDateUtc System.DateTime
리턴 void

Clone() 공개 메소드

Creates a new object that is a copy of the current instance.
public Clone ( ) : ICalendar
리턴 ICalendar

Equals() 공개 메소드

public Equals ( HolidayCalendar obj ) : bool
obj HolidayCalendar
리턴 bool

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

GetNextIncludedTimeUtc() 공개 메소드

Determine the next time (in milliseconds) that is 'included' by the Calendar after the given time.

Note that this Calendar is only has full-day precision.

public GetNextIncludedTimeUtc ( DateTimeOffset timeUtc ) : DateTimeOffset
timeUtc DateTimeOffset
리턴 DateTimeOffset

HolidayCalendar() 공개 메소드

Initializes a new instance of the HolidayCalendar class.
public HolidayCalendar ( ) : System
리턴 System

HolidayCalendar() 공개 메소드

Initializes a new instance of the HolidayCalendar class.
public HolidayCalendar ( ICalendar baseCalendar ) : System
baseCalendar ICalendar The base calendar.
리턴 System

HolidayCalendar() 보호된 메소드

Serialization constructor.
protected HolidayCalendar ( SerializationInfo info, StreamingContext context ) : System
info SerializationInfo
context StreamingContext
리턴 System

IsTimeIncluded() 공개 메소드

Determine whether the given time (in milliseconds) is 'included' by the Calendar.

Note that this Calendar is only has full-day precision.

public IsTimeIncluded ( DateTimeOffset timeStampUtc ) : bool
timeStampUtc DateTimeOffset
리턴 bool

RemoveExcludedDate() 공개 메소드

Removes the excluded date.
public RemoveExcludedDate ( System.DateTime dateToRemoveUtc ) : void
dateToRemoveUtc System.DateTime The date to remove.
리턴 void