Home
last modified time | relevance | path

Searched refs:gmtoff (Results 1 – 14 of 14) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowTime.java68 time.gmtoff = other.gmtoff; in set()
78 protected static int getJulianDay(long millis, long gmtoff) { in getJulianDay() argument
79 long offsetMillis = gmtoff * 1000; in getJulianDay()
95 int approximateDay = getJulianDay(millis, time.gmtoff); in setJulianDay()
138 time.gmtoff = 0; in set()
161 time.gmtoff = 0; in clear()
173 long gmtoff = TimeZone.getTimeZone(timezone).getOffset(date); in switchTimezone() local
174 set(date + gmtoff); in switchTimezone()
176 time.gmtoff = (gmtoff / 1000); in switchTimezone()
245 String sign = (time.gmtoff < 0) ? "-" : "+"; in format3339()
[all …]
/external/python/cpython3/Lib/
D_strptime.py359 gmtoff = None
451 gmtoff = 0
463 gmtoff = (hours * 60 * 60) + (minutes * 60) + seconds
469 gmtoff = -gmtoff
557 weekday, julian, tz, tzname, gmtoff), fraction, gmtoff_fraction
569 tzname, gmtoff = tt[-2:]
571 if gmtoff is not None:
572 tzdelta = datetime_timedelta(seconds=gmtoff, microseconds=gmtoff_fraction)
Dimaplib.py1522 gmtoff = date_time.tm_gmtoff
1528 gmtoff = -(time.timezone, time.altzone)[dst]
1530 gmtoff = -time.timezone
1531 delta = timedelta(seconds=gmtoff)
Ddatetime.py1887 gmtoff = localtm.tm_gmtoff
1889 return timezone(timedelta(seconds=gmtoff), zone)
/external/rust/crates/chrono/src/sys/
Dunix.rs88 let gmtoff = { in time_to_local_tm() localVariable
101 let gmtoff = out.tm_gmtoff; in time_to_local_tm() localVariable
102 tm_to_rust_tm(&out, gmtoff as i32, tm); in time_to_local_tm()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowTimeTest.java119 assertEquals(0, t.gmtoff); in shouldClear()
141 assertThat(t.gmtoff).isEqualTo(0); in shouldSwitchTimeZones()
147 assertThat(t.gmtoff).isEqualTo(-14400L); in shouldSwitchTimeZones()
406 int julianDay = Time.getJulianDay(millis, time.gmtoff); in testGetJulianDay()
414 int day = Time.getJulianDay(millis, time.gmtoff); in testGetJulianDay()
428 int julianDay = Time.getJulianDay(millis, time.gmtoff); in testSetJulianDay()
436 int day = Time.getJulianDay(millis, time.gmtoff); in testSetJulianDay()
/external/icu/icu4c/source/tools/tzcode/
Dzic.c143 static int addtype(const zic_t gmtoff, const zic_t rawoff, const zic_t dstoff,
147 static int addtype(zic_t gmtoff, const char * abbr, int isdst,
2022 const zic_t gmtoff) in stringrule() argument
2071 tod += gmtoff; in stringrule()
2224 register zic_t gmtoff; in outzone() local
2364 gmtoff = zp->z_gmtoff; in outzone()
2501 -gmtoff); in outzone()
2517 offset = rp->r_todisgmt ? 0 : gmtoff; in outzone()
2631 starttime = tadd(starttime, -gmtoff); in outzone()
2707 addtype(const zic_t gmtoff, const zic_t rawoff, const zic_t dstoff, char *const abbr, const int isd… in addtype() argument
[all …]
/external/python/cpython3/Lib/email/
Dutils.py363 gmtoff = -(time.altzone if dst else time.timezone)
364 if delta == datetime.timedelta(seconds=gmtoff):
/external/icu/android_icu4j/libcore_bridge/src/java/com/android/i18n/timezone/
DWallTime.java483 public void setGmtOffset(int gmtoff) {
484 this.gmtOffsetSeconds = gmtoff;
/external/python/dateutil/dateutil/tz/
Dtz.py608 gmtoff, isdst, abbrind = ttinfo[i]
609 gmtoff = _get_supported_offset(gmtoff)
611 tti.offset = gmtoff
613 tti.delta = datetime.timedelta(seconds=gmtoff)
/external/python/cpython3/Modules/
Dtimemodule.c411 , const char *zone, time_t gmtoff argument
437 PyStructSequence_SET_ITEM(v, 10, _PyLong_FromTime_t(gmtoff));
529 time_t gmtoff; local
531 gmtoff = timegm(&buf) - when;
532 return tmtotuple(&local, zone, gmtoff);
/external/cldr/tools/java/org/unicode/cldr/util/data/
Dafrica243 # > 23:59:59 2009 EET isdst=0 gmtoff=7200
246 # > 01:00:00 2009 EEST isdst=1 gmtoff=10800
249 # > 23:59:59 2009 EEST isdst=1 gmtoff=10800
252 # > 23:00:00 2009 EET isdst=0 gmtoff=7200
Dnorthamerica653 # They will be gmtoff=-28800 year-round.
/external/python/cpython3/Lib/test/
Ddatetimetester.py5640 for i, (gmtoff, isdst, abbrind) in enumerate(ttis):
5642 ttis[i] = (timedelta(0, gmtoff), isdst, abbr)