|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jniwrapper.Parameter com.jniwrapper.AbstractFloat com.jniwrapper.DoubleFloat com.jniwrapper.win32.com.types.Date
The class Date type is a representation of DATE type. Zero time is December 30, 1899, midnight. Days are presented by the integer part of the number, hours are represented as an absolute value of the fractional part of the number. For more details about DATE type, see WinAPI documentation. This implementation has methods for conversion from and to java.util.Date type.
Field Summary |
Fields inherited from class com.jniwrapper.DoubleFloat |
DOUBLE_LENGTH |
Fields inherited from class com.jniwrapper.Parameter |
LICENSE_TYPE, V |
Constructor Summary | |
Date()
|
|
Date(java.util.Date date)
Creates Date from java date. |
|
Date(double d)
Creates Date from double value. |
|
Date(DoubleFloat t)
Creates Date from DoubleFloat value. |
|
Date(FloatParameter srcVal)
Creates Date from FloatParameter value. |
Method Summary | |
java.lang.Object |
clone()
|
void |
fromDate(java.util.Date date)
Converts date from java.util.Date. |
java.util.Date |
toDate()
Converts this Date to java.util.Date type. |
java.lang.String |
toString()
|
Methods inherited from class com.jniwrapper.DoubleFloat |
|
Methods inherited from class com.jniwrapper.AbstractFloat |
getDebugInfo, getLength, getValue, read, setValue, write |
Methods inherited from class com.jniwrapper.Parameter |
a, acceptIOPerformer, asReturnValue, b, dataBufferAssigned, equals, getAlignedLength, getAlignmentRequirement, getDataBuffer, getDataBufferOffset, hashCode, indent, pop, push, read, read, setDataBuffer, toByteArray, write |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Date()
public Date(FloatParameter srcVal)
srcVal
- public Date(java.util.Date date)
date
- public Date(double d)
d
- public Date(DoubleFloat t)
t
- Method Detail |
public java.lang.Object clone()
public java.util.Date toDate()
public void fromDate(java.util.Date date)
date
- is a date to be assigned.public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |