TibrvDate
Class
Declaration
class com.tibco.tibrv.TibrvDate
extends java.util.Date
Purpose
Represent date and time.
This object relies on the method java.util.Date.toString()
to convert a value to a string.
Remarks
This class has no destroy()
method. Instead, the Java garbage collector reclaims storage automatically.
Constant |
Description |
Maximum date (in seconds) that this class can represent. The value is 549,755,813,887 (the maximum value of a 40-bit signed integer), which is approximately 17,432 years after the year 1970. |
|
Minimum date (in seconds) that this class can represent. The value is -549,755,813,888 (the minimum value of a 40-bit signed integer), which is approximately 17,432 years before the year 1970. |
Method |
Description |
Extract the modifying value (in nanoseconds) of a date object. |
|
Extract the partial value (in whole seconds) of a date object. |
|
Inherited Methods |
|
|
Representations
In all three representations, zero denotes the epoch, 12:00 midnight, January 1st, 1970. Range limits in this table denote the extreme value on either side of that center. Bold type indicates the primary unit of measurement for each representation.
Representation |
Details |
|
|
Milliseconds as a 64-bit signed integer. |
|
range in years |
|
|
range in seconds |
|
|
range in milliseconds |
|
|
Seconds as a 64-bit signed integer, plus nanoseconds as a 32-bit unsigned integer. However, values are restricted to the range and granularity supported by Rendezvous wire format. Forcing larger or finer values into this representation causes an exception. |
||
range in years |
|
|
range in seconds |
|
|
restricted range in seconds |
|
|
restricted range in milliseconds |
|
|
Rendezvous wire format |
Seconds as a 40-bit signed integer, plus microseconds as a 24-bit unsigned integer. |
|
range in years |
|
|
range in seconds |
|
|
range in milliseconds |
|