public class VersionInfo extends Object
Modifier and Type | Field and Description |
---|---|
DateFormat |
DATE_FORMAT_NUMBER
The short date format (e.g. 2012/01/13).
|
DateFormat |
DATE_FORMAT_TEXT
The text date format (e.g.
|
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 final DateFormat DATE_FORMAT_TEXT
public final DateFormat DATE_FORMAT_NUMBER
public 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 © 2013. All Rights Reserved.