HomeSort by relevance Sort by last modified time
    Searched full:utcoffset (Results 1 - 25 of 45) sorted by null

1 2

  /external/chromium_org/third_party/WebKit/Source/wtf/
GregorianDateTime.cpp 79 int utcOffset = calculateUTCOffset();
80 utcOffset += calculateDSTOffset(localTime * msPerSecond, utcOffset);
81 m_utcOffset = utcOffset / msPerSecond;
GregorianDateTime.h 60 inline int utcOffset() const { return m_utcOffset; }
71 inline void setUtcOffset(int utcOffset) { m_utcOffset = utcOffset; }
DateMath.h 57 // dayOfWeek: [0, 6] 0 being Monday, day: [1, 31], month: [0, 11], year: ex: 2011, hours: [0, 23], minutes: [0, 59], seconds: [0, 59], utcOffset: [-720,720].
58 WTF_EXPORT String makeRFC2822DateString(unsigned dayOfWeek, unsigned day, unsigned month, unsigned year, unsigned hours, unsigned minutes, unsigned seconds, int utcOffset);
83 WTF_EXPORT double calculateDSTOffset(double ms, double utcOffset);
DateMath.cpp 391 time_t utcOffset = timegm(&localt) - mktime(&localt);
395 time_t utcOffset = 1230768000 - mktime(&localt);
398 return static_cast<int32_t>(utcOffset * 1000);
405 static double calculateDSTOffsetSimple(double localTimeSeconds, double utcOffset)
413 double offsetTime = (localTimeSeconds * msPerSecond) + utcOffset;
434 double calculateDSTOffset(double ms, double utcOffset)
452 return calculateDSTOffsetSimple(ms / msPerSecond, utcOffset);
849 double utcOffset = calculateUTCOffset();
850 double dstOffset = calculateDSTOffset(ms, utcOffset);
851 offset = (utcOffset + dstOffset) / msPerMinute
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/forms/
BaseDateAndTimeInputType.cpp 95 double utcOffset = calculateUTCOffset();
96 double dstOffset = calculateDSTOffset(ms, utcOffset);
97 int offset = static_cast<int>((utcOffset + dstOffset) / msPerMinute);
MonthInputType.cpp 90 double utcOffset = calculateUTCOffset();
91 double dstOffset = calculateDSTOffset(current, utcOffset);
92 int offset = static_cast<int>((utcOffset + dstOffset) / msPerMinute);
TimeInputType.cpp 77 double utcOffset = calculateUTCOffset();
78 double dstOffset = calculateDSTOffset(current, utcOffset);
79 int offset = static_cast<int>((utcOffset + dstOffset) / msPerMinute);
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_datetime.py 54 def utcoffset(self, dt): member in class:FixedOffset
74 self.assertRaises(NotImplementedError, useless.utcoffset, dt)
88 self.assertRaises(NotImplementedError, ne.utcoffset, dt)
95 self.assertEqual(fo.utcoffset(dt), timedelta(minutes=3))
116 self.assertEqual(orig.utcoffset(None), offset)
123 self.assertEqual(derived.utcoffset(None), offset)
1647 def utcoffset(self, dt): return None member in class:TestDateTime.test_astimezone.Bogus
1653 def utcoffset(self, dt): return timedelta(0) member in class:TestDateTime.test_astimezone.AlsoBogus
2002 def utcoffset(self, dt): member in class:TZInfoBase.test_argument_passing.introspective
2021 def utcoffset(self, dt): pass member in class:TZInfoBase.test_bad_tzinfo_classes.NiceTry
2026 def utcoffset(self, dt): pass member in class:TZInfoBase.test_bad_tzinfo_classes.BetterTry
2035 def utcoffset(self, dt): member in class:TZInfoBase.test_utc_offset_out_of_bounds.Edgy
2062 def utcoffset(self, dt): return None member in class:TZInfoBase.test_tzinfo_classes.C1
2073 def utcoffset(self, dt): return timedelta(minutes=-1439) member in class:TZInfoBase.test_tzinfo_classes.C3
2083 def utcoffset(self, dt): return "aname" member in class:TZInfoBase.test_tzinfo_classes.C4
2093 def utcoffset(self, dt): return timedelta(hours=-24) member in class:TZInfoBase.test_tzinfo_classes.C6
2101 def utcoffset(self, dt): return timedelta(seconds=61) member in class:TZInfoBase.test_tzinfo_classes.C7
2113 def utcoffset(self, t): member in class:TZInfoBase.test_aware_compare.OperandDependentOffset
2359 def utcoffset(self, t): member in class:TestTimeTZ.test_mixed_compare.Varies
2465 def utcoffset(self, dt): return None member in class:TestDateTimeTZ.test_even_more_compare.Naive
2477 def utcoffset(self, dt): member in class:TestDateTimeTZ.test_even_more_compare.Bogus
2772 def utcoffset(self, dt): member in class:TestDateTimeTZ.test_utctimetuple.UOFS
2914 def utcoffset(self, t): member in class:TestDateTimeTZ.test_aware_subtract.OperandDependentOffset
2967 def utcoffset(self, t): member in class:TestDateTimeTZ.test_mixed_compare.Varies
3044 def utcoffset(self, dt): member in class:USTimeZone
3248 def utcoffset(self, dt): return HOUR member in class:TestTimezoneConversions.test_bogus_dst.ok
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_datetime.py 54 def utcoffset(self, dt): member in class:FixedOffset
74 self.assertRaises(NotImplementedError, useless.utcoffset, dt)
88 self.assertRaises(NotImplementedError, ne.utcoffset, dt)
95 self.assertEqual(fo.utcoffset(dt), timedelta(minutes=3))
116 self.assertEqual(orig.utcoffset(None), offset)
123 self.assertEqual(derived.utcoffset(None), offset)
1647 def utcoffset(self, dt): return None member in class:TestDateTime.test_astimezone.Bogus
1653 def utcoffset(self, dt): return timedelta(0) member in class:TestDateTime.test_astimezone.AlsoBogus
2002 def utcoffset(self, dt): member in class:TZInfoBase.test_argument_passing.introspective
2021 def utcoffset(self, dt): pass member in class:TZInfoBase.test_bad_tzinfo_classes.NiceTry
2026 def utcoffset(self, dt): pass member in class:TZInfoBase.test_bad_tzinfo_classes.BetterTry
2035 def utcoffset(self, dt): member in class:TZInfoBase.test_utc_offset_out_of_bounds.Edgy
2062 def utcoffset(self, dt): return None member in class:TZInfoBase.test_tzinfo_classes.C1
2073 def utcoffset(self, dt): return timedelta(minutes=-1439) member in class:TZInfoBase.test_tzinfo_classes.C3
2083 def utcoffset(self, dt): return "aname" member in class:TZInfoBase.test_tzinfo_classes.C4
2093 def utcoffset(self, dt): return timedelta(hours=-24) member in class:TZInfoBase.test_tzinfo_classes.C6
2101 def utcoffset(self, dt): return timedelta(seconds=61) member in class:TZInfoBase.test_tzinfo_classes.C7
2113 def utcoffset(self, t): member in class:TZInfoBase.test_aware_compare.OperandDependentOffset
2359 def utcoffset(self, t): member in class:TestTimeTZ.test_mixed_compare.Varies
2465 def utcoffset(self, dt): return None member in class:TestDateTimeTZ.test_even_more_compare.Naive
2477 def utcoffset(self, dt): member in class:TestDateTimeTZ.test_even_more_compare.Bogus
2772 def utcoffset(self, dt): member in class:TestDateTimeTZ.test_utctimetuple.UOFS
2914 def utcoffset(self, t): member in class:TestDateTimeTZ.test_aware_subtract.OperandDependentOffset
2967 def utcoffset(self, t): member in class:TestDateTimeTZ.test_mixed_compare.Varies
3044 def utcoffset(self, dt): member in class:USTimeZone
3248 def utcoffset(self, dt): return HOUR member in class:TestTimezoneConversions.test_bogus_dst.ok
    [all...]
  /packages/wallpapers/Basic/src/com/android/wallpaper/grass/
