01: // DateAttribute.java
02: // $Id: DateAttribute.java,v 1.4 2000/08/16 21:37:55 ylafon Exp $
03: // (c) COPYRIGHT MIT and INRIA, 1996.
04: // Please first read the full copyright statement in file COPYRIGHT.html
05:
06: package org.w3c.tools.resources.upgrade;
07:
08: import java.util.Date;
09:
10: public class DateAttribute extends LongAttribute {
11:
12: public DateAttribute(String name, Long def, Integer flags) {
13: // ugly hack, the constructor already knows that we are using Long ;)
14: super (name, def, flags);
15: this .type = "java.util.Date";
16: }
17: }
|