| Package | com.esri.ags.webmap.supportClasses |
| Class | public class PopUpFieldFormat |
| Inheritance | PopUpFieldFormat Object |
| Since : | ArcGIS API for Flex 2.3 |
See also
| Property | Defined By | ||
|---|---|---|---|
| dateFormat : String = shortDateShortTime
Can be set to either one of the PopUpFieldFormat constants or a DateFormatter formatString like YYYY-MM-DD. | PopUpFieldFormat | ||
| precision : int = -1
Number of decimal places to show. | PopUpFieldFormat | ||
| useThousandsSeparator : Boolean = true
Whether numbers should have a thousands separator. | PopUpFieldFormat | ||
| useUTC : Boolean = false
Whether dates should be formatted using the local or the UTC date and time. | PopUpFieldFormat | ||
| Constant | Defined By | ||
|---|---|---|---|
| DAY_SHORT_MONTH_YEAR : String = dayShortMonthYear [static]
For example, 21 Dec 1997
| PopUpFieldFormat | ||
| LONG_DATE : String = longDate [static]
For example, Sunday, December 21, 1997
| PopUpFieldFormat | ||
| LONG_MONTH_DAY_YEAR : String = longMonthDayYear [static]
For example, December 21, 1997
| PopUpFieldFormat | ||
| LONG_MONTH_YEAR : String = longMonthYear [static]
For example, December 1997
| PopUpFieldFormat | ||
| SHORT_DATE : String = shortDate [static]
For example, 12/21/1997
| PopUpFieldFormat | ||
| SHORT_DATE_SHORT_TIME : String = shortDateShortTime [static]
For example, 12/21/1997 6:00 PM
| PopUpFieldFormat | ||
| SHORT_DATE_SHORT_TIME24 : String = shortDateShortTime24 [static]
For example, 12/21/1997 18:00
| PopUpFieldFormat | ||
| SHORT_MONTH_YEAR : String = shortMonthYear [static]
For example, Dec 1997
| PopUpFieldFormat | ||
| YEAR : String = year [static]
For example, 1997
| PopUpFieldFormat | ||
| dateFormat | property |
public var dateFormat:String = shortDateShortTimeCan be set to either one of the PopUpFieldFormat constants or a DateFormatter formatString like YYYY-MM-DD.
See also
| precision | property |
public var precision:int = -1
Number of decimal places to show.
You can disable precision by setting it to -1.
| useThousandsSeparator | property |
public var useThousandsSeparator:Boolean = trueWhether numbers should have a thousands separator.
| useUTC | property |
public var useUTC:Boolean = falseWhether dates should be formatted using the local or the UTC date and time.
| DAY_SHORT_MONTH_YEAR | Constant |
public static const DAY_SHORT_MONTH_YEAR:String = dayShortMonthYearFor example, 21 Dec 1997
| LONG_DATE | Constant |
public static const LONG_DATE:String = longDateFor example, Sunday, December 21, 1997
| LONG_MONTH_DAY_YEAR | Constant |
public static const LONG_MONTH_DAY_YEAR:String = longMonthDayYearFor example, December 21, 1997
| LONG_MONTH_YEAR | Constant |
public static const LONG_MONTH_YEAR:String = longMonthYearFor example, December 1997
| SHORT_DATE | Constant |
public static const SHORT_DATE:String = shortDateFor example, 12/21/1997
| SHORT_DATE_SHORT_TIME | Constant |
public static const SHORT_DATE_SHORT_TIME:String = shortDateShortTimeFor example, 12/21/1997 6:00 PM
| SHORT_DATE_SHORT_TIME24 | Constant |
public static const SHORT_DATE_SHORT_TIME24:String = shortDateShortTime24For example, 12/21/1997 18:00
| SHORT_MONTH_YEAR | Constant |
public static const SHORT_MONTH_YEAR:String = shortMonthYearFor example, Dec 1997
| YEAR | Constant |
public static const YEAR:String = yearFor example, 1997