I have also come across this problem, the restlet client chooses between using 
simpledateformat and internetdateformat depending on the format of the date 
header passed to it. simpledateformat is slow because it loads all the timezone 
names for each instance. 

It is possible that if your server uses internetdateformat for its date headers 
then the client will too but I have not been able to actually confirm this yet


The decision code is in DateUtils.parse

if (FORMAT_RFC_3339.get(0).equals(format)) {
                parser = new InternetDateFormat(TIMEZONE_GMT);
            } else {
                parser = new java.text.SimpleDateFormat(format,
                        java.util.Locale.US);
                parser.setTimeZone(TIMEZONE_GMT);

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2705331

Reply via email to