MonobjcMonobjc Documented Class Library
NSTimeZone Constructor (aName, data)
NamespacesMonobjc.FoundationNSTimeZoneNSTimeZone(NSString, NSData)

Initializes a time zone with a given ID and time zone data.

Original signature is '- (id)initWithName:(NSString *)aName data:(NSData *)data'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public NSTimeZone(
	NSString aName,
	NSData data
)
Public Sub New ( _
	aName As NSString, _
	data As NSData _
)
public:
NSTimeZone(
	NSString^ aName, 
	NSData^ data
)
Parameters
aName (NSString)
The ID for the time zone.
data (NSData)
The data from the time-zone files located at /usr/share/zoneinfo.
Return Value
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)