Home
last modified time | relevance | path

Searched refs:dateString (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/java/net/
DHttpURLConnection.java758 String dateString = getHeaderField(name); in getHeaderFieldDate() local
760 if (dateString.indexOf("GMT") == -1) { in getHeaderFieldDate()
761 dateString = dateString+" GMT"; in getHeaderFieldDate()
763 return Date.parse(dateString); in getHeaderFieldDate()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DSimpleDateFormatTest.java687 String dateString = "11 March 2002 Monday"; in test_parse_dd_MMMM_yyyy_EEEE() local
688 assertFormat(d, pattern, dateString); in test_parse_dd_MMMM_yyyy_EEEE()
689 assertParse(dateString, pattern, d); in test_parse_dd_MMMM_yyyy_EEEE()
695 String dateString = "11 March 2002 2"; in test_parse_dd_MMMM_yyyy_F() local
696 assertFormat(d, pattern, dateString); in test_parse_dd_MMMM_yyyy_F()
697 assertParse(dateString, pattern, d); in test_parse_dd_MMMM_yyyy_F()
703 String dateString = "11 March 2002 11"; in test_parse_dd_MMMM_yyyy_w() local
704 assertFormat(d, pattern, dateString); in test_parse_dd_MMMM_yyyy_w()
705 assertParse(dateString, pattern, d); in test_parse_dd_MMMM_yyyy_w()
711 String dateString = "11 March 2002 3"; in test_parse_dd_MMMM_yyyy_W() local
[all …]