| Modifier and Type | Field and Description |
|---|---|
| public static final String | DEVELOPMENT
default version value for development version |
| public static final long | NOTIME
default time value for development version |
| public static final String | SIMPLE_DATE_FORMAT
format used by build script to set time_text |
| private static String | text
set by build script |
| private static long | time
time in seconds-since-... |
| private static String | time_text
Time text set by build script using SIMPLE_DATE_FORMAT. |
| public static final String | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static String | |
| public static long | |
| public static String | |
| public static void |
| DEVELOPMENT | back to summary |
|---|---|
| public static final String DEVELOPMENT default version value for development version | |
| NOTIME | back to summary |
|---|---|
| public static final long NOTIME default time value for development version | |
| SIMPLE_DATE_FORMAT | back to summary |
|---|---|
| public static final String SIMPLE_DATE_FORMAT format used by build script to set time_text | |
| text | back to summary |
|---|---|
| private static String text set by build script | |
| time | back to summary |
|---|---|
| private static long time time in seconds-since-... format, used by programmatic clients. (if DEVELOPMENT version, NOTIME) | |
| time_text | back to summary |
|---|---|
| private static String time_text Time text set by build script using SIMPLE_DATE_FORMAT. (if DEVELOPMENT version, invalid) | |
| UNREPLACED_TEXT | back to summary |
|---|---|
| public static final String UNREPLACED_TEXT | |
| UNREPLACED_TIME_TEXT | back to summary |
|---|---|
| public static final String UNREPLACED_TIME_TEXT | |
| Version | back to summary |
|---|---|
| public Version() | |
| getText | back to summary |
|---|---|
| public static String getText() | |
| getTime | back to summary |
|---|---|
| public static long getTime() | |
| getTimeText | back to summary |
|---|---|
| public static String getTimeText() | |
| main | back to summary |
|---|---|
| public static void main(String[] args) Test whether the version is as specified by any first argument. Emit text to System.err on failure
| |