From: Daniel M. <tub...@us...> - 2003-09-02 20:05:04
|
Update of /cvsroot/epp-rtk/epp-rtk/java/src/com/tucows/oxrs/epp0705/rtk In directory sc8-pr-cvs1:/tmp/cvs-serv29105/src/com/tucows/oxrs/epp0705/rtk Modified Files: RTKBase.java Log Message: enhancement to the parsing of the value nodes in the response -- turns out .cn has changed its response in some way to produce empty value node contents (discovered by Tom@Tucows). also, fixing simple date format for UTC to change hh to HH because the former only handles hours from 1 to 12. and fixed the Loggers to not get the root anymore -- get the named logger instead. Index: RTKBase.java =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/java/src/com/tucows/oxrs/epp0705/rtk/RTKBase.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** RTKBase.java 25 Apr 2003 20:39:38 -0000 1.6 --- RTKBase.java 2 Sep 2003 20:04:57 -0000 1.7 *************** *** 92,96 **** /** ! * DateFormat for "yyyy-MM-dd'T'hh:mm:ss.S'Z'". * This is the format returned by the EPP Server in timestamps * (eg. expiration date, last modified date, etc...). It can be used --- 92,96 ---- /** ! * DateFormat for "yyyy-MM-dd'T'HH:mm:ss.S'Z'". * This is the format returned by the EPP Server in timestamps * (eg. expiration date, last modified date, etc...). It can be used *************** *** 98,102 **** * <PRE>java.util.Date date_object = UTC_FMT.parse(date_string); </PRE> */ ! public static final DateFormat UTC_FMT = new SimpleDateFormat("yyyy-MM-dd'T'hh:mm:ss.S'Z'"); /** --- 98,102 ---- * <PRE>java.util.Date date_object = UTC_FMT.parse(date_string); </PRE> */ ! public static final DateFormat UTC_FMT = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.S'Z'"); /** |