@openui5/ts-types 1.113.0 → 1.114.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.113.0
1
+ // For Library Version: 1.114.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -217,8 +217,8 @@ declare namespace sap {
217
217
 
218
218
  interface $MonthSettings extends sap.ui.core.$ControlSettings {
219
219
  /**
220
- * A date as JavaScript Date object. The month including this date is rendered and this date is focused
221
- * initially (if no other focus is set).
220
+ * A date as UI5Date or JavaScript Date object. The month including this date is rendered and this date
221
+ * is focused initially (if no other focus is set).
222
222
  */
223
223
  date?:
224
224
  | object
@@ -494,10 +494,10 @@ declare namespace sap {
494
494
 
495
495
  interface $MonthsRowSettings extends sap.ui.core.$ControlSettings {
496
496
  /**
497
- * A date as JavaScript Date object. The month including this date is rendered and this date is focused
498
- * initially (if no other focus is set). If the date property is not in the range `startDate` + `months`
499
- * in the rendering phase, it is set to the `startDate`. So after setting the `startDate` the date should
500
- * be set to be in the visible range.
497
+ * A date as UI5Date or JavaScript Date object. The month including this date is rendered and this date
498
+ * is focused initially (if no other focus is set). If the date property is not in the range `startDate`
499
+ * + `months` in the rendering phase, it is set to the `startDate`. So after setting the `startDate` the
500
+ * date should be set to be in the visible range.
501
501
  */
502
502
  date?:
503
503
  | object
@@ -505,8 +505,8 @@ declare namespace sap {
505
505
  | `{${string}}`;
506
506
 
507
507
  /**
508
- * Start date, as JavaScript Date object, of the row. The month of this date is the first month of the displayed
509
- * row.
508
+ * Start date, as UI5Date or JavaScript Date object, of the row. The month of this date is the first month
509
+ * of the displayed row.
510
510
  */
511
511
  startDate?:
512
512
  | object
@@ -620,10 +620,10 @@ declare namespace sap {
620
620
 
621
621
  interface $TimesRowSettings extends sap.ui.core.$ControlSettings {
622
622
  /**
623
- * A date as JavaScript Date object. The month including this date is rendered and this date is focused
624
- * initially (if no other focus is set). If the date property is not in the range `startDate` + `items`
625
- * in the rendering phase, it is set to the `startDate`. So after setting the `startDate` the date should
626
- * be set to be in the visible range.
623
+ * A date as UI5Date or JavaScript Date object. The month including this date is rendered and this date
624
+ * is focused initially (if no other focus is set). If the date property is not in the range `startDate`
625
+ * + `items` in the rendering phase, it is set to the `startDate`. So after setting the `startDate` the
626
+ * date should be set to be in the visible range.
627
627
  */
628
628
  date?:
629
629
  | object
@@ -631,7 +631,7 @@ declare namespace sap {
631
631
  | `{${string}}`;
632
632
 
633
633
  /**
634
- * Start date, as JavaScript Date object, of the row.
634
+ * Start date, as UI5Date or JavaScript Date object, of the row.
635
635
  */
636
636
  startDate?:
637
637
  | object
@@ -796,8 +796,8 @@ declare namespace sap {
796
796
  /**
797
797
  * @SINCE 1.34.0
798
798
  *
799
- * Date as JavaScript Date object. For this date a `YearPicker` is rendered. If a Year is selected the date
800
- * is updated with the start date of the selected year (depending on the calendar type).
799
+ * Date as UI5Date or JavaScript Date object. For this date a `YearPicker` is rendered. If a Year is selected
800
+ * the date is updated with the start date of the selected year (depending on the calendar type).
801
801
  */
802
802
  date?:
803
803
  | object
@@ -928,9 +928,9 @@ declare namespace sap {
928
928
  */
929
929
  displayDate(
930
930
  /**
931
- * JavaScript date object for focused date.
931
+ * date instance for focused date.
932
932
  */
933
- oDate: Date
933
+ oDate: Date | import("sap/ui/core/date/UI5Date").default
934
934
  ): this;
935
935
  /**
936
936
  * @SINCE 1.110.0
@@ -1006,9 +1006,9 @@ declare namespace sap {
1006
1006
  */
1007
1007
  setDate(
1008
1008
  /**
1009
- * JavaScript date object for start date.
1009
+ * date instance for start date.
1010
1010
  */
1011
- oDate: Date
1011
+ oDate: Date | import("sap/ui/core/date/UI5Date").default
1012
1012
  ): this;
1013
1013
  /**
1014
1014
  * Sets a new value for property {@link #getDays days}.
@@ -1054,9 +1054,9 @@ declare namespace sap {
1054
1054
  */
1055
1055
  setStartDate(
1056
1056
  /**
1057
- * A JavaScript date
1057
+ * A date instance
1058
1058
  */
1059
- oStartDate: Date
1059
+ oStartDate: Date | import("sap/ui/core/date/UI5Date").default
1060
1060
  ): this;
1061
1061
  }
1062
1062
  /**
@@ -2275,9 +2275,9 @@ declare namespace sap {
2275
2275
  */
2276
2276
  checkDateFocusable(
2277
2277
  /**
2278
- * JavaScript date object for focused date
2278
+ * date instance for focused date
2279
2279
  */
2280
- oDate: Date
2280
+ oDate: Date | import("sap/ui/core/date/UI5Date").default
2281
2281
  ): boolean;
2282
2282
  /**
2283
2283
  * @SINCE 1.38.0
@@ -2360,9 +2360,9 @@ declare namespace sap {
2360
2360
  */
2361
2361
  displayDate(
2362
2362
  /**
2363
- * JavaScript date object for focused date
2363
+ * date instance for focused date
2364
2364
  */
2365
- oDate: Date
2365
+ oDate: Date | import("sap/ui/core/date/UI5Date").default
2366
2366
  ): this;
2367
2367
  /**
2368
2368
  * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
@@ -2450,8 +2450,8 @@ declare namespace sap {
2450
2450
  /**
2451
2451
  * Gets current value of property {@link #getDate date}.
2452
2452
  *
2453
- * A date as JavaScript Date object. The month including this date is rendered and this date is focused
2454
- * initially (if no other focus is set).
2453
+ * A date as UI5Date or JavaScript Date object. The month including this date is rendered and this date
2454
+ * is focused initially (if no other focus is set).
2455
2455
  *
2456
2456
  * @returns Value of property `date`
2457
2457
  */
@@ -2782,9 +2782,9 @@ declare namespace sap {
2782
2782
  */
2783
2783
  setDate(
2784
2784
  /**
2785
- * a JavaScript date
2785
+ * a date instance
2786
2786
  */
2787
- oDate: Date
2787
+ oDate: Date | import("sap/ui/core/date/UI5Date").default
2788
2788
  ): this;
2789
2789
  /**
2790
2790
  * @SINCE 1.28.9
@@ -3537,8 +3537,9 @@ declare namespace sap {
3537
3537
  * the properties and aggregation are directly taken from the parent (to not duplicate and synchronize DateRanges
3538
3538
  * and so on...).
3539
3539
  *
3540
- * The MontsRow works with JavaScript Date objects, but only the month and the year are used to display
3541
- * and interact. As representation for a month, the 1st of the month will always be returned in the API.
3540
+ * The MontsRow works with UI5Date or JavaScript Date objects, but only the month and the year are used
3541
+ * to display and interact. As representation for a month, the 1st of the month will always be returned
3542
+ * in the API.
3542
3543
  */
3543
3544
  class MonthsRow extends sap.ui.core.Control {
3544
3545
  /**
@@ -3736,9 +3737,9 @@ declare namespace sap {
3736
3737
  */
3737
3738
  checkDateFocusable(
3738
3739
  /**
3739
- * JavaScript Date object for focused date.
3740
+ * date instance for focused date.
3740
3741
  */
3741
- oDateTime: Date
3742
+ oDateTime: Date | import("sap/ui/core/date/UI5Date").default
3742
3743
  ): boolean;
3743
3744
  /**
3744
3745
  * Destroys all the selectedDates in the aggregation {@link #getSelectedDates selectedDates}.
@@ -3793,9 +3794,9 @@ declare namespace sap {
3793
3794
  */
3794
3795
  displayDate(
3795
3796
  /**
3796
- * JavaScript Date object for focused date.
3797
+ * date instance for focused date.
3797
3798
  */
3798
- oDate: Date
3799
+ oDate: Date | import("sap/ui/core/date/UI5Date").default
3799
3800
  ): this;
3800
3801
  /**
3801
3802
  * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
@@ -3810,7 +3811,7 @@ declare namespace sap {
3810
3811
  */
3811
3812
  mParameters?: {
3812
3813
  /**
3813
- * First date, as JavaScript Date object, of the month that is focused.
3814
+ * First date, as UI5Date or JavaScript Date object, of the month that is focused.
3814
3815
  */
3815
3816
  date?: object;
3816
3817
  /**
@@ -3840,10 +3841,10 @@ declare namespace sap {
3840
3841
  /**
3841
3842
  * Gets current value of property {@link #getDate date}.
3842
3843
  *
3843
- * A date as JavaScript Date object. The month including this date is rendered and this date is focused
3844
- * initially (if no other focus is set). If the date property is not in the range `startDate` + `months`
3845
- * in the rendering phase, it is set to the `startDate`. So after setting the `startDate` the date should
3846
- * be set to be in the visible range.
3844
+ * A date as UI5Date or JavaScript Date object. The month including this date is rendered and this date
3845
+ * is focused initially (if no other focus is set). If the date property is not in the range `startDate`
3846
+ * + `months` in the rendering phase, it is set to the `startDate`. So after setting the `startDate` the
3847
+ * date should be set to be in the visible range.
3847
3848
  *
3848
3849
  * @returns Value of property `date`
3849
3850
  */
@@ -3939,8 +3940,8 @@ declare namespace sap {
3939
3940
  /**
3940
3941
  * Gets current value of property {@link #getStartDate startDate}.
3941
3942
  *
3942
- * Start date, as JavaScript Date object, of the row. The month of this date is the first month of the displayed
3943
- * row.
3943
+ * Start date, as UI5Date or JavaScript Date object, of the row. The month of this date is the first month
3944
+ * of the displayed row.
3944
3945
  *
3945
3946
  * @returns Value of property `startDate`
3946
3947
  */
@@ -4065,9 +4066,9 @@ declare namespace sap {
4065
4066
  */
4066
4067
  setDate(
4067
4068
  /**
4068
- * a JavaScript date
4069
+ * a date instance
4069
4070
  */
4070
- oDate: Date
4071
+ oDate: Date | import("sap/ui/core/date/UI5Date").default
4071
4072
  ): this;
4072
4073
  /**
4073
4074
  * Sets a new value for property {@link #getIntervalSelection intervalSelection}.
@@ -4196,9 +4197,9 @@ declare namespace sap {
4196
4197
  */
4197
4198
  setStartDate(
4198
4199
  /**
4199
- * A JavaScript date
4200
+ * A date instance
4200
4201
  */
4201
- oStartDate: Date
4202
+ oStartDate: Date | import("sap/ui/core/date/UI5Date").default
4202
4203
  ): this;
4203
4204
  }
4204
4205
  /**
@@ -4209,7 +4210,7 @@ declare namespace sap {
4209
4210
  * the properties and aggregation are directly taken from the parent (to not duplicate and synchronize DateRanges
4210
4211
  * and so on...).
4211
4212
  *
4212
- * The TimesRow works with JavaScript Date objects.
4213
+ * The TimesRow works with UI5Date or JavaScript Date objects.
4213
4214
  */
4214
4215
  class TimesRow extends sap.ui.core.Control {
4215
4216
  /**
@@ -4407,9 +4408,9 @@ declare namespace sap {
4407
4408
  */
4408
4409
  checkDateFocusable(
4409
4410
  /**
4410
- * JavaScript Date object for focused date.
4411
+ * date instance for focused date.
4411
4412
  */
4412
- oDate: Date
4413
+ oDate: Date | import("sap/ui/core/date/UI5Date").default
4413
4414
  ): boolean;
4414
4415
  /**
4415
4416
  * Destroys all the selectedDates in the aggregation {@link #getSelectedDates selectedDates}.
@@ -4464,9 +4465,9 @@ declare namespace sap {
4464
4465
  */
4465
4466
  displayDate(
4466
4467
  /**
4467
- * A JavaScript Date
4468
+ * A date instance
4468
4469
  */
4469
- oDate: Date
4470
+ oDate: Date | import("sap/ui/core/date/UI5Date").default
4470
4471
  ): this;
4471
4472
  /**
4472
4473
  * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
@@ -4481,7 +4482,7 @@ declare namespace sap {
4481
4482
  */
4482
4483
  mParameters?: {
4483
4484
  /**
4484
- * date, as JavaScript Date object, of the focused time.
4485
+ * date, as UI5Date or JavaScript Date object, of the focused time.
4485
4486
  */
4486
4487
  date?: object;
4487
4488
  /**
@@ -4511,10 +4512,10 @@ declare namespace sap {
4511
4512
  /**
4512
4513
  * Gets current value of property {@link #getDate date}.
4513
4514
  *
4514
- * A date as JavaScript Date object. The month including this date is rendered and this date is focused
4515
- * initially (if no other focus is set). If the date property is not in the range `startDate` + `items`
4516
- * in the rendering phase, it is set to the `startDate`. So after setting the `startDate` the date should
4517
- * be set to be in the visible range.
4515
+ * A date as UI5Date or JavaScript Date object. The month including this date is rendered and this date
4516
+ * is focused initially (if no other focus is set). If the date property is not in the range `startDate`
4517
+ * + `items` in the rendering phase, it is set to the `startDate`. So after setting the `startDate` the
4518
+ * date should be set to be in the visible range.
4518
4519
  *
4519
4520
  * @returns Value of property `date`
4520
4521
  */
@@ -4621,7 +4622,7 @@ declare namespace sap {
4621
4622
  /**
4622
4623
  * Gets current value of property {@link #getStartDate startDate}.
4623
4624
  *
4624
- * Start date, as JavaScript Date object, of the row.
4625
+ * Start date, as UI5Date or JavaScript Date object, of the row.
4625
4626
  *
4626
4627
  * @returns Value of property `startDate`
4627
4628
  */
@@ -4746,9 +4747,9 @@ declare namespace sap {
4746
4747
  */
4747
4748
  setDate(
4748
4749
  /**
4749
- * A JavaScript Date
4750
+ * A date instance
4750
4751
  */
4751
- oDate: Date
4752
+ oDate: Date | import("sap/ui/core/date/UI5Date").default
4752
4753
  ): this;
4753
4754
  /**
4754
4755
  * Sets a new value for property {@link #getIntervalMinutes intervalMinutes}.
@@ -4894,15 +4895,15 @@ declare namespace sap {
4894
4895
  bSingleSelection?: boolean
4895
4896
  ): this;
4896
4897
  /**
4897
- * Sets start date, as JavaScript Date object, of the row.
4898
+ * Sets start date, as UI5Date or JavaScript Date object, of the row.
4898
4899
  *
4899
4900
  * @returns Reference to `this` for method chaining
4900
4901
  */
4901
4902
  setStartDate(
4902
4903
  /**
4903
- * A JavaScript Date
4904
+ * A date instance
4904
4905
  */
4905
- oStartDate: Date
4906
+ oStartDate: Date | import("sap/ui/core/date/UI5Date").default
4906
4907
  ): this;
4907
4908
  }
4908
4909
  /**
@@ -5172,8 +5173,8 @@ declare namespace sap {
5172
5173
  *
5173
5174
  * Gets current value of property {@link #getDate date}.
5174
5175
  *
5175
- * Date as JavaScript Date object. For this date a `YearPicker` is rendered. If a Year is selected the date
5176
- * is updated with the start date of the selected year (depending on the calendar type).
5176
+ * Date as UI5Date or JavaScript Date object. For this date a `YearPicker` is rendered. If a Year is selected
5177
+ * the date is updated with the start date of the selected year (depending on the calendar type).
5177
5178
  *
5178
5179
  * @returns Value of property `date`
5179
5180
  */
@@ -5184,9 +5185,11 @@ declare namespace sap {
5184
5185
  * Return the first date of the first rendered year **Note:** If the YearPicker is not rendered no date
5185
5186
  * is returned
5186
5187
  *
5187
- * @returns A JavaScript Date
5188
+ * @returns A date instance
5188
5189
  */
5189
- getFirstRenderedDate(): Date;
5190
+ getFirstRenderedDate():
5191
+ | Date
5192
+ | import("sap/ui/core/date/UI5Date").default;
5190
5193
  /**
5191
5194
  * @SINCE 1.74
5192
5195
  *
@@ -5347,9 +5350,9 @@ declare namespace sap {
5347
5350
  */
5348
5351
  setDate(
5349
5352
  /**
5350
- * a JavaScript date
5353
+ * a date instance
5351
5354
  */
5352
- oDate: Date
5355
+ oDate: Date | import("sap/ui/core/date/UI5Date").default
5353
5356
  ): this;
5354
5357
  /**
5355
5358
  * @SINCE 1.74
@@ -5567,7 +5570,8 @@ declare namespace sap {
5567
5570
  /**
5568
5571
  * @SINCE 1.38.0
5569
5572
  *
5570
- * Minimum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
5573
+ * Minimum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
5574
+ * object.
5571
5575
  *
5572
5576
  * **Note:** if the date is inside of a month the complete month is displayed, but dates outside the valid
5573
5577
  * range can not be selected.
@@ -5583,7 +5587,8 @@ declare namespace sap {
5583
5587
  /**
5584
5588
  * @SINCE 1.38.0
5585
5589
  *
5586
- * Maximum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
5590
+ * Maximum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
5591
+ * object.
5587
5592
  *
5588
5593
  * **Note:** if the date is inside of a month the complete month is displayed, but dates outside the valid
5589
5594
  * range can not be selected.
@@ -5634,7 +5639,8 @@ declare namespace sap {
5634
5639
  /**
5635
5640
  * @SINCE 1.111
5636
5641
  *
5637
- * Holds a reference to a JavaScript Date Object to define the initially navigated date in the calendar.
5642
+ * Holds a reference to a UI5Date or JavaScript Date object to define the initially navigated date in the
5643
+ * calendar.
5638
5644
  */
5639
5645
  initialFocusedDate?:
5640
5646
  | object
@@ -5929,8 +5935,8 @@ declare namespace sap {
5929
5935
  | `{${string}}`;
5930
5936
 
5931
5937
  /**
5932
- * Start date of the Interval as JavaScript Date object. The month of this Date will be the first month
5933
- * in the displayed row.
5938
+ * Start date of the Interval as UI5Date or JavaScript Date object. The month of this Date will be the first
5939
+ * month in the displayed row.
5934
5940
  */
5935
5941
  startDate?:
5936
5942
  | object
@@ -5978,7 +5984,8 @@ declare namespace sap {
5978
5984
  /**
5979
5985
  * @SINCE 1.38.0
5980
5986
  *
5981
- * Minimum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
5987
+ * Minimum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
5988
+ * object.
5982
5989
  *
5983
5990
  * **Note:** If the `minDate` is set to be after the `maxDate`, the `maxDate` is set to the end of the month
5984
5991
  * of the `minDate`.
@@ -5991,7 +5998,8 @@ declare namespace sap {
5991
5998
  /**
5992
5999
  * @SINCE 1.38.0
5993
6000
  *
5994
- * Maximum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
6001
+ * Maximum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
6002
+ * object.
5995
6003
  *
5996
6004
  * **Note:** If the `maxDate` is set to be before the `minDate`, the `minDate` is set to the begin of the
5997
6005
  * month of the `maxDate`.
@@ -6061,7 +6069,7 @@ declare namespace sap {
6061
6069
 
6062
6070
  interface $CalendarRowSettings extends sap.ui.core.$ControlSettings {
6063
6071
  /**
6064
- * Start date, as JavaScript Date object, of the row. As default, the current date is used.
6072
+ * Start date, as UI5Date or JavaScript Date object, of the row. As default, the current date is used.
6065
6073
  */
6066
6074
  startDate?:
6067
6075
  | object
@@ -6346,8 +6354,8 @@ declare namespace sap {
6346
6354
  | `{${string}}`;
6347
6355
 
6348
6356
  /**
6349
- * Start date of the Interval as JavaScript Date object. The time interval corresponding to this Date and
6350
- * `items` and `intervalMinutes` will be the first time in the displayed row.
6357
+ * Start date of the Interval as UI5Date or JavaScript Date object. The time interval corresponding to this
6358
+ * Date and `items` and `intervalMinutes` will be the first time in the displayed row.
6351
6359
  */
6352
6360
  startDate?:
6353
6361
  | object
@@ -6409,7 +6417,8 @@ declare namespace sap {
6409
6417
  /**
6410
6418
  * @SINCE 1.38.0
6411
6419
  *
6412
- * Minimum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
6420
+ * Minimum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
6421
+ * object.
6413
6422
  *
6414
6423
  * **Note:** If the `minDate` is set to be after the `maxDate`, the `maxDate` is set to the end of the month
6415
6424
  * of the `minDate`.
@@ -6422,7 +6431,8 @@ declare namespace sap {
6422
6431
  /**
6423
6432
  * @SINCE 1.38.0
6424
6433
  *
6425
- * Maximum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
6434
+ * Maximum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
6435
+ * object.
6426
6436
  *
6427
6437
  * **Note:** If the `maxDate` is set to be before the `minDate`, the `minDate` is set to the begin of the
6428
6438
  * month of the `maxDate`.
@@ -6685,7 +6695,7 @@ declare namespace sap {
6685
6695
 
6686
6696
  interface $DateRangeSettings extends sap.ui.core.$ElementSettings {
6687
6697
  /**
6688
- * Start date for a date range. This must be a JavaScript date object.
6698
+ * Start date for a date range. This must be a UI5Date or JavaScript Date object.
6689
6699
  */
6690
6700
  startDate?:
6691
6701
  | object
@@ -6694,7 +6704,7 @@ declare namespace sap {
6694
6704
 
6695
6705
  /**
6696
6706
  * End date for a date range. If empty only a single date is presented by this DateRange element. This must
6697
- * be a JavaScript date object.
6707
+ * be a UI5Date or JavaScript Date object.
6698
6708
  */
6699
6709
  endDate?:
6700
6710
  | object
@@ -8109,9 +8119,9 @@ declare namespace sap {
8109
8119
  */
8110
8120
  displayDate(
8111
8121
  /**
8112
- * JavaScript date object for focused date
8122
+ * date instance for focused date
8113
8123
  */
8114
- oDate: Date
8124
+ oDate: Date | import("sap/ui/core/date/UI5Date").default
8115
8125
  ): this;
8116
8126
  /**
8117
8127
  * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
@@ -8186,9 +8196,9 @@ declare namespace sap {
8186
8196
  */
8187
8197
  focusDate(
8188
8198
  /**
8189
- * A JavaScript date object for focused date
8199
+ * A date instance for focused date
8190
8200
  */
8191
- oDate: Date
8201
+ oDate: Date | import("sap/ui/core/date/UI5Date").default
8192
8202
  ): this;
8193
8203
  /**
8194
8204
  * @SINCE 1.28.0
@@ -8238,7 +8248,8 @@ declare namespace sap {
8238
8248
  *
8239
8249
  * Gets current value of property {@link #getInitialFocusedDate initialFocusedDate}.
8240
8250
  *
8241
- * Holds a reference to a JavaScript Date Object to define the initially navigated date in the calendar.
8251
+ * Holds a reference to a UI5Date or JavaScript Date object to define the initially navigated date in the
8252
+ * calendar.
8242
8253
  *
8243
8254
  * @returns Value of property `initialFocusedDate`
8244
8255
  */
@@ -8264,7 +8275,8 @@ declare namespace sap {
8264
8275
  *
8265
8276
  * Gets current value of property {@link #getMaxDate maxDate}.
8266
8277
  *
8267
- * Maximum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
8278
+ * Maximum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
8279
+ * object.
8268
8280
  *
8269
8281
  * **Note:** if the date is inside of a month the complete month is displayed, but dates outside the valid
8270
8282
  * range can not be selected.
@@ -8280,7 +8292,8 @@ declare namespace sap {
8280
8292
  *
8281
8293
  * Gets current value of property {@link #getMinDate minDate}.
8282
8294
  *
8283
- * Minimum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
8295
+ * Minimum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
8296
+ * object.
8284
8297
  *
8285
8298
  * **Note:** if the date is inside of a month the complete month is displayed, but dates outside the valid
8286
8299
  * range can not be selected.
@@ -8398,9 +8411,9 @@ declare namespace sap {
8398
8411
  *
8399
8412
  * There might be some days of the previous month shown, but they can not be focused.
8400
8413
  *
8401
- * @returns JavaScript date object for start date
8414
+ * @returns date instance for start date
8402
8415
  */
8403
- getStartDate(): Date;
8416
+ getStartDate(): Date | import("sap/ui/core/date/UI5Date").default;
8404
8417
  /**
8405
8418
  * @SINCE 1.38.0
8406
8419
  *
@@ -8638,7 +8651,8 @@ declare namespace sap {
8638
8651
  *
8639
8652
  * Sets a new value for property {@link #getInitialFocusedDate initialFocusedDate}.
8640
8653
  *
8641
- * Holds a reference to a JavaScript Date Object to define the initially navigated date in the calendar.
8654
+ * Holds a reference to a UI5Date or JavaScript Date object to define the initially navigated date in the
8655
+ * calendar.
8642
8656
  *
8643
8657
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
8644
8658
  *
@@ -8688,9 +8702,9 @@ declare namespace sap {
8688
8702
  */
8689
8703
  setMaxDate(
8690
8704
  /**
8691
- * a JavaScript date
8705
+ * a date instance
8692
8706
  */
8693
- oDate: Date
8707
+ oDate: Date | import("sap/ui/core/date/UI5Date").default
8694
8708
  ): this;
8695
8709
  /**
8696
8710
  * Sets a minimum date for the calendar.
@@ -8699,9 +8713,9 @@ declare namespace sap {
8699
8713
  */
8700
8714
  setMinDate(
8701
8715
  /**
8702
- * a JavaScript date
8716
+ * a date instance
8703
8717
  */
8704
- oDate: Date
8718
+ oDate: Date | import("sap/ui/core/date/UI5Date").default
8705
8719
  ): this;
8706
8720
  /**
8707
8721
  * @SINCE 1.28.0
@@ -9353,9 +9367,9 @@ declare namespace sap {
9353
9367
  *
9354
9368
  * Start date of the Interval
9355
9369
  *
9356
- * @returns JavaScript date object for property `startDate`
9370
+ * @returns date instance for property `startDate`
9357
9371
  */
9358
- getStartDate(): Date;
9372
+ getStartDate(): Date | import("sap/ui/core/date/UI5Date").default;
9359
9373
  /**
9360
9374
  * Sets a new value for property {@link #getDays days}.
9361
9375
  *
@@ -9449,9 +9463,9 @@ declare namespace sap {
9449
9463
  */
9450
9464
  setStartDate(
9451
9465
  /**
9452
- * A JavaScript Date
9466
+ * A date instance
9453
9467
  */
9454
- oStartDate: Date
9468
+ oStartDate: Date | import("sap/ui/core/date/UI5Date").default
9455
9469
  ): this;
9456
9470
  }
9457
9471
  /**
@@ -9826,9 +9840,9 @@ declare namespace sap {
9826
9840
  *
9827
9841
  * Calendar with granularity of months displayed in one line.
9828
9842
  *
9829
- * **Note:** JavaScript Date objects are used to set and return the months, mark them as selected or as
9830
- * a special type. But the date part of the Date object is not used. If a Date object is returned the date
9831
- * will be set to the 1st of the corresponding month.
9843
+ * **Note:** UI5Date or JavaScript Date objects are used to set and return the months, mark them as selected
9844
+ * or as a special type. But the date part of the Date object is not used. If a Date object is returned
9845
+ * the date will be set to the 1st of the corresponding month.
9832
9846
  */
9833
9847
  class CalendarMonthInterval extends sap.ui.core.Control {
9834
9848
  /**
@@ -10144,9 +10158,9 @@ declare namespace sap {
10144
10158
  */
10145
10159
  displayDate(
10146
10160
  /**
10147
- * JavaScript date object for displayed date. (The month of this date will be displayed.)
10161
+ * date instance for displayed date. (The month of this date will be displayed.)
10148
10162
  */
10149
- oDatetime: Date
10163
+ oDatetime: Date | import("sap/ui/core/date/UI5Date").default
10150
10164
  ): this;
10151
10165
  /**
10152
10166
  * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
@@ -10195,9 +10209,9 @@ declare namespace sap {
10195
10209
  */
10196
10210
  focusDate(
10197
10211
  /**
10198
- * JavaScript date object for focused date. (The month of this date will be focused.)
10212
+ * date instance for focused date. (The month of this date will be focused.)
10199
10213
  */
10200
- oDatetime: Date
10214
+ oDatetime: Date | import("sap/ui/core/date/UI5Date").default
10201
10215
  ): sap.ui.unified.Calendar;
10202
10216
  /**
10203
10217
  * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
@@ -10225,7 +10239,8 @@ declare namespace sap {
10225
10239
  *
10226
10240
  * Gets current value of property {@link #getMaxDate maxDate}.
10227
10241
  *
10228
- * Maximum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
10242
+ * Maximum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
10243
+ * object.
10229
10244
  *
10230
10245
  * **Note:** If the `maxDate` is set to be before the `minDate`, the `minDate` is set to the begin of the
10231
10246
  * month of the `maxDate`.
@@ -10238,7 +10253,8 @@ declare namespace sap {
10238
10253
  *
10239
10254
  * Gets current value of property {@link #getMinDate minDate}.
10240
10255
  *
10241
- * Minimum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
10256
+ * Minimum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
10257
+ * object.
10242
10258
  *
10243
10259
  * **Note:** If the `minDate` is set to be after the `maxDate`, the `maxDate` is set to the end of the month
10244
10260
  * of the `minDate`.
@@ -10305,8 +10321,8 @@ declare namespace sap {
10305
10321
  /**
10306
10322
  * Gets current value of property {@link #getStartDate startDate}.
10307
10323
  *
10308
- * Start date of the Interval as JavaScript Date object. The month of this Date will be the first month
10309
- * in the displayed row.
10324
+ * Start date of the Interval as UI5Date or JavaScript Date object. The month of this Date will be the first
10325
+ * month in the displayed row.
10310
10326
  *
10311
10327
  * @returns Value of property `startDate`
10312
10328
  */
@@ -10470,9 +10486,9 @@ declare namespace sap {
10470
10486
  */
10471
10487
  setMaxDate(
10472
10488
  /**
10473
- * A JavaScript Date
10489
+ * A date instance
10474
10490
  */
10475
- oDate?: Date
10491
+ oDate?: Date | import("sap/ui/core/date/UI5Date").default
10476
10492
  ): this;
10477
10493
  /**
10478
10494
  * Sets a minimum date for the calendar.
@@ -10481,9 +10497,9 @@ declare namespace sap {
10481
10497
  */
10482
10498
  setMinDate(
10483
10499
  /**
10484
- * A JavaScript Date
10500
+ * A date instance
10485
10501
  */
10486
- oDate?: Date
10502
+ oDate?: Date | import("sap/ui/core/date/UI5Date").default
10487
10503
  ): this;
10488
10504
  /**
10489
10505
  * Sets a new value for property {@link #getMonths months}.
@@ -10549,9 +10565,9 @@ declare namespace sap {
10549
10565
  */
10550
10566
  setStartDate(
10551
10567
  /**
10552
- * A JavaScript date
10568
+ * A date instance
10553
10569
  */
10554
- oStartDate: Date
10570
+ oStartDate: Date | import("sap/ui/core/date/UI5Date").default
10555
10571
  ): this;
10556
10572
  /**
10557
10573
  * Sets a new value for property {@link #getWidth width}.
@@ -10956,11 +10972,11 @@ declare namespace sap {
10956
10972
  */
10957
10973
  mParameters?: {
10958
10974
  /**
10959
- * Interval start date as JavaScript date object
10975
+ * Interval start date as UI5Date or JavaScript Date object
10960
10976
  */
10961
10977
  startDate?: object;
10962
10978
  /**
10963
- * Interval end date as JavaScript date object
10979
+ * Interval end date as UI5Date or JavaScript Date object
10964
10980
  */
10965
10981
  endDate?: object;
10966
10982
  /**
@@ -11049,9 +11065,9 @@ declare namespace sap {
11049
11065
  */
11050
11066
  focusNearestAppointment(
11051
11067
  /**
11052
- * Javascript Date object.
11068
+ * date instance.
11053
11069
  */
11054
- oDate: Date
11070
+ oDate: Date | import("sap/ui/core/date/UI5Date").default
11055
11071
  ): this;
11056
11072
  /**
11057
11073
  * @SINCE 1.81.0
@@ -11303,7 +11319,7 @@ declare namespace sap {
11303
11319
  /**
11304
11320
  * Gets current value of property {@link #getStartDate startDate}.
11305
11321
  *
11306
- * Start date, as JavaScript Date object, of the row. As default, the current date is used.
11322
+ * Start date, as UI5Date or JavaScript Date object, of the row. As default, the current date is used.
11307
11323
  *
11308
11324
  * @returns Value of property `startDate`
11309
11325
  */
@@ -11796,9 +11812,9 @@ declare namespace sap {
11796
11812
  */
11797
11813
  setStartDate(
11798
11814
  /**
11799
- * Start date, as JavaScript Date object, of the row
11815
+ * Start date, as date instance, of the row
11800
11816
  */
11801
- oStartDate?: Date
11817
+ oStartDate?: Date | import("sap/ui/core/date/UI5Date").default
11802
11818
  ): this;
11803
11819
  /**
11804
11820
  * Sets a new value for property {@link #getUpdateCurrentTime updateCurrentTime}.
@@ -12167,9 +12183,9 @@ declare namespace sap {
12167
12183
  */
12168
12184
  displayDate(
12169
12185
  /**
12170
- * JavaScript date object for displayed item.
12186
+ * date instance for displayed item.
12171
12187
  */
12172
- oDate: Date
12188
+ oDate: Date | import("sap/ui/core/date/UI5Date").default
12173
12189
  ): this;
12174
12190
  /**
12175
12191
  * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
@@ -12218,9 +12234,9 @@ declare namespace sap {
12218
12234
  */
12219
12235
  focusDate(
12220
12236
  /**
12221
- * JavaScript date object for focused item
12237
+ * date instance for focused item
12222
12238
  */
12223
- oDate: Date
12239
+ oDate: Date | import("sap/ui/core/date/UI5Date").default
12224
12240
  ): this;
12225
12241
  /**
12226
12242
  * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
@@ -12276,7 +12292,8 @@ declare namespace sap {
12276
12292
  *
12277
12293
  * Gets current value of property {@link #getMaxDate maxDate}.
12278
12294
  *
12279
- * Maximum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
12295
+ * Maximum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
12296
+ * object.
12280
12297
  *
12281
12298
  * **Note:** If the `maxDate` is set to be before the `minDate`, the `minDate` is set to the begin of the
12282
12299
  * month of the `maxDate`.
@@ -12289,7 +12306,8 @@ declare namespace sap {
12289
12306
  *
12290
12307
  * Gets current value of property {@link #getMinDate minDate}.
12291
12308
  *
12292
- * Minimum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
12309
+ * Minimum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
12310
+ * object.
12293
12311
  *
12294
12312
  * **Note:** If the `minDate` is set to be after the `maxDate`, the `maxDate` is set to the end of the month
12295
12313
  * of the `minDate`.
@@ -12339,8 +12357,8 @@ declare namespace sap {
12339
12357
  /**
12340
12358
  * Gets current value of property {@link #getStartDate startDate}.
12341
12359
  *
12342
- * Start date of the Interval as JavaScript Date object. The time interval corresponding to this Date and
12343
- * `items` and `intervalMinutes` will be the first time in the displayed row.
12360
+ * Start date of the Interval as UI5Date or JavaScript Date object. The time interval corresponding to this
12361
+ * Date and `items` and `intervalMinutes` will be the first time in the displayed row.
12344
12362
  *
12345
12363
  * @returns Value of property `startDate`
12346
12364
  */
@@ -12606,9 +12624,9 @@ declare namespace sap {
12606
12624
  */
12607
12625
  setStartDate(
12608
12626
  /**
12609
- * A JavaScript date
12627
+ * A date instance
12610
12628
  */
12611
- oStartDate: Date
12629
+ oStartDate: Date | import("sap/ui/core/date/UI5Date").default
12612
12630
  ): this;
12613
12631
  /**
12614
12632
  * Sets a new value for property {@link #getWidth width}.
@@ -14051,7 +14069,7 @@ declare namespace sap {
14051
14069
  * Gets current value of property {@link #getEndDate endDate}.
14052
14070
  *
14053
14071
  * End date for a date range. If empty only a single date is presented by this DateRange element. This must
14054
- * be a JavaScript date object.
14072
+ * be a UI5Date or JavaScript Date object.
14055
14073
  *
14056
14074
  * @returns Value of property `endDate`
14057
14075
  */
@@ -14059,7 +14077,7 @@ declare namespace sap {
14059
14077
  /**
14060
14078
  * Gets current value of property {@link #getStartDate startDate}.
14061
14079
  *
14062
- * Start date for a date range. This must be a JavaScript date object.
14080
+ * Start date for a date range. This must be a UI5Date or JavaScript Date object.
14063
14081
  *
14064
14082
  * @returns Value of property `startDate`
14065
14083
  */
@@ -14071,9 +14089,9 @@ declare namespace sap {
14071
14089
  */
14072
14090
  setEndDate(
14073
14091
  /**
14074
- * A JavaScript date
14092
+ * A date instance
14075
14093
  */
14076
- oDate?: Date,
14094
+ oDate?: Date | import("sap/ui/core/date/UI5Date").default,
14077
14095
  /**
14078
14096
  * If true, `endDate` is not marked as changed
14079
14097
  */
@@ -14086,9 +14104,9 @@ declare namespace sap {
14086
14104
  */
14087
14105
  setStartDate(
14088
14106
  /**
14089
- * A JavaScript date
14107
+ * A date instance
14090
14108
  */
14091
- oDate?: Date,
14109
+ oDate?: Date | import("sap/ui/core/date/UI5Date").default,
14092
14110
  /**
14093
14111
  * If true, `startDate` is not marked as changed
14094
14112
  */