Home
last modified time | relevance | path

Searched refs:timezone (Results 1 – 7 of 7) sorted by relevance

/libcore/luni/src/main/java/javax/xml/datatype/
DXMLGregorianCalendar.java684 int timezone = getTimezone(); in hashCode() local
685 if (timezone == DatatypeConstants.FIELD_UNDEFINED) { in hashCode()
686 timezone = 0; in hashCode()
689 if (timezone != 0) { in hashCode()
1009 java.util.TimeZone timezone, in toGregorianCalendar() argument
DDatatypeFactory.java796 final int timezone); in newXMLGregorianCalendar() argument
832 final int timezone) { in newXMLGregorianCalendar() argument
859 timezone in newXMLGregorianCalendar()
890 final int timezone) { in newXMLGregorianCalendarDate() argument
900 timezone); in newXMLGregorianCalendarDate()
926 final int timezone) { in newXMLGregorianCalendarTime() argument
936 timezone); in newXMLGregorianCalendarTime()
965 final int timezone) { in newXMLGregorianCalendarTime() argument
975 timezone); in newXMLGregorianCalendarTime()
1003 final int timezone) { in newXMLGregorianCalendarTime() argument
[all …]
/libcore/luni/src/main/java/java/util/
DCalendar.java717 Calendar(TimeZone timezone) { in Calendar() argument
722 setTimeZone(timezone); in Calendar()
728 protected Calendar(TimeZone timezone, Locale locale) { in Calendar() argument
729 this(timezone); in Calendar()
987 public static synchronized Calendar getInstance(TimeZone timezone) { in getInstance() argument
988 return new GregorianCalendar(timezone); in getInstance()
995 public static synchronized Calendar getInstance(TimeZone timezone, Locale locale) { in getInstance() argument
996 return new GregorianCalendar(timezone, locale); in getInstance()
1214 public void setTimeZone(TimeZone timezone) { in setTimeZone() argument
1215 zone = timezone; in setTimeZone()
DGregorianCalendar.java316 public GregorianCalendar(TimeZone timezone) { in GregorianCalendar() argument
317 this(timezone, Locale.getDefault()); in GregorianCalendar()
329 public GregorianCalendar(TimeZone timezone, Locale locale) { in GregorianCalendar() argument
330 super(timezone, locale); in GregorianCalendar()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DTimeZoneTest.java180 TimeZone timezone = TimeZone.getTimeZone("Asia/Shanghai"); in test_getDisplayNameLjava_util_Locale() local
181 assertEquals("\u4e2d\u56fd\u6807\u51c6\u65f6\u95f4", timezone in test_getDisplayNameLjava_util_Locale()
189 TimeZone timezone = TimeZone.getTimeZone("Asia/Shanghai"); in test_getDisplayNameZILjava_util_Locale() local
192 timezone.getDisplayName(false, TimeZone.LONG, Locale.CHINA)); in test_getDisplayNameZILjava_util_Locale()
194 timezone.getDisplayName(false, TimeZone.SHORT, Locale.CHINA)); in test_getDisplayNameZILjava_util_Locale()
196 timezone.getDisplayName(false, 100, Locale.CHINA); in test_getDisplayNameZILjava_util_Locale()
DGregorianCalendarTest.java145 SimpleTimeZone timezone = new SimpleTimeZone(-3600 * 24 * 1000 * 2, in test_ConstructorLjava_util_TimeZone() local
147 GregorianCalendar gc = new GregorianCalendar(timezone); in test_ConstructorLjava_util_TimeZone()
/libcore/luni/src/main/java/java/text/
DDateFormat.java678 public void setTimeZone(TimeZone timezone) { in setTimeZone() argument
679 calendar.setTimeZone(timezone); in setTimeZone()