Adding JMCR-Stable version
[Benchmarks_CSolver.git] / JMCR-Stable / real-world application / jigsaw / src / org / w3c / tools / resources / upgrade / DateAttribute.java
diff --git a/JMCR-Stable/real-world application/jigsaw/src/org/w3c/tools/resources/upgrade/DateAttribute.java b/JMCR-Stable/real-world application/jigsaw/src/org/w3c/tools/resources/upgrade/DateAttribute.java
new file mode 100644 (file)
index 0000000..4c48a92
--- /dev/null
@@ -0,0 +1,17 @@
+// DateAttribute.java\r
+// $Id: DateAttribute.java,v 1.1 2010/06/15 12:22:51 smhuang Exp $\r
+// (c) COPYRIGHT MIT and INRIA, 1996.\r
+// Please first read the full copyright statement in file COPYRIGHT.html\r
+\r
+package org.w3c.tools.resources.upgrade ;\r
+\r
+import java.util.Date;\r
+\r
+public class DateAttribute extends LongAttribute {\r
+\r
+    public DateAttribute(String name, Long def, Integer flags) {\r
+       // ugly hack, the constructor already knows that we are using Long ;)\r
+       super ( name, def, flags);\r
+       this.type = "java.util.Date";\r
+    }\r
+}\r