|
XCMS Toolkit | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectschemajic.model.GeneralizedTimeFormat
public class GeneralizedTimeFormat
Implements ASN.1 type GeneralizedTime formatting,
which is composed of a restriced set of the characters defined
for use in values of ASN.1 type VisibleString.
Values of this type are character strings that represents a calendar date (as defined in ISO 8601), having a four-digit year, a two-digit month and a two-digit day. The calendar date is followed by a character string that represents the time of day, all formatted consistent with the requirements of ISO 8601.
| Constructor Summary | |
|---|---|
GeneralizedTimeFormat()
Constructor for GeneralizedTimeFormat. |
|
| Method Summary | |
|---|---|
java.lang.String |
format(ASN1GeneralizedTime t)
Formats a value of ASN.1 type GeneralizedTime. |
void |
format(ASN1GeneralizedTime t,
java.io.Writer w)
Formats a value of ASN.1 type GeneralizedTime. |
ASN1GeneralizedTime |
parse(java.lang.String s)
Parses a value of ASN.1 type GeneralizedTime. |
void |
parse(java.lang.String s,
ASN1GeneralizedTime t)
Parses a value of ASN.1 type GeneralizedTime. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GeneralizedTimeFormat()
GeneralizedTimeFormat.
| Method Detail |
|---|
public void format(ASN1GeneralizedTime t,
java.io.Writer w)
throws java.io.IOException
GeneralizedTime.
t - ASN.1 type GeneralizedTime valuew - a provided string writer
java.io.IOException
public java.lang.String format(ASN1GeneralizedTime t)
throws java.io.IOException
GeneralizedTime.
t - ASN.1 type GeneralizedTime value
java.io.IOException
public ASN1GeneralizedTime parse(java.lang.String s)
throws java.text.ParseException
GeneralizedTime.
GeneralizedTime
java.text.ParseException
public void parse(java.lang.String s,
ASN1GeneralizedTime t)
throws java.text.ParseException
GeneralizedTime.
s - input value to sett - ASN.1 type GeneralizedTime value
java.text.ParseException
|
XCMS Toolkit | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||