EACTimeImpl

This class represents CVC EAC Time objects. It only models year, month and day. Only limited sanity checks of the inputted date value are performed.

Constructors

this
this(SysTime time, ASN1Tag t)
Undocumented in source.
this
this(string t_spec, ASN1Tag t)
Undocumented in source.
this
this(uint y, uint m, uint d, ASN1Tag t)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

addMonths
void addMonths(uint months)

Add the specified number of months to this.

addYears
void addYears(uint years)

Add the specified number of years to this.

cmp
int cmp(EACTimeImpl other)

Compare this to another EACTime object.

decodeFrom
void decodeFrom(BERDecoder source)
Undocumented in source. Be warned that the author may not have intended to support it.
encodeInto
void encodeInto(DEREncoder der)
Undocumented in source. Be warned that the author may not have intended to support it.
getDay
uint getDay()

Get the day value of this objects.

getMonth
uint getMonth()

Get the month value of this objects.

getYear
uint getYear()

Get the year value of this objects.

opCmp
int opCmp(EACTimeImpl t2)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(EACTimeImpl t2)
Undocumented in source. Be warned that the author may not have intended to support it.
readableString
string readableString()

Get a this objects value as a readable formatted string.

setTo
void setTo(string time_str)

Set this' value by a human readable string

timeIsSet
bool timeIsSet()

Find out whether this object's values have been set.

toString
string toString()

Return a string representation of the time

Inherited Members

From ASN1Object

encodeInto
void encodeInto(DEREncoder to)

Encode whatever this object is into to

decodeFrom
void decodeFrom(BERDecoder from)

Decode whatever this object is from from

Meta