Searched refs:dateformat (Results 1 – 5 of 5) sorted by relevance
65 private final DateFormat dateformat; field in HttpDateGenerator72 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()
200 dateformat = '%a, %d %b %Y %H:%M:%S GMT'202 time.strptime(datevalue, dateformat)204 self.fail('Date value not in %r format', dateformat)
186 dateformat = '%a, %d %b %Y %H:%M:%S GMT'188 time.strptime(datevalue, dateformat)190 self.fail('Date value not in %r format' % dateformat)
589 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()
971 # dateformat