Searched refs:datepatterns (Results 1 – 6 of 6) sorted by relevance
40 private final String[] datepatterns; field in BasicExpiresHandler42 public BasicExpiresHandler(final String[] datepatterns) { in BasicExpiresHandler() argument43 if (datepatterns == null) { in BasicExpiresHandler()46 this.datepatterns = datepatterns; in BasicExpiresHandler()58 cookie.setExpiryDate(DateUtils.parseDate(value, this.datepatterns)); in parse()
53 private final String[] datepatterns; field in BestMatchSpec60 public BestMatchSpec(final String[] datepatterns, boolean oneHeader) { in BestMatchSpec() argument62 this.datepatterns = datepatterns; in BestMatchSpec()72 this.strict = new RFC2965Spec(this.datepatterns, this.oneHeader); in getStrict()79 this.compat = new BrowserCompatSpec(this.datepatterns); in getCompat()86 String[] patterns = this.datepatterns; in getNetscape()
79 private final String[] datepatterns; field in BrowserCompatSpec82 public BrowserCompatSpec(final String[] datepatterns) { in BrowserCompatSpec() argument84 if (datepatterns != null) { in BrowserCompatSpec()85 this.datepatterns = datepatterns.clone(); in BrowserCompatSpec()87 this.datepatterns = DATE_PATTERNS; in BrowserCompatSpec()95 this.datepatterns)); in BrowserCompatSpec()121 DateUtils.parseDate(headervalue.substring(i1, i2), this.datepatterns); in parse()
69 private final String[] datepatterns; field in NetscapeDraftSpec72 public NetscapeDraftSpec(final String[] datepatterns) { in NetscapeDraftSpec() argument74 if (datepatterns != null) { in NetscapeDraftSpec()75 this.datepatterns = datepatterns.clone(); in NetscapeDraftSpec()77 this.datepatterns = new String[] { EXPIRES_PATTERN }; in NetscapeDraftSpec()85 this.datepatterns)); in NetscapeDraftSpec()
76 private final String[] datepatterns; field in RFC2109Spec80 public RFC2109Spec(final String[] datepatterns, boolean oneHeader) { in RFC2109Spec() argument82 if (datepatterns != null) { in RFC2109Spec()83 this.datepatterns = datepatterns.clone(); in RFC2109Spec()85 this.datepatterns = DATE_PATTERNS; in RFC2109Spec()95 this.datepatterns)); in RFC2109Spec()
69 public RFC2965Spec(final String[] datepatterns, boolean oneHeader) { in RFC2965Spec() argument70 super(datepatterns, oneHeader); in RFC2965Spec()