public class Version
extends java.lang.Object
| Constructor and Description |
|---|
Version() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getBuildDate()
Get the build date.
|
static java.lang.String |
getBuildNumber()
Get the full name of the version, e.g., "1.0B15".
|
static int |
getMajorVersion()
Get the major version number, i.e., the
x in version
x.y. |
static int |
getMinorVersion()
Get the minor version number, i.e., the
y in version
x.y. |
static java.lang.String |
getVersionName()
Get the full name of the version, e.g., "1.0B15".
|
static void |
main(java.lang.String[] argv)
Print the full version number and licensing information to the console.
|
public static java.lang.String getVersionName()
public static java.lang.String getBuildNumber()
public static java.lang.String getBuildDate()
public static int getMajorVersion()
x in version
x.y.-1 for a development
buildpublic static int getMinorVersion()
y in version
x.y.-1 for a development
buildpublic static void main(java.lang.String[] argv)
argv - command-line arguments (ignored)