# class Version

#### package com.turner.top

Exposes versioning and date information about the TOP build

See:

TOP.Version

### Static variables

###

`staticbuildDateISO:String = DateTools.format(CompileTime.buildDate(), "%F")`

The ISO date which the artifact was compiled

###

`staticbuildTime:Float = CompileTime.buildDate().getTime()`

Timestamp (in milliseconds) of the date which the artifact was compiled

###

`staticbuildTimeStr:String = CompileTime.buildDateString()`

The ISO date and time which the artifact was compiled

###

`staticmajor:Int = 1`

Represents significant incompatible changes

###

`staticminor:Int = 2`

Represents significant compatible changes

###

`staticprerelease:String = null`

Indicates that the version is unstable

###

`staticrevision:Int = 1`

Represents relatively minor changes

###

`staticsha:String = StringTools.replace(CompileTime.buildGitCommitSha(), "'", "")`

Git checksum hash

### Static methods

###

`statictoNightlyString ():String`

Returns:

The ISO build data with git sha in following format:
`buildDateISO-sha`

###

`statictoString ():String`

Returns:

TOP version in following format:
`major.minor.revision-prerelease-buildTime-sha`

###

`statictoVersionString ():String`

Returns:

TOP version in following format:
`major.minor.revision-prerelease`