Method | Description | |
---|---|---|
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 ( |
||
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.
|
Method | Description | |
---|---|---|
HolidayCalendar ( SerializationInfo info, StreamingContext context ) : System |
Serialization constructor.
|
Method | Description | |
---|---|---|
GetObjectData ( SerializationInfo info, StreamingContext context ) : void |
public AddExcludedDate ( System.DateTime excludedDateUtc ) : void | ||
excludedDateUtc | System.DateTime | |
return | void |
public GetNextIncludedTimeUtc ( DateTimeOffset timeUtc ) : DateTimeOffset | ||
timeUtc | DateTimeOffset | |
return | DateTimeOffset |
public HolidayCalendar ( ICalendar baseCalendar ) : System | ||
baseCalendar | ICalendar | The base calendar. |
return | System |
protected HolidayCalendar ( SerializationInfo info, StreamingContext context ) : System | ||
info | SerializationInfo | |
context | StreamingContext | |
return | System |
public IsTimeIncluded ( DateTimeOffset timeStampUtc ) : bool | ||
timeStampUtc | DateTimeOffset | |
return | bool |
public RemoveExcludedDate ( System.DateTime dateToRemoveUtc ) : void | ||
dateToRemoveUtc | System.DateTime | The date to remove. |
return | void |