MonobjcMonobjc Documented Class Library
TimeZoneWithNameData Method (aTimeZoneName, data)
NamespacesMonobjc.FoundationNSTimeZoneTimeZoneWithNameData(NSString, NSData)

Returns the time zone with a given ID whose data has been initialized using given data,

Original signature is '+ (id)timeZoneWithName:(NSString *)aTimeZoneName data:(NSData *)data'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSTimeZone TimeZoneWithNameData(
	NSString aTimeZoneName,
	NSData data
)
Public Shared Function TimeZoneWithNameData ( _
	aTimeZoneName As NSString, _
	data As NSData _
) As NSTimeZone
public:
static NSTimeZone^ TimeZoneWithNameData(
	NSString^ aTimeZoneName, 
	NSData^ data
)
Parameters
aTimeZoneName (NSString)
The ID for the time zone.
data (NSData)
The data from the time-zone files located at /usr/share/zoneinfo.
Return Value
The time zone with the ID aTimeZoneName whose data has been initialized using the contents of data.
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)