SunCalculator.java 279 double utcOffSet = getUTCOffSet(date);
280 double utcOffSetTime = utcTime + utcOffSet;
  /external/chromium_org/third_party/WebKit/Source/platform/mhtml/
MHTMLArchive.cpp 129 String dateString = makeRFC2822DateString(now.weekDay(), now.monthDay(), now.month(), now.year(), now.hour(), now.minute(), now.second(), now.utcOffset() / 60);
  /external/chromium_org/third_party/WebKit/Source/core/html/shadow/
DateTimeFieldElements.cpp 593 double utcOffset = calculateUTCOffset();
594 double dstOffset = calculateDSTOffset(current, utcOffset);
595 int offset = static_cast<int>((utcOffset + dstOffset) / msPerMinute);
  /external/chromium_org/third_party/launchpad_translations/
generated_resources_bs.xtb 195 <translation id="3331321258768829690">(<ph name="UTCOFFSET"/>) <ph name="LONGTZNAME"/> (<ph name="EXEMPLARCITY"/>)</translation>
generated_resources_hy.xtb     [all...]
generated_resources_ast.xtb     [all...]
generated_resources_ug.xtb     [all...]
  /packages/apps/Exchange/src/com/android/exchange/utility/
CalendarUtilities.java 511 * Generate an rfc2445 utcOffset from minutes offset from GMT
514 * @return a utcOffset
    [all...]
  /device/samsung/manta/gps/
gpsd 
  /external/chromium_org/chrome/app/
chromeos_strings.grdp     [all...]
  /external/chromium_org/chrome/app/resources/
generated_resources_am.xtb     [all...]
generated_resources_ar.xtb     [all...]
generated_resources_bg.xtb     [all...]
generated_resources_bn.xtb     [all...]
generated_resources_el.xtb     [all...]
generated_resources_fa.xtb     [all...]

Completed in 646 milliseconds

1 2