msv/msv-20060821-Datatype.java
Matt Wringe fcb1f4818f auto-import msv-1.2-0.1.20050722.3jpp.1 on branch devel from
msv-1.2-0.1.20050722.3jpp.1.src.rpm
2007-03-12 14:54:43 +00:00

33 lines
903 B
Java

/*
* @(#)$Id: msv-20060821-Datatype.java,v 1.1 2007/03/12 14:54:43 mwringe Exp $
*
* Copyright 2001 Sun Microsystems, Inc. All Rights Reserved.
*
* This software is the proprietary information of Sun Microsystems, Inc.
* Use is subject to license terms.
*
*/
package com.sun.msv.datatype.xsd;
/**
* "date" type.
*
* type of the value object is {@link com.sun.msv.datatype.xsd.datetime.IDateTimeValueType}.
* See http://www.w3.org/TR/xmlschema-2/#dateTime for the spec
*
* @author <a href="mailto:kohsuke.kawaguchi@eng.sun.com">Kohsuke KAWAGUCHI</a>
*/
public class DateType extends DateTimeBaseType {
public static final DateType theInstance = new DateType();
private DateType() { super("date"); }
protected final String getFormat() {
return "%Y-%M-%D%z";
}
// serialization support
private static final long serialVersionUID = 1;
}