Home
last modified time | relevance | path

Searched refs:localDateTime (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/text/format/
DTimeFormatter.java114 LocalDateTime localDateTime = LocalDateTime.ofInstant(instant, ZoneId.systemDefault()); in formatMillisWithFixedFormat() local
125 stringBuilder.append(localDateTime.getYear()); in formatMillisWithFixedFormat()
127 append2DigitNumber(stringBuilder, localDateTime.getMonthValue()); in formatMillisWithFixedFormat()
129 append2DigitNumber(stringBuilder, localDateTime.getDayOfMonth()); in formatMillisWithFixedFormat()
131 append2DigitNumber(stringBuilder, localDateTime.getHour()); in formatMillisWithFixedFormat()
133 append2DigitNumber(stringBuilder, localDateTime.getMinute()); in formatMillisWithFixedFormat()
135 append2DigitNumber(stringBuilder, localDateTime.getSecond()); in formatMillisWithFixedFormat()
/frameworks/base/core/java/android/widget/
DAnalogClock.java247 LocalDateTime localDateTime = toLocalDateTime(nowMillis, mClock.getZone()); in onTimeChanged() local
249 int hour = localDateTime.getHour(); in onTimeChanged()
250 int minute = localDateTime.getMinute(); in onTimeChanged()
251 int second = localDateTime.getSecond(); in onTimeChanged()
DDateTimeView.java278 LocalDateTime localDateTime = mLocalTime; local
282 count = Math.max(Math.abs(dayDistance(localDateTime, localNow)), 1);
387 LocalDateTime localDateTime = mLocalTime; in onInitializeAccessibilityNodeInfoInternal() local
391 count = Math.max(Math.abs(dayDistance(localDateTime, localNow)), 1); in onInitializeAccessibilityNodeInfoInternal()
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DSmsMessage.java743 LocalDateTime localDateTime = zoneDateTime.toLocalDateTime(); in getDeliverPdu() local
752 int year = localDateTime.getYear(); in getDeliverPdu()
753 int month = localDateTime.getMonthValue(); in getDeliverPdu()
754 int day = localDateTime.getDayOfMonth(); in getDeliverPdu()
755 int hour = localDateTime.getHour(); in getDeliverPdu()
756 int minute = localDateTime.getMinute(); in getDeliverPdu()
757 int second = localDateTime.getSecond(); in getDeliverPdu()
889 LocalDateTime localDateTime = LocalDateTime.of( in getSCTimestampMillis() local
897 localDateTime.toEpochSecond(ZoneOffset.UTC) - timeZoneOffsetSeconds; in getSCTimestampMillis()
/frameworks/base/telephony/java/android/telephony/
DSmsCbEtwsInfo.java206 LocalDateTime localDateTime = LocalDateTime.of( in getPrimaryNotificationTimestamp() local
215 long epochSeconds = localDateTime.toEpochSecond(ZoneOffset.UTC) - timeZoneOffsetSeconds; in getPrimaryNotificationTimestamp()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/
DBearerData.java293 LocalDateTime localDateTime = in fromMillis() local
295 int year = localDateTime.getYear(); in fromMillis()
298 ts.monthOrdinal = localDateTime.getMonthValue(); in fromMillis()
299 ts.monthDay = localDateTime.getDayOfMonth(); in fromMillis()
300 ts.hour = localDateTime.getHour(); in fromMillis()
301 ts.minute = localDateTime.getMinute(); in fromMillis()
302 ts.second = localDateTime.getSecond(); in fromMillis()
320 LocalDateTime localDateTime = in toMillis() local
323 localDateTime.toInstant(mZoneId.getRules().getOffset(localDateTime)); in toMillis()
/frameworks/base/non-updatable-api/
Dcurrent.txt69656 …hrono.ChronoLocalDateTime<? extends java.time.chrono.ChronoLocalDate> localDateTime(java.time.temp…
69691 …method public java.time.chrono.ChronoLocalDateTime<java.time.chrono.HijrahDate> localDateTime(java…
69743 method public java.time.LocalDateTime localDateTime(java.time.temporal.TemporalAccessor);
69775 …method public java.time.chrono.ChronoLocalDateTime<java.time.chrono.JapaneseDate> localDateTime(ja…
69833 …method public java.time.chrono.ChronoLocalDateTime<java.time.chrono.MinguoDate> localDateTime(java…
69885 …va.time.chrono.ChronoLocalDateTime<java.time.chrono.ThaiBuddhistDate> localDateTime(java.time.temp…
/frameworks/base/api/
Dcurrent.txt69800 …hrono.ChronoLocalDateTime<? extends java.time.chrono.ChronoLocalDate> localDateTime(java.time.temp…
69835 …method public java.time.chrono.ChronoLocalDateTime<java.time.chrono.HijrahDate> localDateTime(java…
69887 method public java.time.LocalDateTime localDateTime(java.time.temporal.TemporalAccessor);
69919 …method public java.time.chrono.ChronoLocalDateTime<java.time.chrono.JapaneseDate> localDateTime(ja…
69977 …method public java.time.chrono.ChronoLocalDateTime<java.time.chrono.MinguoDate> localDateTime(java…
70029 …va.time.chrono.ChronoLocalDateTime<java.time.chrono.ThaiBuddhistDate> localDateTime(java.time.temp…