miSim

misim
Class Version

java.lang.Object
  |
  +--misim.Version

public class Version
extends java.lang.Object

Machine managed class that provides version and build information in various formats for miSim to read and display.


Constructor Summary
Version()
           
 
Method Summary
static java.lang.String getBuildDate()
          Return the build date as a string.
static java.lang.String getVersion()
          Return the current version number as a string, for example "1.6.0".
static int getVersionInt()
          Return the current version number as an integer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Version

public Version()
Method Detail

getVersionInt

public static int getVersionInt()
Return the current version number as an integer. Versions are handled as Major, Minor and point release, e.g. 1.6.0. This method concatenates these digits into a single integer, so version 1.6.0 becomes 160.
Returns:
The version as an integer

getVersion

public static java.lang.String getVersion()
Return the current version number as a string, for example "1.6.0".
Returns:
The version as a String

getBuildDate

public static java.lang.String getBuildDate()
Return the build date as a string.
Returns:
The build date as a String

miSim