2004.04.29


com.jdc.type
Class Timestamp

java.lang.Object
  |
  +--com.jdc.lang.Object
        |
        +--com.jdc.type.Timestamp

public class Timestamp
extends Object

Author:
jdamon To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments

Field Summary
 
Fields inherited from class com.jdc.lang.Object
string
 
Constructor Summary
Timestamp(Date date)
           
Timestamp(int date)
           
Timestamp(long millis)
           
Timestamp(Timestamp timestamp)
           
 
Method Summary
static Timestamp getCurrent()
          Returns a Date representing this Timestamp object.
 int intValue()
          Returns a Date representing this Timestamp object.
 boolean isValue()
          Returns a Date representing this Timestamp object.
 Date toDate()
          Returns a Date representing this Timestamp object.
 Timestamp toDatestamp()
          Returns a Date as a Timestamp representing this Timestamp object.
 String toString()
          Returns a String representing this Timestamp object.
 Timestamp toTimestamp()
          Returns a String representing this Timestamp object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Timestamp

public Timestamp(int date)
Parameters:
date -

Timestamp

public Timestamp(long millis)

Timestamp

public Timestamp(Timestamp timestamp)

Timestamp

public Timestamp(Date date)
Method Detail

getCurrent

public static Timestamp getCurrent()
Returns a Date representing this Timestamp object.

Returns:
A Date representing this Timestamp object.

isValue

public boolean isValue()
Returns a Date representing this Timestamp object.

Returns:
A Date representing this Timestamp object.

intValue

public int intValue()
Returns a Date representing this Timestamp object.

Returns:
A Date representing this Timestamp object.

toDate

public Date toDate()
Returns a Date representing this Timestamp object.

Returns:
A Date representing this Timestamp object.

toDatestamp

public Timestamp toDatestamp()
Returns a Date as a Timestamp representing this Timestamp object.

Returns:
A Date representing this Timestamp object.

toTimestamp

public Timestamp toTimestamp()
Returns a String representing this Timestamp object.

Returns:
A String representing this Timestamp object.

toString

public String toString()
Returns a String representing this Timestamp object.

Overrides:
toString in class Object
Returns:
A String representing this Timestamp object.

2004.04.29



Copyright © 2004 J. Damon & Co.; All Rights Reserved WorldWide.