public class Accuracy extends ASN1Object
Modifier and Type | Field and Description |
---|---|
protected static int |
MAX_MICROS |
protected static int |
MAX_MILLIS |
protected static int |
MIN_MICROS |
protected static int |
MIN_MILLIS |
Modifier | Constructor and Description |
---|---|
protected |
Accuracy() |
|
Accuracy(ASN1Integer seconds,
ASN1Integer millis,
ASN1Integer micros) |
Modifier and Type | Method and Description |
---|---|
static Accuracy |
getInstance(java.lang.Object o) |
ASN1Integer |
getMicros() |
ASN1Integer |
getMillis() |
ASN1Integer |
getSeconds() |
ASN1Primitive |
toASN1Primitive()
Accuracy ::= SEQUENCE {
seconds INTEGER OPTIONAL,
millis [0] INTEGER (1..999) OPTIONAL,
micros [1] INTEGER (1..999) OPTIONAL
}
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
protected static final int MIN_MILLIS
protected static final int MAX_MILLIS
protected static final int MIN_MICROS
protected static final int MAX_MICROS
protected Accuracy()
public Accuracy(ASN1Integer seconds, ASN1Integer millis, ASN1Integer micros)
public static Accuracy getInstance(java.lang.Object o)
public ASN1Integer getSeconds()
public ASN1Integer getMillis()
public ASN1Integer getMicros()
public ASN1Primitive toASN1Primitive()
Accuracy ::= SEQUENCE { seconds INTEGER OPTIONAL, millis [0] INTEGER (1..999) OPTIONAL, micros [1] INTEGER (1..999) OPTIONAL }
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object