*/
public class Version {
private static final String VERSION_STRING = "@VERSION@";
- private static final String RELEASE_DATE = "@DSTAMP@";
/**
* Return the basic version string, of the form
return VERSION_STRING;
}
- /**
- * Return the date of the release / build
- */
- public static String getReleaseDate() {
- return RELEASE_DATE;
- }
-
/**
* Name of product: POI
*/
*/
public static void main(String[] args) {
System.out.println(
- "Apache " + getProduct() + " " +
- getVersion() + " (" + getReleaseDate() + ")"
+ "Apache " + getProduct() + " " + getVersion()
);
}
}