descriptionWithCalendarFormat method
NSString?
descriptionWithCalendarFormat(
- NSString? format, {
- NSTimeZone? timeZone,
- ObjCObjectBase? locale,
descriptionWithCalendarFormat:timeZone:locale:
Implementation
objc.NSString? descriptionWithCalendarFormat(
objc.NSString? format, {
NSTimeZone? timeZone,
objc.ObjCObjectBase? locale,
}) {
objc.checkOsVersionInternal(
'NSDate.descriptionWithCalendarFormat:timeZone:locale:',
iOS: (false, (2, 0, 0)),
macOS: (false, (10, 4, 0)),
);
final _ret = _objc_msgSend_11spmsz(
this.ref.pointer,
_sel_descriptionWithCalendarFormat_timeZone_locale_,
format?.ref.pointer ?? ffi.nullptr,
timeZone?.ref.pointer ?? ffi.nullptr,
locale?.ref.pointer ?? ffi.nullptr,
);
return _ret.address == 0
? null
: objc.NSString.castFromPointer(_ret, retain: true, release: true);
}