HomeSort by relevance Sort by last modified time
    Searched refs:UTC (Results 1 - 25 of 143) sorted by null

1 2 3 4 5 6

  /frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
RRuleTest.java 61 static final String UTC = "UTC";
67 runRecurrenceIteratorTest(rruleText, dtStart, limit, golden, null, null, UTC);
85 * @param tz The time zone. UTC is used if null is passed in.
177 runRecurrenceIteratorTest("RRULE:FREQ=YEARLY", "20060120", 5, "20060120,20070120,20080120,20090120,20100120,...", null, "20120101", UTC);
483 runRecurrenceIteratorTest("RRULE:FREQ=YEARLY;INTERVAL=100;BYYEARDAY=60;BYMONTHDAY=1", "19000101", 4, "19000301,21000301,22000301,23000301,...", null, "25000101", UTC);
652 /*"19970313,19970320,19970327,"*/"19980305,19980312," + "19980319,19980326,19990304,19990311,19990318," + "19990325,20000302,20000309,20000316,...", "19970601", UTC);
660 /*"19970519,"*/"19980518,19990517,20000515,...", "19980515", UTC);
668 /*"19970101,19970410,19970719,20000101,"*/"20000409," + "20000718,20030101,20030410,20030719,20060101,20060410,20060719," + "20090101", "20000228", UTC);
677 /*"19970101,19970410,19970719,20000101,"*/"20000409," + "20000718,20030101,20030410,20030719,20060101", "20000228", UTC);
    [all...]
  /external/v8/test/webkit/
date-parse-comments-test.js 43 testDateParse("Dec ((27) 26 (24)) 25 1995 1:30 PM UTC", "819898200000");
44 testDateParse("Dec 25 1995 1:30 PM UTC (", "819898200000");
45 testDateParse("Dec 25 1995 1:30 (PM)) UTC", "NaN");
66 testDateParse("Dec 25 1995 (PDT)UTC(PST)", "819849600000");
68 testDateParse("Dec 25 1995 (UTC)PST(GMT)", "819878400000");
69 testDateParse("Dec 25 1995 (UTC)PDT(GMT)", "819874800000");
71 testDateParse("Dec 25 1995 1:30 (PDT)UTC(PST)", "819855000000");
73 testDateParse("Dec 25 1995 1:30 (UTC)PST(GMT)", "819883800000");
74 testDateParse("Dec 25 1995 1:30 (UTC)PDT(GMT)", "819880200000");
76 testDateParse("Dec 25 1995 1:30 (AM) PM (PST) UTC", "819898200000")
    [all...]
  /external/v8/test/webkit/fast/js/
date-toisostring.js 41 shouldBe("new Date('1 January 1500 UTC').toISOString()", "'1500-01-01T00:00:00.000Z'");
42 shouldBe("new Date('1 January 2000 UTC').toISOString()", "'2000-01-01T00:00:00.000Z'");
43 shouldBe("new Date('1 January 4000 UTC').toISOString()", "'4000-01-01T00:00:00.000Z'");
44 shouldBe("new Date('1 January 100000 UTC').toISOString()", "'+100000-01-01T00:00:00.000Z'");
45 shouldBe("new Date('1 January -1 UTC').toISOString()", "'-000001-01-01T00:00:00.000Z'");
46 shouldBe("new Date('10 March 2000 UTC').toISOString()", "'2000-03-10T00:00:00.000Z'");
  /external/snakeyaml/src/test/java/examples/jodatime/
JodaTimeExampleTest.java 37 DateTime time = new DateTime(timestamp, DateTimeZone.UTC);
48 assertEquals(new DateTime(timestamp, DateTimeZone.UTC), time);
75 return new DateTime(date, DateTimeZone.UTC);
105 return new DateTime(date, DateTimeZone.UTC);
JodaTimeImplicitContructor.java 37 return new DateTime(date, DateTimeZone.UTC);
JodaTimeFlowStylesTest.java 45 DateTime etalon = new DateTime(timestamp, DateTimeZone.UTC);
120 DateTime etalon = new DateTime(timestamp, DateTimeZone.UTC);
146 return new DateTime(date, DateTimeZone.UTC);
  /prebuilts/go/darwin-x86/src/errors/
example_test.go 24 time.Date(1989, 3, 15, 22, 30, 0, 0, time.UTC),
33 // Output: 1989-03-15 22:30:00 +0000 UTC: the file system has gone away
  /prebuilts/go/linux-x86/src/errors/
