Home
last modified time | relevance | path

Searched refs:dateformat (Results 1 – 5 of 5) sorted by relevance

/external/apache-http/src/org/apache/http/protocol/
DHttpDateGenerator.java65 private final DateFormat dateformat; field in HttpDateGenerator
72 this.dateformat = new SimpleDateFormat(PATTERN_RFC1123, Locale.US); in HttpDateGenerator()
73 this.dateformat.setTimeZone(GMT); in HttpDateGenerator()
80 this.dateAsText = this.dateformat.format(new Date(now)); in getCurrentDate()
/external/python/cpython2/Lib/test/
Dtest_urllibnet.py200 dateformat = '%a, %d %b %Y %H:%M:%S GMT'
202 time.strptime(datevalue, dateformat)
204 self.fail('Date value not in %r format', dateformat)
/external/python/cpython3/Lib/test/
Dtest_urllibnet.py186 dateformat = '%a, %d %b %Y %H:%M:%S GMT'
188 time.strptime(datevalue, dateformat)
190 self.fail('Date value not in %r format' % dateformat)
/external/clang/test/Sema/
Dformat-strings.c589 void __attribute__((format(strftime,1,0))) dateformat(const char *fmt);
596 dateformat(""); // expected-warning{{format string is empty}} in test_other_formats()
597 dateformat(str); // no-warning (using strftime non-literal is not unsafe) in test_other_formats()
/external/icu/icu4c/source/test/depstest/
Ddependencies.txt971 # dateformat