Searched refs:zoneInfo (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/java/android/text/format/ |
D | TimeFormatter.java | 90 public String format(String pattern, ZoneInfo.WallTime wallTime, ZoneInfo zoneInfo) { in format() argument 99 formatInternal(pattern, wallTime, zoneInfo); in format() 131 private void formatInternal(String pattern, ZoneInfo.WallTime wallTime, ZoneInfo zoneInfo) { in formatInternal() argument 137 outputCurrentChar = handleToken(formatBuffer, wallTime, zoneInfo); in formatInternal() 147 ZoneInfo zoneInfo) { in handleToken() argument 192 formatInternal(dateTimeFormat, wallTime, zoneInfo); in handleToken() 195 formatInternal("%m/%d/%y", wallTime, zoneInfo); in handleToken() 217 formatInternal("%Y-%m-%d", wallTime, zoneInfo); in handleToken() 260 formatInternal("%H:%M", wallTime, zoneInfo); in handleToken() 263 formatInternal("%I:%M:%S %p", wallTime, zoneInfo); in handleToken() [all …]
|
D | Time.java | 1068 private ZoneInfo zoneInfo; field in Time.TimeCalculator 1071 this.zoneInfo = lookupZoneInfo(timezoneId); in TimeCalculator() 1080 int r = wallTime.mktime(zoneInfo); in toMillis() 1092 wallTime.localtime(intSeconds, zoneInfo); in setTimeInMillis() 1100 return formatter.format(format, wallTime, zoneInfo); in format() 1104 if (!zoneInfo.getID().equals(timezone)) { in updateZoneInfoFromTimeZone() 1105 this.zoneInfo = lookupZoneInfo(timezone); in updateZoneInfoFromTimeZone() 1111 ZoneInfo zoneInfo = ZoneInfoDB.getInstance().makeTimeZone(timezoneId); in lookupZoneInfo() local 1112 if (zoneInfo == null) { in lookupZoneInfo() 1113 zoneInfo = ZoneInfoDB.getInstance().makeTimeZone("GMT"); in lookupZoneInfo() [all …]
|