MonobjcMonobjc Documented Class Library
DescriptionWithCalendarFormatTimeZoneLocale Method (formatString, aTimeZone, localeDictionary)
NamespacesMonobjc.FoundationNSDateDescriptionWithCalendarFormatTimeZoneLocale(NSString, NSTimeZone, Id)

Returns a string representation of the receiver, formatted as specified by given conversion specifiers.

Original signature is '- (NSString *)descriptionWithCalendarFormat:(NSString *)formatString timeZone:(NSTimeZone *)aTimeZone locale:(id)localeDictionary'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSString DescriptionWithCalendarFormatTimeZoneLocale(
	NSString formatString,
	NSTimeZone aTimeZone,
	Id localeDictionary
Public Overridable Function DescriptionWithCalendarFormatTimeZoneLocale ( _
	formatString As NSString, _
	aTimeZone As NSTimeZone, _
	localeDictionary As Id _
) As NSString
virtual NSString^ DescriptionWithCalendarFormatTimeZoneLocale(
	NSString^ formatString, 
	NSTimeZone^ aTimeZone, 
	Id^ localeDictionary
formatString (NSString)
The format for the returned string (see Converting Dates to Strings for a discussion of how to create the format string). Pass nil to use the default format string, “%Y-%m-%d %H:%M:%S %z” (this conforms to the international format YYYY-MM-DD HH:MM:SS ±HHMM.)
aTimeZone (NSTimeZone)
The time zone in which to represent the receiver. Pass nil to use the default time zone—specific to the current locale.
localeDictionary (Id)
An NSDictionary object containing locale data. To use the user's preferences, you can use [[NSUserDefaults standardUserDefaults] dictionaryRepresentation].
Return Value
A string representation of the receiver, formatted as specified by the given conversion specifiers.
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)