Searched refs:selectTime (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-methods-timepicker-dialog.md | 77 private selectTime: Date = new Date('2020-12-25T08:30:00') 85 selected: this.selectTime, 90 // 设置selectTime为按下确定按钮时的时间,这样当弹窗再次弹出时显示选中的为上一次确定的时间 92 this.selectTime.setHours(value.hour, value.minute) 120 selected: this.selectTime, 127 this.selectTime.setHours(value.hour, value.minute) 168 private selectTime: Date = new Date('2020-12-25T08:30:00') 176 selected: this.selectTime, 228 private selectTime: Date = new Date('2020-12-25T08:30:00'); 236 selected: this.selectTime, [all …]
|
/ohos5.0/docs/zh-cn/application-dev/ui/ |
H A D | arkts-fixes-style-dialog.md | 161 …kbox被选中时,显示农历。当按下确定按钮时,弹窗会通过onDateAccept返回目前所选中的日期。如需弹窗再次弹出时显示选中的是上一次确定的日期,就要在回调中重新给selectTime进行赋值。 167 @State selectTime: Date = new Date('2023-12-25T08:30:00'); 177 selected: this.selectTime, 181 this.selectTime = value 200 @State selectTime: Date = new Date('2023-12-25T08:30:00'); 210 selected: this.selectTime, 248 @State selectTime: Date = new Date('2023-12-25T08:30:00'); 256 selected: this.selectTime,
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-methods-timepicker-dialog.md | 77 private selectTime: Date = new Date('2020-12-25T08:30:00') 85 selected: this.selectTime, 92 this.selectTime.setHours(value.hour, value.minute) 120 selected: this.selectTime, 127 this.selectTime.setHours(value.hour, value.minute) 168 private selectTime: Date = new Date('2020-12-25T08:30:00') 176 selected: this.selectTime, 189 this.selectTime.setHours(value.hour, value.minute) 228 private selectTime: Date = new Date('2020-12-25T08:30:00'); 236 selected: this.selectTime, [all …]
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | arkts-fixes-style-dialog.md | 161 …irmed date when the dialog box is shown again, reassign the value to **selectTime** in the callbac… 167 @State selectTime: Date = new Date('2023-12-25T08:30:00'); 177 selected: this.selectTime, 181 this.selectTime = value 200 @State selectTime: Date = new Date('2023-12-25T08:30:00'); 210 selected: this.selectTime, 248 @State selectTime: Date = new Date('2023-12-25T08:30:00'); 256 selected: this.selectTime,
|
/ohos5.0/foundation/ability/form_fwk/services/src/ |
H A D | form_timer_mgr.cpp | 894 int64_t selectTime = FormUtil::GetMillisecondFromTm(tmAtTime); in UpdateAtTimerAlarm() local 895 if (selectTime < currentTime) { in UpdateAtTimerAlarm() 896 selectTime += Constants::MS_PER_DAY; in UpdateAtTimerAlarm() 900 selectTime, currentTime); in UpdateAtTimerAlarm() 904 int64_t nextTime = timeInSec + (selectTime - currentTime); in UpdateAtTimerAlarm()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/ |
H A D | js-apis-arkui-UIContext.md | 782 selectTime: Date = new Date('2020-12-25T08:30:00') 784 this.selectTime.setHours(h,m) 791 @State selectTime: Date = new Date('2023-12-25T08:30:00'); 799 selected: this.selectTime, 801 // 设置selectTime为按下确定按钮时的时间,这样当弹窗再次弹出时显示选中的为上一次确定的时间 857 @State selectTime: Date = new Date('2023-12-25T08:30:00');
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/ |
H A D | js-apis-arkui-UIContext.md | 782 selectTime: Date = new Date('2020-12-25T08:30:00') 784 this.selectTime.setHours(h,m) 791 @State selectTime: Date = new Date('2023-12-25T08:30:00'); 799 selected: this.selectTime, 801 …// Set selectTime to the time when the OK button is clicked. In this way, when the dialog box is d… 857 @State selectTime: Date = new Date('2023-12-25T08:30:00');
|