Home
last modified time | relevance | path

Searched refs:currentDate (Results 1 – 16 of 16) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/calendar/
H A Dcalendar_element.cpp120 auto currentDate = controller->GetCurrentMonth(); in RegisterChangeEndListener() local
122 dateTime.year = currentDate.year < 0 ? 0 : static_cast<uint32_t>(currentDate.year); in RegisterChangeEndListener()
123 dateTime.month = currentDate.month < 0 ? 0 : static_cast<uint32_t>(currentDate.month); in RegisterChangeEndListener()
204 auto currentDate = controller->GetCurrentMonth(); in BuildCardCalendar() local
207 today.month == currentDate ? json->Put("day", today.day) : json->Put("day", 1); in BuildCardCalendar()
208 json->Put("month", currentDate.month); in BuildCardCalendar()
209 json->Put("year", currentDate.year); in BuildCardCalendar()
H A Dcalendar_data_adapter.cpp56 Date currentDate = Date::Current(); in CalendarDataAdapter() local
57 today_.day = static_cast<int32_t>(currentDate.day); in CalendarDataAdapter()
58 today_.month.year = static_cast<int32_t>(currentDate.year); in CalendarDataAdapter()
59 today_.month.month = static_cast<int32_t>(currentDate.month) - 1; in CalendarDataAdapter()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/
H A Ddatepicker_pattern.cpp1310 PickerDate currentDate; in GetCurrentDateByYearMonthDayColumn() local
1317 CHECK_NULL_RETURN(stackDay, currentDate); in GetCurrentDateByYearMonthDayColumn()
1327 CHECK_NULL_RETURN(blendDay, currentDate); in GetCurrentDateByYearMonthDayColumn()
1338 currentDate.SetMonth( in GetCurrentDateByYearMonthDayColumn()
1341 return currentDate; in GetCurrentDateByYearMonthDayColumn()
1382 PickerDate currentDate; in GetCurrentDateByMonthDaysColumn() local
1384 CHECK_NULL_RETURN(host, currentDate); in GetCurrentDateByMonthDaysColumn()
1388 return currentDate; in GetCurrentDateByMonthDaysColumn()
1395 CHECK_NULL_RETURN(year, currentDate); in GetCurrentDateByMonthDaysColumn()
1425 currentDate.SetMonth(month); in GetCurrentDateByMonthDaysColumn()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/picker/
H A Dpicker_datetime_component.cpp192 void PickerDateTimeComponent::FillSolarLunarDays(bool lunar, const PickerDate& currentDate) in FillSolarLunarDays() argument
200 uint32_t centerDays = currentDate.ToDays(); in FillSolarLunarDays()
207 currentDate_ = currentDate; in FillSolarLunarDays()
H A Dpicker_datetime_component.h76 void FillSolarLunarDays(bool lunar, const PickerDate& currentDate);
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/js-service-widget-ui/
H A Djs-service-widget-basic-calendar.md137 date="{{currentDate}}"
166 "currentDate": "",
/ohos5.0/base/time/time_service/test/unittest/js_test/permission/
H A DSystemTimeGet.test.js376 const currentDate = await systemTime.getDate();
377 …expect(currentDate instanceof Date && currentDate.toDateString() === date.toDateString()).assertTr…
H A DSystemDateTimeGet.test.js395 const currentDate = await systemDateTime.getDate();
396 …expect(currentDate instanceof Date && currentDate.toDateString() === date.toDateString()).assertTr…
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dcalendar_picker_modifier.cpp69 auto currentDate = PickerDate::Current(); in ResetSelectedDate() local
71 frameNode, currentDate.GetYear(), currentDate.GetMonth(), currentDate.GetDay()); in ResetSelectedDate()
/ohos5.0/docs/en/application-dev/reference/apis-arkui/js-service-widget-ui/
H A Djs-service-widget-basic-calendar.md137 date="{{currentDate}}"
166 "currentDate": "",
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/progress/
H A Dprogress_modifier.cpp223 float currentDate = modifier->sweepingDate_->Get(); in StartCapsuleSweepingAnimationImpl() local
226 modifier->StopSweepingAnimation(currentDate); in StartCapsuleSweepingAnimationImpl()
227 … modifier->StartContinuousSweepingAnimation(currentDate, modifier->sweepingDateBackup_, speed); in StartCapsuleSweepingAnimationImpl()
425 float currentDate = modifier->sweepingDate_->Get(); in StartRingSweepingAnimationImpl() local
426 modifier->StopSweepingAnimation(currentDate); in StartRingSweepingAnimationImpl()
427 … modifier->StartContinuousSweepingAnimation(currentDate, modifier->sweepingDateBackup_, speed); in StartRingSweepingAnimationImpl()
434 void ProgressModifier::StartContinuousSweepingAnimation(float currentDate, float newDate, float spe… in StartContinuousSweepingAnimation() argument
448 int32_t time = (newDate - currentDate) / speed; in StartContinuousSweepingAnimation()
479 float currentDate = modifier->sweepingDate_->Get(); in StartContinuousSweepingAnimation() local
594 float currentDate = modifier->sweepingDate_->Get(); in StartLinearSweepingAnimationImpl() local
[all …]
H A Dprogress_modifier.h101 void StartContinuousSweepingAnimation(float currentDate, float newDate, float speed);
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_dfx/src/
H A Ddfx_reporter.cpp445 string currentDate = DfxUtils::GetCurrentDate(); in ReportMedialibraryAPI() local
450 "DATE", currentDate, in ReportMedialibraryAPI()
/ohos5.0/foundation/distributeddatamgr/pasteboard/services/dialog/PasteboardDialog/hvigor/
H A Dhvigor-wrapper.js15currentDate=yo(this.options.pattern,mo())),this.filename=this.fileFormatter({index:0,date:this.sta…
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/application/hvigor/
H A Dhvigor-wrapper.js15currentDate=yo(this.options.pattern,mo())),this.filename=this.fileFormatter({index:0,date:this.sta…
/ohos5.0/base/useriam/face_auth/ui/Settings_FaceAuth/hvigor/
H A Dhvigor-wrapper.js16currentDate=yo(this.options.pattern,mo())),this.filename=this.fileFormatter({index:0,date:this.sta…