| Modifier and Type | Field and Description |
|---|---|
| private byte[] |
| Access | Constructor and Description |
|---|---|
| public | |
| public | PackedDate(Date
a date object representing the time of interest. time)Base constructor from a java.util.date object. |
| public | PackedDate(Date
a date object representing the time of interest. time, Locale an appropriate Locale for producing an ASN.1 GeneralizedTime value. locale)Base constructor from a java.util.date object. |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private byte[] | |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public Date | Returns: the resulting datereturn the time as a date based on whatever a 2 digit year will return. |
| public byte[] | |
| public int | |
| public String |
| time | back to summary |
|---|---|
| private byte[] time | |
| PackedDate | back to summary |
|---|---|
| public PackedDate(String time) | |
| PackedDate | back to summary |
|---|---|
| public PackedDate(Date time) Base constructor from a java.util.date object.
| |
| PackedDate | back to summary |
|---|---|
| public PackedDate(Date time, Locale locale) Base constructor from a java.util.date object. You may need to use this constructor if the default locale doesn't use a Gregorian calender so that the PackedDate produced is compatible with other ASN.1 implementations. | |
| PackedDate | back to summary |
|---|---|
| pack-priv PackedDate(byte[] bytes) | |
| convert | back to summary |
|---|---|
| private byte[] convert(String sTime) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getDate | back to summary |
|---|---|
| public Date getDate() throws ParseException return the time as a date based on whatever a 2 digit year will return. For standardised processing use getAdjustedDate().
| |
| getEncoding | back to summary |
|---|---|
| public byte[] getEncoding() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |