harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r395174 - /incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/org/apache/harmony/security/asn1/ASN1UTCTime.java
Date Wed, 19 Apr 2006 08:35:00 GMT
Author: smishura
Date: Wed Apr 19 01:34:58 2006
New Revision: 395174

URL: http://svn.apache.org/viewcvs?rev=395174&view=rev
Log:
Adding constants

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/org/apache/harmony/security/asn1/ASN1UTCTime.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/org/apache/harmony/security/asn1/ASN1UTCTime.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/org/apache/harmony/security/asn1/ASN1UTCTime.java?rev=395174&r1=395173&r2=395174&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/org/apache/harmony/security/asn1/ASN1UTCTime.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/org/apache/harmony/security/asn1/ASN1UTCTime.java
Wed Apr 19 01:34:58 2006
@@ -36,6 +36,26 @@
  */
 public class ASN1UTCTime extends ASN1Time {
 
+    /**
+     * Length for the pattern: YYMMDDhhmm'Z'
+     */
+    public static final int UTC_HM = 11;
+
+    /**
+     * Length for the pattern: YYMMDDhhmmss'Z'
+     */
+    public static final int UTC_HMS = 13;
+
+    /**
+     * Length for the pattern: YYMMDDhhmm('+'/'-')hhmm
+     */
+    public static final int UTC_LOCAL_HM = 15;
+
+    /**
+     * Length for the pattern: YYMMDDhhmmss('+'/'-')hhmm
+     */
+    public static final int UTC_LOCAL_HMS = 17;
+
     // default implementation
     private static final ASN1UTCTime ASN1 = new ASN1UTCTime();
 
@@ -62,12 +82,6 @@
     public static ASN1UTCTime getInstance() {
         return ASN1;
     }
-
-    //
-    //
-    // Decode
-    //
-    //
 
     //
     //



Mime
View raw message