ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
com.adobe.solutions.rca.presentation.constant 

LocalizedDurationUnit  - AS3 Review, Commenting, and Approval

Packagecom.adobe.solutions.rca.presentation.constant
Classpublic class LocalizedDurationUnit
InheritanceLocalizedDurationUnit Inheritance DurationUnit Inheritance Object

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

This class provides utilities for localizing duration unit.



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
Public Methods
 MethodDefined By
  
The constructor for LocalizedDurationUnit class.
LocalizedDurationUnit
  
[static] This method returns an array of all localized duration units.
LocalizedDurationUnit
  
[static] This method returns localized strings for duration unit.
LocalizedDurationUnit
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Public Constants
 ConstantDefined By
Constructor Detail

LocalizedDurationUnit

()Constructor
public function LocalizedDurationUnit()

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

The constructor for LocalizedDurationUnit class.

Method Detail

getLocalizedTypeArray

()method
public static function getLocalizedTypeArray():Array

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

This method returns an array of all localized duration units.

Returns
Array — An array with all localized duration units.

getLocalizedValue

()method 
public static function getLocalizedValue(type:String):String

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

This method returns localized strings for duration unit.

Parameters

type:String — Duration unit.

Returns
String — It returns localized strings for duration unit.