public class VersionInfo extends Object
Modifier and Type | Field and Description |
---|---|
static DateFormat |
DATE_FORMAT_NUMBER
The short date format (e.g. 2012/01/13).
|
static DateFormat |
DATE_FORMAT_TEXT
The text date format (e.g.
|
static DateFormat |
DATE_FORMAT_TIMESTAMP
The short date format (e.g. 2012/01/13).
|
Modifier and Type | Method and Description |
---|---|
Date |
getDate()
Get the release date.
|
static VersionInfo |
getInstance()
Get the version info object.
|
String |
getNumberDateString()
Get the release date as short number string
(format=yyyy/MM/dd, e.g. 2012/01/13).
|
String |
getTextDateString()
Get the release date as long text string
(format=MMMM d, yyyy, e.g.
|
String |
getTimestamp()
Get the release date as timestamp string
(format=yyyyMMdd.HHmmss, e.g. 20120113.174803).
|
String |
getVersion()
Get the version string.
|
public static final DateFormat DATE_FORMAT_TEXT
public static final DateFormat DATE_FORMAT_NUMBER
public static final DateFormat DATE_FORMAT_TIMESTAMP
public static VersionInfo getInstance()
public String getVersion()
public Date getDate()
public String getTextDateString()
public String getNumberDateString()
public String getTimestamp()
Copyright © 2012. All Rights Reserved.