| Modifier and Type | Field and Description |
|---|---|
| pack-priv ASN1Primitive |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | Time(Date
a date object representing the time of interest. time, Locale an appropriate Locale for producing an ASN.1 GeneralizedTime value. locale)Creates a time object from a given date and locale - if the date is between 1950 and 2049 a UTCTime object is generated, otherwise a GeneralizedTime is used. |
| Modifier and Type | Method and Description |
|---|---|
| public Date | |
| public static Time | |
| public static Time | |
| public String | |
| public ASN1Primitive | toASN1Primitive()
Implements abstract org. Implements org. Produce an object suitable for an ASN1OutputStream. |
| public String |
| time | back to summary |
|---|---|
| pack-priv ASN1Primitive time | |
| Time | back to summary |
|---|---|
| public Time(ASN1Primitive time) | |
| Time | back to summary |
|---|---|
| public Time(Date time) Creates a time object from a given date - if the date is between 1950 and 2049 a UTCTime object is generated, otherwise a GeneralizedTime is used.
| |
| Time | back to summary |
|---|---|
| public Time(Date time, Locale locale) Creates a time object from a given date and locale - if the date is between 1950 and 2049 a UTCTime object is generated, otherwise a GeneralizedTime is used. You may need to use this constructor if the default locale doesn't use a Gregorian calender so that the GeneralizedTime produced is compatible with other ASN.1 implementations. | |
| getDate | back to summary |
|---|---|
| public Date getDate() | |
| getInstance | back to summary |
|---|---|
| public static Time getInstance(ASN1TaggedObject obj, boolean explicit) | |
| getInstance | back to summary |
|---|---|
| public static Time getInstance(Object obj) | |
| getTime | back to summary |
|---|---|
| public String getTime() | |
| toASN1Primitive | back to summary |
|---|---|
| public ASN1Primitive toASN1Primitive() Implements abstract org. Implements org. Produce an object suitable for an ASN1OutputStream.
Time ::= CHOICE {
utcTime UTCTime,
generalTime GeneralizedTime }
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |