Home
last modified time | relevance | path

Searched refs:datepatterns (Results 1 – 6 of 6) sorted by relevance

/external/apache-http/src/org/apache/http/impl/cookie/
DBasicExpiresHandler.java40 private final String[] datepatterns; field in BasicExpiresHandler
42 public BasicExpiresHandler(final String[] datepatterns) { in BasicExpiresHandler() argument
43 if (datepatterns == null) { in BasicExpiresHandler()
46 this.datepatterns = datepatterns; in BasicExpiresHandler()
58 cookie.setExpiryDate(DateUtils.parseDate(value, this.datepatterns)); in parse()
DBestMatchSpec.java53 private final String[] datepatterns; field in BestMatchSpec
60 public BestMatchSpec(final String[] datepatterns, boolean oneHeader) { in BestMatchSpec() argument
62 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()
DBrowserCompatSpec.java79 private final String[] datepatterns; field in BrowserCompatSpec
82 public BrowserCompatSpec(final String[] datepatterns) { in BrowserCompatSpec() argument
84 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()
DNetscapeDraftSpec.java69 private final String[] datepatterns; field in NetscapeDraftSpec
72 public NetscapeDraftSpec(final String[] datepatterns) { in NetscapeDraftSpec() argument
74 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()
DRFC2109Spec.java76 private final String[] datepatterns; field in RFC2109Spec
80 public RFC2109Spec(final String[] datepatterns, boolean oneHeader) { in RFC2109Spec() argument
82 if (datepatterns != null) { in RFC2109Spec()
83 this.datepatterns = datepatterns.clone(); in RFC2109Spec()
85 this.datepatterns = DATE_PATTERNS; in RFC2109Spec()
95 this.datepatterns)); in RFC2109Spec()
DRFC2965Spec.java69 public RFC2965Spec(final String[] datepatterns, boolean oneHeader) { in RFC2965Spec() argument
70 super(datepatterns, oneHeader); in RFC2965Spec()