1 17 18 package org.apache.james.util; 19 20 import java.text.ParseException ; 21 import java.util.Date ; 22 import java.util.Locale ; 23 import java.util.TimeZone ; 24 25 36 public interface SimplifiedDateFormat { 37 38 43 public String format(Date d); 44 45 54 public Date parse(String source) throws ParseException ; 55 56 60 public void setTimeZone(TimeZone zone); 61 62 66 public TimeZone getTimeZone(); 67 68 76 public void setLenient(boolean lenient); 77 78 82 public boolean isLenient(); 83 } 84 85 | Popular Tags |