example_test.go 24 time.Date(1989, 3, 15, 22, 30, 0, 0, time.UTC),
33 // Output: 1989-03-15 22:30:00 +0000 UTC: the file system has gone away
  /prebuilts/go/darwin-x86/src/time/
time_test.go 40 ZoneOffset int // seconds east of UTC, e.g. -7*60*60 for -0700
50 {0, parsedTime{1970, January, 1, 0, 0, 0, 0, Thursday, 0, "UTC"}},
51 {1221681866, parsedTime{2008, September, 17, 20, 4, 26, 0, Wednesday, 0, "UTC"}},
52 {-1221681866, parsedTime{1931, April, 16, 3, 55, 34, 0, Thursday, 0, "UTC"}},
53 {-11644473600, parsedTime{1601, January, 1, 0, 0, 0, 0, Monday, 0, "UTC"}},
54 {599529660, parsedTime{1988, December, 31, 0, 1, 0, 0, Saturday, 0, "UTC"}},
55 {978220860, parsedTime{2000, December, 31, 0, 1, 0, 0, Sunday, 0, "UTC"}},
59 {0, parsedTime{1970, January, 1, 0, 0, 0, 1e8, Thursday, 0, "UTC"}},
60 {1221681866, parsedTime{2008, September, 17, 20, 4, 26, 2e8, Wednesday, 0, "UTC"}},
98 tm := Unix(sec, 0).UTC()
    [all...]
zoneinfo.go 27 // since January 1, 1970 UTC, to match the argument
37 offset int // seconds east of UTC
55 // UTC represents Universal Coordinated Time (UTC).
56 var UTC *Location = &utcLoc
60 // even if a badly behaved client has changed UTC.
61 var utcLoc = Location{name: "UTC"}
88 // the given zone name and offset (seconds east of UTC).
102 // instant in time expressed as seconds since January 1, 1970 00:00:00 UTC.
106 // the offset in seconds east of UTC (such as -5*60*60), and whethe
    [all...]
zoneinfo_unix.go 53 // $TZ="" means use UTC.
65 case tz != "" && tz != "UTC":
72 // Fall back to UTC.
73 localLoc.name = "UTC"
example_test.go 55 t := time.Date(2009, time.November, 10, 23, 0, 0, 0, time.UTC)
74 fmt.Println("Same, in UTC:", t.UTC().Format(time.UnixDate))
160 // Same, in UTC: Sat Mar 7 19:06:39 UTC 2015
190 // Note: without explicit zone, returns time in UTC.
197 // 2013-02-03 00:00:00 +0000 UTC
218 t := time.Date(0, 0, 0, 12, 15, 30, 918273645, time.UTC)
zoneinfo_plan9.go 56 return UTC, nil
145 // Fall back to UTC.
146 localLoc.name = "UTC"
  /prebuilts/go/linux-x86/src/time/
time_test.go 40 ZoneOffset int // seconds east of UTC, e.g. -7*60*60 for -0700
50 {0, parsedTime{1970, January, 1, 0, 0, 0, 0, Thursday, 0, "UTC"}},
51 {1221681866, parsedTime{2008, September, 17, 20, 4, 26, 0, Wednesday, 0, "UTC"}},
52 {-1221681866, parsedTime{1931, April, 16, 3, 55, 34, 0, Thursday, 0, "UTC"}},
53 {-11644473600, parsedTime{1601, January, 1, 0, 0, 0, 0, Monday, 0, "UTC"}},
54 {599529660, parsedTime{1988, December, 31, 0, 1, 0, 0, Saturday, 0, "UTC"}},
55 {978220860, parsedTime{2000, December, 31, 0, 1, 0, 0, Sunday, 0, "UTC"}},
59 {0, parsedTime{1970, January, 1, 0, 0, 0, 1e8, Thursday, 0, "UTC"}},
60 {1221681866, parsedTime{2008, September, 17, 20, 4, 26, 2e8, Wednesday, 0, "UTC"}},
98 tm := Unix(sec, 0).UTC()
    [all...]
