ILibDurationFmt class

Constructors

ILibDurationFmt(ILibDurationFmtOptions options)
options Set the Options for formatting

Properties

hashCode int
The hash code for this object.
no setterinherited
length String?
getter/setter pair
locale String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style String?
getter/setter pair
useNative bool?
getter/setter pair

Methods

format(ILibDateOptions date) String
Formats a particular date instance according to the settings of this formatter object
getLength() String
Return the length that was used to construct this duration formatter object. If the length was not given as parameter to the constructor, this method returns the default length. Valid values are "short", "medium", "long", and "full".
getLocale() String
Return the locale that was used to construct this duration formatter object. If the locale was not given as parameter to the constructor, this method returns the default locale of the system.
getStyle() String
Return the style that was used to construct this duration formatter object. Valid values are "text" or "clock".
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJsonString() String
A string representation of parameters to call functions of iLib library properly
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited