Packagecom.esri.ags.webmap.supportClasses
Classpublic class PopUpFieldFormat
InheritancePopUpFieldFormat Inheritance Object

Since : ArcGIS API for Flex 2.3

PopUpFieldFormat is used to format dates and numbers.

See also

PopUpFieldInfo


Public Properties
 PropertyDefined 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
Public Constants
 ConstantDefined 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
Property Detail
dateFormatproperty
public var dateFormat:String = shortDateShortTime

Can be set to either one of the PopUpFieldFormat constants or a DateFormatter formatString like YYYY-MM-DD.

See also

precisionproperty 
public var precision:int = -1

Number of decimal places to show. You can disable precision by setting it to -1.

useThousandsSeparatorproperty 
public var useThousandsSeparator:Boolean = true

Whether numbers should have a thousands separator.

useUTCproperty 
public var useUTC:Boolean = false

Whether dates should be formatted using the local or the UTC date and time.

Constant Detail
DAY_SHORT_MONTH_YEARConstant
public static const DAY_SHORT_MONTH_YEAR:String = dayShortMonthYear

For example, 21 Dec 1997

LONG_DATEConstant 
public static const LONG_DATE:String = longDate

For example, Sunday, December 21, 1997

LONG_MONTH_DAY_YEARConstant 
public static const LONG_MONTH_DAY_YEAR:String = longMonthDayYear

For example, December 21, 1997

LONG_MONTH_YEARConstant 
public static const LONG_MONTH_YEAR:String = longMonthYear

For example, December 1997

SHORT_DATEConstant 
public static const SHORT_DATE:String = shortDate

For example, 12/21/1997

SHORT_DATE_SHORT_TIMEConstant 
public static const SHORT_DATE_SHORT_TIME:String = shortDateShortTime

For example, 12/21/1997 6:00 PM

SHORT_DATE_SHORT_TIME24Constant 
public static const SHORT_DATE_SHORT_TIME24:String = shortDateShortTime24

For example, 12/21/1997 18:00

SHORT_MONTH_YEARConstant 
public static const SHORT_MONTH_YEAR:String = shortMonthYear

For example, Dec 1997

YEARConstant 
public static const YEAR:String = year

For example, 1997