Click or drag to resize
Galactic API

CalendarUtilityGetCalendar Method

Gets a calendar from the provider.

Namespace:  Galactic.Calendar
Assembly:  Galactic.Calendar (in Galactic.Calendar.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax
public abstract Calendar GetCalendar(
	string name,
	DateTime startDate,
	DateTime endDate
)

Parameters

name
Type: SystemString
The name of the calendar to retrieve.
startDate
Type: SystemDateTime
Events starting on or after this date will be included in the list returned.
endDate
Type: SystemDateTime
Events starting on or before this date will be included in the list returned.

Return Value

Type: Calendar
The calendar with the supplied name, or null if a calendar of that name does not exist or could not be retrieved.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if an name that is empty, null, or full of whitespace is provided.
See Also