01: /* Created by JReleaseInfo AntTask from Open Source Competence Group */
02: /* Creation date Sat Mar 17 15:13:34 CET 2007 */
03: package com.l2fprod.common;
04:
05: import java.util.Date;
06:
07: /**
08: * This class provides information gathered from the build environment.
09: *
10: * @author JReleaseInfo AntTask
11: */
12: public class Version {
13:
14: /** buildDate (set during build process to 1174140814898L). */
15: private static Date buildDate = new Date(1174140814898L);
16:
17: /**
18: * Get buildDate (set during build process to Sat Mar 17 15:13:34 CET 2007).
19: * @return Date buildDate
20: */
21: public static final Date getBuildDate() {
22: return buildDate;
23: }
24:
25: /** buildTimestamp (set during build process to "03/17/2007 03:13 PM"). */
26: private static String buildTimestamp = new String(
27: "03/17/2007 03:13 PM");
28:
29: /**
30: * Get buildTimestamp (set during build process to "03/17/2007 03:13 PM").
31: * @return String buildTimestamp
32: */
33: public static final String getBuildTimestamp() {
34: return buildTimestamp;
35: }
36:
37: /** year (set during build process to "2005-2007"). */
38: private static String year = new String("2005-2007");
39:
40: /**
41: * Get year (set during build process to "2005-2007").
42: * @return String year
43: */
44: public static final String getYear() {
45: return year;
46: }
47:
48: /** version (set during build process to "7.3"). */
49: private static String version = new String("7.3");
50:
51: /**
52: * Get version (set during build process to "7.3").
53: * @return String version
54: */
55: public static final String getVersion() {
56: return version;
57: }
58:
59: /** project (set during build process to "l2fprod-common"). */
60: private static String project = new String("l2fprod-common");
61:
62: /**
63: * Get project (set during build process to "l2fprod-common").
64: * @return String project
65: */
66: public static final String getProject() {
67: return project;
68: }
69:
70: }
|