Packagecore
Classpublic class version
Inheritanceversion Inheritance Object



Public Properties
 PropertyDefined By
  build : uint
Indicates the build value of this version.
version
  major : uint
Indicates the major value of this version.
version
  minor : uint
Indicates the minor value of this version.
version
  revision : uint
Indicates the revision value of this version.
version
Public Methods
 MethodDefined By
  
version(major:uint = 0, minor:uint = 0, build:uint = 0, revision:uint = 0)
Creates a new version instance.
version
  
toString(fields:int = 0, separator:String = .):String
Returns a string representation of the object.
version
  
valueOf():Number
Returns the primitive value of the object.
version
Property Detail
buildproperty
build:uint

Indicates the build value of this version.


Implementation
    public function get build():uint
    public function set build(value:uint):void
majorproperty 
major:uint

Indicates the major value of this version.


Implementation
    public function get major():uint
    public function set major(value:uint):void
minorproperty 
minor:uint

Indicates the minor value of this version.


Implementation
    public function get minor():uint
    public function set minor(value:uint):void
revisionproperty 
revision:uint

Indicates the revision value of this version.


Implementation
    public function get revision():uint
    public function set revision(value:uint):void
Constructor Detail
version()Constructor
public function version(major:uint = 0, minor:uint = 0, build:uint = 0, revision:uint = 0)

Creates a new version instance.

Parameters
major:uint (default = 0)
 
minor:uint (default = 0)
 
build:uint (default = 0)
 
revision:uint (default = 0)
Method Detail
toString()method
public function toString(fields:int = 0, separator:String = .):String

Returns a string representation of the object.

Parameters

fields:int (default = 0)
 
separator:String (default = .)

Returns
String — a string representation of the object.
valueOf()method 
public function valueOf():Number

Returns the primitive value of the object.

Returns
Number — the primitive value of the object.