Property | Type | Description | |
---|---|---|---|
NEGATIVE | string | ||
QUANTITY | string | ||
SIGN | string | ||
UNIT | string |
Method | Description | |
---|---|---|
BasicTimeFormat ( ) : System | ||
Format ( Duration duration ) : string | ||
SetFuturePrefix ( string futurePrefix ) : |
||
SetFutureSuffix ( string futureSuffix ) : |
||
SetPastPrefix ( string pastPrefix ) : |
||
SetPastSuffix ( string pastSuffix ) : |
||
SetPattern ( string pattern ) : |
Method | Description | |
---|---|---|
ApplyPattern ( string sign, string unit, double quantity ) : string | ||
Decorate ( string sign, string result ) : string | ||
FormatNumber ( double quantity ) : string | ||
GetGramaticallyCorrectName ( Duration d, double quantity ) : string | ||
GetQuantity ( Duration duration ) : double | ||
GetSign ( Duration d ) : string |
public SetFuturePrefix ( string futurePrefix ) : |
||
futurePrefix | string | |
return |
public SetFutureSuffix ( string futureSuffix ) : |
||
futureSuffix | string | |
return |
public SetPastPrefix ( string pastPrefix ) : |
||
pastPrefix | string | |
return |
public SetPastSuffix ( string pastSuffix ) : |
||
pastSuffix | string | |
return |
public SetPattern ( string pattern ) : |
||
pattern | string | |
return |