public class PackedDate extends Object
| Constructor and Description |
|---|
PackedDate(Date time)
Base constructor from a java.util.date object.
|
PackedDate(Date time,
Locale locale)
Base constructor from a java.util.date object.
|
PackedDate(String time) |
public PackedDate(String time)
public PackedDate(Date time)
time - a date object representing the time of interest.public PackedDate(Date time, Locale locale)
time - a date object representing the time of interest.locale - an appropriate Locale for producing an ASN.1 GeneralizedTime value.public Date getDate() throws ParseException
ParseException - if the date string cannot be parsed.public byte[] getEncoding()
Copyright © 2015–2016 The veraPDF Consortium. All rights reserved.