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.java46 private final String[] datepatterns; field in BasicExpiresHandler
48 public BasicExpiresHandler(final String[] datepatterns) { in BasicExpiresHandler() argument
49 if (datepatterns == null) { in BasicExpiresHandler()
52 this.datepatterns = datepatterns; in BasicExpiresHandler()
64 cookie.setExpiryDate(DateUtils.parseDate(value, this.datepatterns)); in parse()
DBestMatchSpec.java58 private final String[] datepatterns; field in BestMatchSpec
65 public BestMatchSpec(final String[] datepatterns, boolean oneHeader) { in BestMatchSpec() argument
67 this.datepatterns = datepatterns; in BestMatchSpec()
77 this.strict = new RFC2965Spec(this.datepatterns, this.oneHeader); in getStrict()
84 this.compat = new BrowserCompatSpec(this.datepatterns); in getCompat()
91 String[] patterns = this.datepatterns; in getNetscape()
DBrowserCompatSpec.java84 private final String[] datepatterns; field in BrowserCompatSpec
87 public BrowserCompatSpec(final String[] datepatterns) { in BrowserCompatSpec() argument
89 if (datepatterns != null) { in BrowserCompatSpec()
90 this.datepatterns = datepatterns.clone(); in BrowserCompatSpec()
92 this.datepatterns = DATE_PATTERNS; in BrowserCompatSpec()
100 this.datepatterns)); in BrowserCompatSpec()
126 DateUtils.parseDate(headervalue.substring(i1, i2), this.datepatterns); in parse()
DNetscapeDraftSpec.java74 private final String[] datepatterns; field in NetscapeDraftSpec
77 public NetscapeDraftSpec(final String[] datepatterns) { in NetscapeDraftSpec() argument
79 if (datepatterns != null) { in NetscapeDraftSpec()
80 this.datepatterns = datepatterns.clone(); in NetscapeDraftSpec()
82 this.datepatterns = new String[] { EXPIRES_PATTERN }; in NetscapeDraftSpec()
90 this.datepatterns)); in NetscapeDraftSpec()
DRFC2109Spec.java81 private final String[] datepatterns; field in RFC2109Spec
85 public RFC2109Spec(final String[] datepatterns, boolean oneHeader) { in RFC2109Spec() argument
87 if (datepatterns != null) { in RFC2109Spec()
88 this.datepatterns = datepatterns.clone(); in RFC2109Spec()
90 this.datepatterns = DATE_PATTERNS; in RFC2109Spec()
100 this.datepatterns)); in RFC2109Spec()
DRFC2965Spec.java74 public RFC2965Spec(final String[] datepatterns, boolean oneHeader) { in RFC2965Spec() argument
75 super(datepatterns, oneHeader); in RFC2965Spec()