Home
last modified time | relevance | path

Searched refs:dateFormatter (Results 1 – 15 of 15) sorted by relevance

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utiltests/
DTimeUtilsTest.kt40 private lateinit var dateFormatter: LocalDateTimeFormatter variable in com.android.healthconnect.controller.tests.utiltests.TimeUtilsTest
47 dateFormatter = LocalDateTimeFormatter(context) in setup()
55 dateFormatter = LocalDateTimeFormatter(context) in tearDown()
129 dateFormatter = LocalDateTimeFormatter(context) in getPeriodStartDate_periodWeek_frenchLocale_mondayStartOfWeek()
145 dateFormatter = LocalDateTimeFormatter(context) in getPeriodStartDate_periodWeek_frenchLocale_startTimeSameDateAsLocal()
161 dateFormatter = LocalDateTimeFormatter(context) in getPeriodStartDate_periodWeek_frenchLocale_startTimeDiffDateToLocal()
210 formatDateTimeForTimePeriod(startTime, period, dateFormatter, timeSource, useWeekday) in formatDateTimeForTimePeriod_periodDay_withWeekday_pastYear_startTimeSameDateAsLocal()
225 formatDateTimeForTimePeriod(startTime, period, dateFormatter, timeSource, useWeekday) in formatDateTimeForTimePeriod_periodDay_withWeekday_sameYear_startTimeSameDateAsLocal()
240 formatDateTimeForTimePeriod(startTime, period, dateFormatter, timeSource, useWeekday) in formatDateTimeForTimePeriod_periodDay_withoutWeekday_pastYear_startTimeSameDateAsLocal()
255 formatDateTimeForTimePeriod(startTime, period, dateFormatter, timeSource, useWeekday) in formatDateTimeForTimePeriod_periodDay_withoutWeekday_sameYear_startTimeSameDateAsLocal()
[all …]
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/utils/
DTimeUtils.kt85 dateFormatter: LocalDateTimeFormatter, in formatDateTimeForTimePeriod()
101 dateFormatter.formatWeekdayDateWithoutYear(modifiedStartDate) in formatDateTimeForTimePeriod()
103 dateFormatter.formatShortDateWithoutYear(modifiedStartDate) in formatDateTimeForTimePeriod()
107 dateFormatter.formatDateRangeWithoutYear( in formatDateTimeForTimePeriod()
115 dateFormatter.formatMonthWithoutYear(modifiedStartDate) in formatDateTimeForTimePeriod()
123 dateFormatter.formatWeekdayDateWithYear(modifiedStartDate) in formatDateTimeForTimePeriod()
125 dateFormatter.formatShortDateWithYear(modifiedStartDate) in formatDateTimeForTimePeriod()
129 dateFormatter.formatDateRangeWithYear( in formatDateTimeForTimePeriod()
135 dateFormatter.formatMonthWithYear(modifiedStartDate) in formatDateTimeForTimePeriod()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/
DMenstruationPeriodFormatter.kt50 val dateFormatter = LocalDateTimeFormatter(context) constant
135 dateFormatter.formatDateRangeWithoutYear(startDate, localEndDate) in getDateRange()
137 dateFormatter.formatDateRangeWithYear(startDate, localEndDate) in getDateRange()
142 dateFormatter.formatShortDate(startDate) in getDateRange()
144 dateFormatter.formatLongDate(startDate) in getDateRange()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/preference/
DAggregationDataCard.kt46 private val dateFormatter = LocalDateTimeFormatter(context) constant
189 dateFormatter.formatDateRangeWithoutYear(startDate, localEndDate) in formatDateText()
191 dateFormatter.formatDateRangeWithYear(startDate, localEndDate) in formatDateText()
196 dateFormatter.formatShortDate(startDate) in formatDateText()
198 dateFormatter.formatLongDate(startDate) in formatDateText()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/backuprestore/
DBackupAndRestoreSettingsFragment.kt116 private val dateFormatter: LocalDateTimeFormatter by lazy { in <lambda>() constant in com.android.healthconnect.controller.backuprestore.BackupAndRestoreSettingsFragment
374 dateFormatter.formatDateAndTime(lastSuccessfulExportTime), in <lambda>()
406 dateFormatter.formatDateAndTime(lastSuccessfulExportTime), in <lambda>()
411 dateFormatter.formatLongDate(lastSuccessfulExportTime), in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/request/
DRequestPermissionHeaderPreference.kt59 private val dateFormatter by lazy { LocalDateTimeFormatter(context) } in <lambda>() constant
176 val formattedDate = dateFormatter.formatLongDate(screenState.dataAccessDate) in getAdditionalScreenStateSummary()
188 val formattedDate = dateFormatter.formatLongDate(screenState.dataAccessDate) in getAdditionalScreenStateSummary()
DCombinedAdditionalPermissionsFragment.kt61 private val dateFormatter by lazy { LocalDateTimeFormatter(requireContext()) } in <lambda>() constant in com.android.healthconnect.controller.permissions.request.CombinedAdditionalPermissionsFragment
232 val formattedDate = dateFormatter.formatLongDate(dataAccessDate) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/entries/datenavigation/
DDatePickerSpinnerAdapter.kt38 private val dateFormatter = LocalDateTimeFormatter(context) constant
59 dateFormatter, in getView()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/exportimport/
DScheduledExportFragment.kt76 private val dateFormatter: LocalDateTimeFormatter by lazy { in <lambda>() constant in com.android.healthconnect.controller.exportimport.ScheduledExportFragment
223 dateFormatter.formatLongDate(scheduledExportTime), in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/additionalaccess/
DAdditionalAccessFragment.kt69 private val dateFormatter by lazy { LocalDateTimeFormatter(requireContext()) } in <lambda>() constant
207 val formattedDate = dateFormatter.formatLongDate(dataAccessDate) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/entries/api/
DLoadEntriesHelper.kt73 private val dateFormatter = LocalDateTimeFormatter(context) in <lambda>() constant
282 dateFormatter.formatLongDate(date) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/app/
DSettingsFitnessAppFragment.kt93 private val dateFormatter by lazy { LocalDateTimeFormatter(requireContext()) } in <lambda>() constant in com.android.healthconnect.controller.permissions.app.SettingsFitnessAppFragment
348 val formattedDate = dateFormatter.formatLongDate(dataAccessDate) in <lambda>()
DFitnessAppFragment.kt109 private val dateFormatter by lazy { LocalDateTimeFormatter(requireContext()) } in <lambda>() constant in com.android.healthconnect.controller.permissions.app.FitnessAppFragment
393 val formattedDate = dateFormatter.formatLongDate(dataAccessDate) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/home/
DHomeFragment.kt132 private val dateFormatter: LocalDateTimeFormatter by lazy { in <lambda>() constant in com.android.healthconnect.controller.home.HomeFragment
358 dateFormatter.formatLongDate(lastFailedExportTime), in <lambda>()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiNative.java4694 final static SimpleDateFormat dateFormatter = new SimpleDateFormat("HH:mm:ss.SSS");
4715 dateFormatter.setTimeZone(TimeZone.getDefault());
4718 dateFormatter.format(new Date(mEstimatedWallclockMSec)),