| opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/GeneralizedTime.java | ●●●●● patch | view | raw | blame | history |
opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/GeneralizedTime.java
@@ -59,6 +59,16 @@ private static final TimeZone TIME_ZONE_UTC_OBJ = TimeZone.getTimeZone("UTC"); /** * Returns a generalized time whose value is the current time, using the * default time zone and locale. * * @return A generalized time whose value is the current time. */ public static GeneralizedTime currentTime() { return valueOf(Calendar.getInstance()); } /** * Returns a generalized time representing the provided {@code Calendar}. * <p> * The provided calendar will be defensively copied in order to preserve