JCas
v0.3.1

cas.util
Class ExtendedDate

java.lang.Object
  extended byjava.util.Date
      extended bycas.util.ExtendedDate
All Implemented Interfaces:
Cloneable, Comparable, Serializable

public class ExtendedDate
extends Date

Special date format.

Version:
1.0
Author:
Ralph Schuster
See Also:
Serialized Form

Field Summary
static int DATE
          Identifier for displaying date only.
static int DATE_TIME
          Identifier for displaying date and time.
static long MAX_DATE
           
static int TIME
          Identifier for displaying time only.
 
Constructor Summary
ExtendedDate()
          Creates new ExtendedDate
ExtendedDate(int format)
           
ExtendedDate(long date)
           
ExtendedDate(long date, int format)
           
 
Method Summary
 void setFormat(int format)
           
 String toString()
           
 
Methods inherited from class java.util.Date
after, before, clone, compareTo, compareTo, equals, getDate, getDay, getHours, getMinutes, getMonth, getSeconds, getTime, getTimezoneOffset, getYear, hashCode, parse, setDate, setHours, setMinutes, setMonth, setSeconds, setTime, setYear, toGMTString, toLocaleString, UTC
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

DATE

public static final int DATE
Identifier for displaying date only.

See Also:
Constant Field Values

DATE_TIME

public static final int DATE_TIME
Identifier for displaying date and time.

See Also:
Constant Field Values

TIME

public static final int TIME
Identifier for displaying time only.

See Also:
Constant Field Values

MAX_DATE

public static final long MAX_DATE
See Also:
Constant Field Values
Constructor Detail

ExtendedDate

public ExtendedDate()
Creates new ExtendedDate


ExtendedDate

public ExtendedDate(long date)

ExtendedDate

public ExtendedDate(int format)

ExtendedDate

public ExtendedDate(long date,
                    int format)
Method Detail

setFormat

public void setFormat(int format)

toString

public String toString()

JCas
v0.3.1