Package org.robovm.apple.foundation
Class NSISO8601DateFormatter
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.foundation.NSFormatter
-
- org.robovm.apple.foundation.NSISO8601DateFormatter
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.ObjCProtocol
public class NSISO8601DateFormatter extends NSFormatter implements NSSecureCoding
- Since:
- Available in iOS 10.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NSISO8601DateFormatter.NSISO8601DateFormatterPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSFormatter
NSFormatter.NSFormatterPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description NSISO8601DateFormatter()
protected
NSISO8601DateFormatter(NSObject.Handle h, long handle)
protected
NSISO8601DateFormatter(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
format(NSDate date)
static java.lang.String
format(NSDate date, NSTimeZone timeZone, NSISO8601DateFormatOptions formatOptions)
NSISO8601DateFormatOptions
getFormatOptions()
NSTimeZone
getTimeZone()
NSDate
parse(java.lang.String string)
void
setFormatOptions(NSISO8601DateFormatOptions v)
void
setTimeZone(NSTimeZone v)
static boolean
supportsSecureCoding()
-
Methods inherited from class org.robovm.apple.foundation.NSFormatter
encode, init
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
NSISO8601DateFormatter
public NSISO8601DateFormatter()
-
NSISO8601DateFormatter
protected NSISO8601DateFormatter(NSObject.Handle h, long handle)
-
NSISO8601DateFormatter
protected NSISO8601DateFormatter(NSObject.SkipInit skipInit)
-
-
Method Detail
-
getTimeZone
public NSTimeZone getTimeZone()
-
setTimeZone
public void setTimeZone(NSTimeZone v)
-
getFormatOptions
public NSISO8601DateFormatOptions getFormatOptions()
-
setFormatOptions
public void setFormatOptions(NSISO8601DateFormatOptions v)
-
supportsSecureCoding
public static boolean supportsSecureCoding()
-
format
public java.lang.String format(NSDate date)
-
parse
public NSDate parse(java.lang.String string)
-
format
public static java.lang.String format(NSDate date, NSTimeZone timeZone, NSISO8601DateFormatOptions formatOptions)
-
-