MonobjcMonobjc Documented Class Library
NSCalendar Constructor (string)
NamespacesMonobjc.FoundationNSCalendarNSCalendar(NSString)

Initializes a newly-allocated NSCalendar object for the calendar specified by a given identifier.

Original signature is '- (id)initWithCalendarIdentifier:(NSString *)string'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public NSCalendar(
	NSString string
)
Public Sub New ( _
	string As NSString _
)
public:
NSCalendar(
	NSString^ string
)
Parameters
string (NSString)
The identifier for the new calendar. For valid identifiers, see NSLocale.
Return Value
The initialized calendar, or nil if the identifier is unknown (if, for example, it is either an unrecognized string or the calendar is not supported by the current version of the operating system).
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)