org.apache.directory.shared.asn1.der
Class DERGeneralizedTime

java.lang.Object
  extended byorg.apache.directory.shared.asn1.der.DERObject
      extended byorg.apache.directory.shared.asn1.der.DERString
          extended byorg.apache.directory.shared.asn1.der.DERGeneralizedTime
All Implemented Interfaces:
DEREncodable

public class DERGeneralizedTime
extends DERString

DER Generalized time object.


Field Summary
 
Fields inherited from class org.apache.directory.shared.asn1.der.DERObject
tag, value
 
Method Summary
 java.util.Date getDate()
          Lazy accessor
static DERGeneralizedTime valueOf(java.util.Date date)
          Static factory method, type-conversion operator.
 
Methods inherited from class org.apache.directory.shared.asn1.der.DERString
byteArrayToString, getString, stringToByteArray
 
Methods inherited from class org.apache.directory.shared.asn1.der.DERObject
encode, equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

valueOf

public static DERGeneralizedTime valueOf(java.util.Date date)
Static factory method, type-conversion operator.


getDate

public java.util.Date getDate()
                       throws java.text.ParseException
Lazy accessor

Returns:
Date representation of this DER Generalized Time
Throws:
java.text.ParseException


Copyright © 2004-2008 null. All Rights Reserved.