public class VersionInfo extends Object
Constructor and Description |
---|
VersionInfo() |
Modifier and Type | Method and Description |
---|---|
static String |
getBuildDate()
Returns the build date as string (in local time zone).
|
static String |
getBuildTime()
Returns the build time as string (in local time zone).
|
static Date |
getBuildTimestamp()
Returns the build date and time.
|
protected static String |
getBuildTimestampStr()
Returns the build date and time as string in UTC time zone.
|
static String |
getInternalVersionId()
Returns the internal version identifier.
|
protected static String |
getJavaVersionStr()
Returns the Java VM version information as string.
|
static String |
getMajorVersion()
Returns the major version.
|
protected static String |
getOsVersionStr()
Returns the OS version information as string.
|
static String |
getVersion()
Returns the product version.
|
public static String getVersion()
public static String getMajorVersion()
public static String getInternalVersionId()
public static Date getBuildTimestamp()
Date
.public static String getBuildDate()
public static String getBuildTime()
protected static String getBuildTimestampStr()
protected static String getJavaVersionStr()
protected static String getOsVersionStr()