zoneinfo.go 27 // since January 1, 1970 UTC, to match the argument
37 offset int // seconds east of UTC
55 // UTC represents Universal Coordinated Time (UTC).
56 var UTC *Location = &utcLoc
60 // even if a badly behaved client has changed UTC.
61 var utcLoc = Location{name: "UTC"}
88 // the given zone name and offset (seconds east of UTC).
102 // instant in time expressed as seconds since January 1, 1970 00:00:00 UTC.
106 // the offset in seconds east of UTC (such as -5*60*60), and whethe
    [all...]
zoneinfo_unix.go 53 // $TZ="" means use UTC.
65 case tz != "" && tz != "UTC":
72 // Fall back to UTC.
73 localLoc.name = "UTC"
example_test.go 55 t := time.Date(2009, time.November, 10, 23, 0, 0, 0, time.UTC)
74 fmt.Println("Same, in UTC:", t.UTC().Format(time.UnixDate))
160 // Same, in UTC: Sat Mar 7 19:06:39 UTC 2015
190 // Note: without explicit zone, returns time in UTC.
197 // 2013-02-03 00:00:00 +0000 UTC
218 t := time.Date(0, 0, 0, 12, 15, 30, 918273645, time.UTC)
zoneinfo_plan9.go 56 return UTC, nil
145 // Fall back to UTC.
146 localLoc.name = "UTC"
  /external/xmp_toolkit/XMPCore/src/com/adobe/xmp/
XMPDateTimeFactory.java 28 /** The UTC TimeZone */
29 private static final TimeZone UTC = TimeZone.getTimeZone("UTC");
95 * @return Returns The returned time is UTC, properly adjusted for the local time zone. The
120 * Make sure a time is UTC. If the time zone is not UTC, the time is
121 * adjusted and the time zone set to be UTC.
131 GregorianCalendar cal = new GregorianCalendar(UTC);
  /external/v8/test/mjsunit/regress/
regress-280531.js 29 var date1 = Realm.eval(contextA, "new Date('Thu, 29 Aug 2013 00:00:00 UTC')");
30 new Date('Thu, 29 Aug 2013 00:00:01 UTC');
31 var date2 = Realm.eval(contextA, "new Date('Thu, 29 Aug 2013 00:00:00 UTC')");
regress-builtinbust-7.js 12 var date = new Date(Date.UTC(2004, 12, 25, 3, 0, 0));
  /prebuilts/go/darwin-x86/src/encoding/asn1/
marshal_test.go 105 {time.Unix(0, 0).UTC(), "170d3730303130313030303030305a"},
106 {time.Unix(1258325776, 0).UTC(), "170d3039313131353232353631365a"},
109 {generalizedTimeTest{time.Unix(1258325776, 0).UTC()}, "3011180f32303039313131353232353631365a"},
  /prebuilts/go/linux-x86/src/encoding/asn1/
marshal_test.go 105 {time.Unix(0, 0).UTC(), "170d3730303130313030303030305a"},
106 {time.Unix(1258325776, 0).UTC(), "170d3039313131353232353631365a"},
109 {generalizedTimeTest{time.Unix(1258325776, 0).UTC()}, "3011180f32303039313131353232353631365a"},
  /external/chromium-trace/catapult/third_party/WebOb/webob/
datetime_utils.py 26 'UTC', 'timedelta_to_seconds',
40 return 'UTC'
42 return 'UTC'
44 UTC = _UTC()
76 # No timezone given. None would mean local time, but we'll force UTC
79 return datetime.fromtimestamp(t, UTC)
  /external/v8/test/mjsunit/
date.js 160 // LayoutTests/fast/js/script-tests/date-utc-timeclip.js:
162 assertEquals(8639999999999999, Date.UTC(275760, 8, 12, 23, 59, 59, 999));
163 assertEquals(8640000000000000, Date.UTC(275760, 8, 13));
164 assertTrue(isNaN(Date.UTC(275760, 8, 13, 0, 0, 0, 1)));
165 assertTrue(isNaN(Date.UTC(275760, 8, 14)));
167 assertEquals(Date.UTC(-271821, 3, 20, 0, 0, 0, 1), -8639999999999999);
168 assertEquals(Date.UTC(-271821, 3, 20), -8640000000000000);
169 assertTrue(isNaN(Date.UTC(-271821, 3, 19, 23, 59, 59, 999)));
170 assertTrue(isNaN(Date.UTC(-271821, 3, 19)));
191 assertEquals(8640000000000000, Date.UTC(1970, 0, 1 + 100000001, -24))
    [all...]

Completed in 997 milliseconds

1 2 3 4 5 6