jasp.vbs
Class vbdate

java.lang.Object
  |
  +--jasp.vbs.vbdate

public class vbdate
extends java.lang.Object

The class vbdate contains a number that represents a date between January 1, 100 and December 31, 9999.


Constructor Summary
vbdate(double datev)
          Constructs a vbdate object and initializes it to represent the date and time indicated by the argument datev.
vbdate(java.lang.String date)
          Constructs a vbdate object and initializes it to represent the specified date/time string.
 
Method Summary
 double dblValue()
          Returns the double value since 1900 represented by this Java Date object.
 java.util.Date getDate()
          Returns Java Date object.
 double getValue()
          Returns the number of milliseconds since 1900 represented by this Java Date object.
 java.lang.String toString()
          Returns a string representation of a Java Date object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

vbdate

public vbdate(double datev)
Constructs a vbdate object and initializes it to represent the date and time indicated by the argument datev.
Parameters:
datev - the double value since 1900.

vbdate

public vbdate(java.lang.String date)
Constructs a vbdate object and initializes it to represent the specified date/time string.
Parameters:
date - a string representation of the date, #yy/mm/dd# ...
Method Detail

getValue

public double getValue()
Returns the number of milliseconds since 1900 represented by this Java Date object.

dblValue

public double dblValue()
Returns the double value since 1900 represented by this Java Date object.

toString

public java.lang.String toString()
Returns a string representation of a Java Date object.
Overrides:
toString in class java.lang.Object

getDate

public java.util.Date getDate()
Returns Java Date object.