@openui5/types 1.113.0 → 1.114.1

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.1
2
2
 
3
3
  declare module "sap/ui/unified/library" {
4
4
  /**
@@ -316,6 +316,8 @@ declare module "sap/ui/unified/Calendar" {
316
316
 
317
317
  import Event from "sap/ui/base/Event";
318
318
 
319
+ import UI5Date from "sap/ui/core/date/UI5Date";
320
+
319
321
  import CalendarWeekNumbering from "sap/ui/core/date/CalendarWeekNumbering";
320
322
 
321
323
  import ElementMetadata from "sap/ui/core/ElementMetadata";
@@ -756,9 +758,9 @@ declare module "sap/ui/unified/Calendar" {
756
758
  */
757
759
  displayDate(
758
760
  /**
759
- * JavaScript date object for focused date
761
+ * date instance for focused date
760
762
  */
761
- oDate: Date
763
+ oDate: Date | UI5Date
762
764
  ): this;
763
765
  /**
764
766
  * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
@@ -833,9 +835,9 @@ declare module "sap/ui/unified/Calendar" {
833
835
  */
834
836
  focusDate(
835
837
  /**
836
- * A JavaScript date object for focused date
838
+ * A date instance for focused date
837
839
  */
838
- oDate: Date
840
+ oDate: Date | UI5Date
839
841
  ): this;
840
842
  /**
841
843
  * @SINCE 1.28.0
@@ -887,7 +889,8 @@ declare module "sap/ui/unified/Calendar" {
887
889
  *
888
890
  * Gets current value of property {@link #getInitialFocusedDate initialFocusedDate}.
889
891
  *
890
- * Holds a reference to a JavaScript Date Object to define the initially navigated date in the calendar.
892
+ * Holds a reference to a UI5Date or JavaScript Date object to define the initially navigated date in the
893
+ * calendar.
891
894
  *
892
895
  * @returns Value of property `initialFocusedDate`
893
896
  */
@@ -913,7 +916,8 @@ declare module "sap/ui/unified/Calendar" {
913
916
  *
914
917
  * Gets current value of property {@link #getMaxDate maxDate}.
915
918
  *
916
- * Maximum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
919
+ * Maximum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
920
+ * object.
917
921
  *
918
922
  * **Note:** if the date is inside of a month the complete month is displayed, but dates outside the valid
919
923
  * range can not be selected.
@@ -929,7 +933,8 @@ declare module "sap/ui/unified/Calendar" {
929
933
  *
930
934
  * Gets current value of property {@link #getMinDate minDate}.
931
935
  *
932
- * Minimum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
936
+ * Minimum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
937
+ * object.
933
938
  *
934
939
  * **Note:** if the date is inside of a month the complete month is displayed, but dates outside the valid
935
940
  * range can not be selected.
@@ -1047,9 +1052,9 @@ declare module "sap/ui/unified/Calendar" {
1047
1052
  *
1048
1053
  * There might be some days of the previous month shown, but they can not be focused.
1049
1054
  *
1050
- * @returns JavaScript date object for start date
1055
+ * @returns date instance for start date
1051
1056
  */
1052
- getStartDate(): Date;
1057
+ getStartDate(): Date | UI5Date;
1053
1058
  /**
1054
1059
  * @SINCE 1.38.0
1055
1060
  *
@@ -1289,7 +1294,8 @@ declare module "sap/ui/unified/Calendar" {
1289
1294
  *
1290
1295
  * Sets a new value for property {@link #getInitialFocusedDate initialFocusedDate}.
1291
1296
  *
1292
- * Holds a reference to a JavaScript Date Object to define the initially navigated date in the calendar.
1297
+ * Holds a reference to a UI5Date or JavaScript Date object to define the initially navigated date in the
1298
+ * calendar.
1293
1299
  *
1294
1300
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
1295
1301
  *
@@ -1339,9 +1345,9 @@ declare module "sap/ui/unified/Calendar" {
1339
1345
  */
1340
1346
  setMaxDate(
1341
1347
  /**
1342
- * a JavaScript date
1348
+ * a date instance
1343
1349
  */
1344
- oDate: Date
1350
+ oDate: Date | UI5Date
1345
1351
  ): this;
1346
1352
  /**
1347
1353
  * Sets a minimum date for the calendar.
@@ -1350,9 +1356,9 @@ declare module "sap/ui/unified/Calendar" {
1350
1356
  */
1351
1357
  setMinDate(
1352
1358
  /**
1353
- * a JavaScript date
1359
+ * a date instance
1354
1360
  */
1355
- oDate: Date
1361
+ oDate: Date | UI5Date
1356
1362
  ): this;
1357
1363
  /**
1358
1364
  * @SINCE 1.28.0
@@ -1583,7 +1589,8 @@ declare module "sap/ui/unified/Calendar" {
1583
1589
  /**
1584
1590
  * @SINCE 1.38.0
1585
1591
  *
1586
- * Minimum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
1592
+ * Minimum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
1593
+ * object.
1587
1594
  *
1588
1595
  * **Note:** if the date is inside of a month the complete month is displayed, but dates outside the valid
1589
1596
  * range can not be selected.
@@ -1596,7 +1603,8 @@ declare module "sap/ui/unified/Calendar" {
1596
1603
  /**
1597
1604
  * @SINCE 1.38.0
1598
1605
  *
1599
- * Maximum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
1606
+ * Maximum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
1607
+ * object.
1600
1608
  *
1601
1609
  * **Note:** if the date is inside of a month the complete month is displayed, but dates outside the valid
1602
1610
  * range can not be selected.
@@ -1638,7 +1646,8 @@ declare module "sap/ui/unified/Calendar" {
1638
1646
  /**
1639
1647
  * @SINCE 1.111
1640
1648
  *
1641
- * Holds a reference to a JavaScript Date Object to define the initially navigated date in the calendar.
1649
+ * Holds a reference to a UI5Date or JavaScript Date object to define the initially navigated date in the
1650
+ * calendar.
1642
1651
  */
1643
1652
  initialFocusedDate?: object | PropertyBindingInfo | `{${string}}`;
1644
1653
 
@@ -1742,6 +1751,8 @@ declare module "sap/ui/unified/calendar/DatesRow" {
1742
1751
  $MonthSettings,
1743
1752
  } from "sap/ui/unified/calendar/Month";
1744
1753
 
1754
+ import UI5Date from "sap/ui/core/date/UI5Date";
1755
+
1745
1756
  import CalendarWeekNumbering from "sap/ui/core/date/CalendarWeekNumbering";
1746
1757
 
1747
1758
  import ElementMetadata from "sap/ui/core/ElementMetadata";
@@ -1826,9 +1837,9 @@ declare module "sap/ui/unified/calendar/DatesRow" {
1826
1837
  */
1827
1838
  displayDate(
1828
1839
  /**
1829
- * JavaScript date object for focused date.
1840
+ * date instance for focused date.
1830
1841
  */
1831
- oDate: Date
1842
+ oDate: Date | UI5Date
1832
1843
  ): this;
1833
1844
  /**
1834
1845
  * @SINCE 1.110.0
@@ -1908,9 +1919,9 @@ declare module "sap/ui/unified/calendar/DatesRow" {
1908
1919
  */
1909
1920
  setDate(
1910
1921
  /**
1911
- * JavaScript date object for start date.
1922
+ * date instance for start date.
1912
1923
  */
1913
- oDate: Date
1924
+ oDate: Date | UI5Date
1914
1925
  ): this;
1915
1926
  /**
1916
1927
  * Sets a new value for property {@link #getDays days}.
@@ -1956,9 +1967,9 @@ declare module "sap/ui/unified/calendar/DatesRow" {
1956
1967
  */
1957
1968
  setStartDate(
1958
1969
  /**
1959
- * A JavaScript date
1970
+ * A date instance
1960
1971
  */
1961
- oStartDate: Date
1972
+ oStartDate: Date | UI5Date
1962
1973
  ): this;
1963
1974
  }
1964
1975
 
@@ -3091,6 +3102,8 @@ declare module "sap/ui/unified/calendar/Month" {
3091
3102
 
3092
3103
  import Event from "sap/ui/base/Event";
3093
3104
 
3105
+ import UI5Date from "sap/ui/core/date/UI5Date";
3106
+
3094
3107
  import CalendarWeekNumbering from "sap/ui/core/date/CalendarWeekNumbering";
3095
3108
 
3096
3109
  import ElementMetadata from "sap/ui/core/ElementMetadata";
@@ -3377,9 +3390,9 @@ declare module "sap/ui/unified/calendar/Month" {
3377
3390
  */
3378
3391
  checkDateFocusable(
3379
3392
  /**
3380
- * JavaScript date object for focused date
3393
+ * date instance for focused date
3381
3394
  */
3382
- oDate: Date
3395
+ oDate: Date | UI5Date
3383
3396
  ): boolean;
3384
3397
  /**
3385
3398
  * @SINCE 1.38.0
@@ -3462,9 +3475,9 @@ declare module "sap/ui/unified/calendar/Month" {
3462
3475
  */
3463
3476
  displayDate(
3464
3477
  /**
3465
- * JavaScript date object for focused date
3478
+ * date instance for focused date
3466
3479
  */
3467
- oDate: Date
3480
+ oDate: Date | UI5Date
3468
3481
  ): this;
3469
3482
  /**
3470
3483
  * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
@@ -3554,8 +3567,8 @@ declare module "sap/ui/unified/calendar/Month" {
3554
3567
  /**
3555
3568
  * Gets current value of property {@link #getDate date}.
3556
3569
  *
3557
- * A date as JavaScript Date object. The month including this date is rendered and this date is focused
3558
- * initially (if no other focus is set).
3570
+ * A date as UI5Date or JavaScript Date object. The month including this date is rendered and this date
3571
+ * is focused initially (if no other focus is set).
3559
3572
  *
3560
3573
  * @returns Value of property `date`
3561
3574
  */
@@ -3888,9 +3901,9 @@ declare module "sap/ui/unified/calendar/Month" {
3888
3901
  */
3889
3902
  setDate(
3890
3903
  /**
3891
- * a JavaScript date
3904
+ * a date instance
3892
3905
  */
3893
- oDate: Date
3906
+ oDate: Date | UI5Date
3894
3907
  ): this;
3895
3908
  /**
3896
3909
  * @SINCE 1.28.9
@@ -4075,8 +4088,8 @@ declare module "sap/ui/unified/calendar/Month" {
4075
4088
 
4076
4089
  export interface $MonthSettings extends $ControlSettings {
4077
4090
  /**
4078
- * A date as JavaScript Date object. The month including this date is rendered and this date is focused
4079
- * initially (if no other focus is set).
4091
+ * A date as UI5Date or JavaScript Date object. The month including this date is rendered and this date
4092
+ * is focused initially (if no other focus is set).
4080
4093
  */
4081
4094
  date?: object | PropertyBindingInfo | `{${string}}`;
4082
4095
 
@@ -4909,6 +4922,8 @@ declare module "sap/ui/unified/calendar/MonthsRow" {
4909
4922
 
4910
4923
  import Event from "sap/ui/base/Event";
4911
4924
 
4925
+ import UI5Date from "sap/ui/core/date/UI5Date";
4926
+
4912
4927
  import ElementMetadata from "sap/ui/core/ElementMetadata";
4913
4928
 
4914
4929
  import CalendarType from "sap/ui/core/CalendarType";
@@ -4928,8 +4943,9 @@ declare module "sap/ui/unified/calendar/MonthsRow" {
4928
4943
  * the properties and aggregation are directly taken from the parent (to not duplicate and synchronize DateRanges
4929
4944
  * and so on...).
4930
4945
  *
4931
- * The MontsRow works with JavaScript Date objects, but only the month and the year are used to display
4932
- * and interact. As representation for a month, the 1st of the month will always be returned in the API.
4946
+ * The MontsRow works with UI5Date or JavaScript Date objects, but only the month and the year are used
4947
+ * to display and interact. As representation for a month, the 1st of the month will always be returned
4948
+ * in the API.
4933
4949
  */
4934
4950
  export default class MonthsRow extends Control {
4935
4951
  /**
@@ -5127,9 +5143,9 @@ declare module "sap/ui/unified/calendar/MonthsRow" {
5127
5143
  */
5128
5144
  checkDateFocusable(
5129
5145
  /**
5130
- * JavaScript Date object for focused date.
5146
+ * date instance for focused date.
5131
5147
  */
5132
- oDateTime: Date
5148
+ oDateTime: Date | UI5Date
5133
5149
  ): boolean;
5134
5150
  /**
5135
5151
  * Destroys all the selectedDates in the aggregation {@link #getSelectedDates selectedDates}.
@@ -5184,9 +5200,9 @@ declare module "sap/ui/unified/calendar/MonthsRow" {
5184
5200
  */
5185
5201
  displayDate(
5186
5202
  /**
5187
- * JavaScript Date object for focused date.
5203
+ * date instance for focused date.
5188
5204
  */
5189
- oDate: Date
5205
+ oDate: Date | UI5Date
5190
5206
  ): this;
5191
5207
  /**
5192
5208
  * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
@@ -5201,7 +5217,7 @@ declare module "sap/ui/unified/calendar/MonthsRow" {
5201
5217
  */
5202
5218
  mParameters?: {
5203
5219
  /**
5204
- * First date, as JavaScript Date object, of the month that is focused.
5220
+ * First date, as UI5Date or JavaScript Date object, of the month that is focused.
5205
5221
  */
5206
5222
  date?: object;
5207
5223
  /**
@@ -5231,10 +5247,10 @@ declare module "sap/ui/unified/calendar/MonthsRow" {
5231
5247
  /**
5232
5248
  * Gets current value of property {@link #getDate date}.
5233
5249
  *
5234
- * A date as JavaScript Date object. The month including this date is rendered and this date is focused
5235
- * initially (if no other focus is set). If the date property is not in the range `startDate` + `months`
5236
- * in the rendering phase, it is set to the `startDate`. So after setting the `startDate` the date should
5237
- * be set to be in the visible range.
5250
+ * A date as UI5Date or JavaScript Date object. The month including this date is rendered and this date
5251
+ * is focused initially (if no other focus is set). If the date property is not in the range `startDate`
5252
+ * + `months` in the rendering phase, it is set to the `startDate`. So after setting the `startDate` the
5253
+ * date should be set to be in the visible range.
5238
5254
  *
5239
5255
  * @returns Value of property `date`
5240
5256
  */
@@ -5330,8 +5346,8 @@ declare module "sap/ui/unified/calendar/MonthsRow" {
5330
5346
  /**
5331
5347
  * Gets current value of property {@link #getStartDate startDate}.
5332
5348
  *
5333
- * Start date, as JavaScript Date object, of the row. The month of this date is the first month of the displayed
5334
- * row.
5349
+ * Start date, as UI5Date or JavaScript Date object, of the row. The month of this date is the first month
5350
+ * of the displayed row.
5335
5351
  *
5336
5352
  * @returns Value of property `startDate`
5337
5353
  */
@@ -5456,9 +5472,9 @@ declare module "sap/ui/unified/calendar/MonthsRow" {
5456
5472
  */
5457
5473
  setDate(
5458
5474
  /**
5459
- * a JavaScript date
5475
+ * a date instance
5460
5476
  */
5461
- oDate: Date
5477
+ oDate: Date | UI5Date
5462
5478
  ): this;
5463
5479
  /**
5464
5480
  * Sets a new value for property {@link #getIntervalSelection intervalSelection}.
@@ -5587,24 +5603,24 @@ declare module "sap/ui/unified/calendar/MonthsRow" {
5587
5603
  */
5588
5604
  setStartDate(
5589
5605
  /**
5590
- * A JavaScript date
5606
+ * A date instance
5591
5607
  */
5592
- oStartDate: Date
5608
+ oStartDate: Date | UI5Date
5593
5609
  ): this;
5594
5610
  }
5595
5611
 
5596
5612
  export interface $MonthsRowSettings extends $ControlSettings {
5597
5613
  /**
5598
- * A date as JavaScript Date object. The month including this date is rendered and this date is focused
5599
- * initially (if no other focus is set). If the date property is not in the range `startDate` + `months`
5600
- * in the rendering phase, it is set to the `startDate`. So after setting the `startDate` the date should
5601
- * be set to be in the visible range.
5614
+ * A date as UI5Date or JavaScript Date object. The month including this date is rendered and this date
5615
+ * is focused initially (if no other focus is set). If the date property is not in the range `startDate`
5616
+ * + `months` in the rendering phase, it is set to the `startDate`. So after setting the `startDate` the
5617
+ * date should be set to be in the visible range.
5602
5618
  */
5603
5619
  date?: object | PropertyBindingInfo | `{${string}}`;
5604
5620
 
5605
5621
  /**
5606
- * Start date, as JavaScript Date object, of the row. The month of this date is the first month of the displayed
5607
- * row.
5622
+ * Start date, as UI5Date or JavaScript Date object, of the row. The month of this date is the first month
5623
+ * of the displayed row.
5608
5624
  */
5609
5625
  startDate?: object | PropertyBindingInfo | `{${string}}`;
5610
5626
 
@@ -5713,6 +5729,8 @@ declare module "sap/ui/unified/calendar/TimesRow" {
5713
5729
 
5714
5730
  import Event from "sap/ui/base/Event";
5715
5731
 
5732
+ import UI5Date from "sap/ui/core/date/UI5Date";
5733
+
5716
5734
  import ElementMetadata from "sap/ui/core/ElementMetadata";
5717
5735
 
5718
5736
  import CalendarType from "sap/ui/core/CalendarType";
@@ -5732,7 +5750,7 @@ declare module "sap/ui/unified/calendar/TimesRow" {
5732
5750
  * the properties and aggregation are directly taken from the parent (to not duplicate and synchronize DateRanges
5733
5751
  * and so on...).
5734
5752
  *
5735
- * The TimesRow works with JavaScript Date objects.
5753
+ * The TimesRow works with UI5Date or JavaScript Date objects.
5736
5754
  */
5737
5755
  export default class TimesRow extends Control {
5738
5756
  /**
@@ -5930,9 +5948,9 @@ declare module "sap/ui/unified/calendar/TimesRow" {
5930
5948
  */
5931
5949
  checkDateFocusable(
5932
5950
  /**
5933
- * JavaScript Date object for focused date.
5951
+ * date instance for focused date.
5934
5952
  */
5935
- oDate: Date
5953
+ oDate: Date | UI5Date
5936
5954
  ): boolean;
5937
5955
  /**
5938
5956
  * Destroys all the selectedDates in the aggregation {@link #getSelectedDates selectedDates}.
@@ -5987,9 +6005,9 @@ declare module "sap/ui/unified/calendar/TimesRow" {
5987
6005
  */
5988
6006
  displayDate(
5989
6007
  /**
5990
- * A JavaScript Date
6008
+ * A date instance
5991
6009
  */
5992
- oDate: Date
6010
+ oDate: Date | UI5Date
5993
6011
  ): this;
5994
6012
  /**
5995
6013
  * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
@@ -6004,7 +6022,7 @@ declare module "sap/ui/unified/calendar/TimesRow" {
6004
6022
  */
6005
6023
  mParameters?: {
6006
6024
  /**
6007
- * date, as JavaScript Date object, of the focused time.
6025
+ * date, as UI5Date or JavaScript Date object, of the focused time.
6008
6026
  */
6009
6027
  date?: object;
6010
6028
  /**
@@ -6034,10 +6052,10 @@ declare module "sap/ui/unified/calendar/TimesRow" {
6034
6052
  /**
6035
6053
  * Gets current value of property {@link #getDate date}.
6036
6054
  *
6037
- * A date as JavaScript Date object. The month including this date is rendered and this date is focused
6038
- * initially (if no other focus is set). If the date property is not in the range `startDate` + `items`
6039
- * in the rendering phase, it is set to the `startDate`. So after setting the `startDate` the date should
6040
- * be set to be in the visible range.
6055
+ * A date as UI5Date or JavaScript Date object. The month including this date is rendered and this date
6056
+ * is focused initially (if no other focus is set). If the date property is not in the range `startDate`
6057
+ * + `items` in the rendering phase, it is set to the `startDate`. So after setting the `startDate` the
6058
+ * date should be set to be in the visible range.
6041
6059
  *
6042
6060
  * @returns Value of property `date`
6043
6061
  */
@@ -6144,7 +6162,7 @@ declare module "sap/ui/unified/calendar/TimesRow" {
6144
6162
  /**
6145
6163
  * Gets current value of property {@link #getStartDate startDate}.
6146
6164
  *
6147
- * Start date, as JavaScript Date object, of the row.
6165
+ * Start date, as UI5Date or JavaScript Date object, of the row.
6148
6166
  *
6149
6167
  * @returns Value of property `startDate`
6150
6168
  */
@@ -6269,9 +6287,9 @@ declare module "sap/ui/unified/calendar/TimesRow" {
6269
6287
  */
6270
6288
  setDate(
6271
6289
  /**
6272
- * A JavaScript Date
6290
+ * A date instance
6273
6291
  */
6274
- oDate: Date
6292
+ oDate: Date | UI5Date
6275
6293
  ): this;
6276
6294
  /**
6277
6295
  * Sets a new value for property {@link #getIntervalMinutes intervalMinutes}.
@@ -6417,29 +6435,29 @@ declare module "sap/ui/unified/calendar/TimesRow" {
6417
6435
  bSingleSelection?: boolean
6418
6436
  ): this;
6419
6437
  /**
6420
- * Sets start date, as JavaScript Date object, of the row.
6438
+ * Sets start date, as UI5Date or JavaScript Date object, of the row.
6421
6439
  *
6422
6440
  * @returns Reference to `this` for method chaining
6423
6441
  */
6424
6442
  setStartDate(
6425
6443
  /**
6426
- * A JavaScript Date
6444
+ * A date instance
6427
6445
  */
6428
- oStartDate: Date
6446
+ oStartDate: Date | UI5Date
6429
6447
  ): this;
6430
6448
  }
6431
6449
 
6432
6450
  export interface $TimesRowSettings extends $ControlSettings {
6433
6451
  /**
6434
- * A date as JavaScript Date object. The month including this date is rendered and this date is focused
6435
- * initially (if no other focus is set). If the date property is not in the range `startDate` + `items`
6436
- * in the rendering phase, it is set to the `startDate`. So after setting the `startDate` the date should
6437
- * be set to be in the visible range.
6452
+ * A date as UI5Date or JavaScript Date object. The month including this date is rendered and this date
6453
+ * is focused initially (if no other focus is set). If the date property is not in the range `startDate`
6454
+ * + `items` in the rendering phase, it is set to the `startDate`. So after setting the `startDate` the
6455
+ * date should be set to be in the visible range.
6438
6456
  */
6439
6457
  date?: object | PropertyBindingInfo | `{${string}}`;
6440
6458
 
6441
6459
  /**
6442
- * Start date, as JavaScript Date object, of the row.
6460
+ * Start date, as UI5Date or JavaScript Date object, of the row.
6443
6461
  */
6444
6462
  startDate?: object | PropertyBindingInfo | `{${string}}`;
6445
6463
 
@@ -6550,6 +6568,8 @@ declare module "sap/ui/unified/calendar/YearPicker" {
6550
6568
 
6551
6569
  import Event from "sap/ui/base/Event";
6552
6570
 
6571
+ import UI5Date from "sap/ui/core/date/UI5Date";
6572
+
6553
6573
  import ElementMetadata from "sap/ui/core/ElementMetadata";
6554
6574
 
6555
6575
  import CalendarType from "sap/ui/core/CalendarType";
@@ -6826,8 +6846,8 @@ declare module "sap/ui/unified/calendar/YearPicker" {
6826
6846
  *
6827
6847
  * Gets current value of property {@link #getDate date}.
6828
6848
  *
6829
- * Date as JavaScript Date object. For this date a `YearPicker` is rendered. If a Year is selected the date
6830
- * is updated with the start date of the selected year (depending on the calendar type).
6849
+ * Date as UI5Date or JavaScript Date object. For this date a `YearPicker` is rendered. If a Year is selected
6850
+ * the date is updated with the start date of the selected year (depending on the calendar type).
6831
6851
  *
6832
6852
  * @returns Value of property `date`
6833
6853
  */
@@ -6838,9 +6858,9 @@ declare module "sap/ui/unified/calendar/YearPicker" {
6838
6858
  * Return the first date of the first rendered year **Note:** If the YearPicker is not rendered no date
6839
6859
  * is returned
6840
6860
  *
6841
- * @returns A JavaScript Date
6861
+ * @returns A date instance
6842
6862
  */
6843
- getFirstRenderedDate(): Date;
6863
+ getFirstRenderedDate(): Date | UI5Date;
6844
6864
  /**
6845
6865
  * @SINCE 1.74
6846
6866
  *
@@ -7001,9 +7021,9 @@ declare module "sap/ui/unified/calendar/YearPicker" {
7001
7021
  */
7002
7022
  setDate(
7003
7023
  /**
7004
- * a JavaScript date
7024
+ * a date instance
7005
7025
  */
7006
- oDate: Date
7026
+ oDate: Date | UI5Date
7007
7027
  ): this;
7008
7028
  /**
7009
7029
  * @SINCE 1.74
@@ -7132,8 +7152,8 @@ declare module "sap/ui/unified/calendar/YearPicker" {
7132
7152
  /**
7133
7153
  * @SINCE 1.34.0
7134
7154
  *
7135
- * Date as JavaScript Date object. For this date a `YearPicker` is rendered. If a Year is selected the date
7136
- * is updated with the start date of the selected year (depending on the calendar type).
7155
+ * Date as UI5Date or JavaScript Date object. For this date a `YearPicker` is rendered. If a Year is selected
7156
+ * the date is updated with the start date of the selected year (depending on the calendar type).
7137
7157
  */
7138
7158
  date?: object | PropertyBindingInfo | `{${string}}`;
7139
7159
 
@@ -7666,6 +7686,8 @@ declare module "sap/ui/unified/CalendarDateInterval" {
7666
7686
 
7667
7687
  import ElementMetadata from "sap/ui/core/ElementMetadata";
7668
7688
 
7689
+ import UI5Date from "sap/ui/core/date/UI5Date";
7690
+
7669
7691
  import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
7670
7692
 
7671
7693
  /**
@@ -7783,9 +7805,9 @@ declare module "sap/ui/unified/CalendarDateInterval" {
7783
7805
  *
7784
7806
  * Start date of the Interval
7785
7807
  *
7786
- * @returns JavaScript date object for property `startDate`
7808
+ * @returns date instance for property `startDate`
7787
7809
  */
7788
- getStartDate(): Date;
7810
+ getStartDate(): Date | UI5Date;
7789
7811
  /**
7790
7812
  * Sets a new value for property {@link #getDays days}.
7791
7813
  *
@@ -7879,9 +7901,9 @@ declare module "sap/ui/unified/CalendarDateInterval" {
7879
7901
  */
7880
7902
  setStartDate(
7881
7903
  /**
7882
- * A JavaScript Date
7904
+ * A date instance
7883
7905
  */
7884
- oStartDate: Date
7906
+ oStartDate: Date | UI5Date
7885
7907
  ): this;
7886
7908
  }
7887
7909
 
@@ -8370,6 +8392,8 @@ declare module "sap/ui/unified/CalendarMonthInterval" {
8370
8392
 
8371
8393
  import Event from "sap/ui/base/Event";
8372
8394
 
8395
+ import UI5Date from "sap/ui/core/date/UI5Date";
8396
+
8373
8397
  import Calendar from "sap/ui/unified/Calendar";
8374
8398
 
8375
8399
  import ElementMetadata from "sap/ui/core/ElementMetadata";
@@ -8386,9 +8410,9 @@ declare module "sap/ui/unified/CalendarMonthInterval" {
8386
8410
  *
8387
8411
  * Calendar with granularity of months displayed in one line.
8388
8412
  *
8389
- * **Note:** JavaScript Date objects are used to set and return the months, mark them as selected or as
8390
- * a special type. But the date part of the Date object is not used. If a Date object is returned the date
8391
- * will be set to the 1st of the corresponding month.
8413
+ * **Note:** UI5Date or JavaScript Date objects are used to set and return the months, mark them as selected
8414
+ * or as a special type. But the date part of the Date object is not used. If a Date object is returned
8415
+ * the date will be set to the 1st of the corresponding month.
8392
8416
  */
8393
8417
  export default class CalendarMonthInterval extends Control {
8394
8418
  /**
@@ -8704,9 +8728,9 @@ declare module "sap/ui/unified/CalendarMonthInterval" {
8704
8728
  */
8705
8729
  displayDate(
8706
8730
  /**
8707
- * JavaScript date object for displayed date. (The month of this date will be displayed.)
8731
+ * date instance for displayed date. (The month of this date will be displayed.)
8708
8732
  */
8709
- oDatetime: Date
8733
+ oDatetime: Date | UI5Date
8710
8734
  ): this;
8711
8735
  /**
8712
8736
  * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
@@ -8755,9 +8779,9 @@ declare module "sap/ui/unified/CalendarMonthInterval" {
8755
8779
  */
8756
8780
  focusDate(
8757
8781
  /**
8758
- * JavaScript date object for focused date. (The month of this date will be focused.)
8782
+ * date instance for focused date. (The month of this date will be focused.)
8759
8783
  */
8760
- oDatetime: Date
8784
+ oDatetime: Date | UI5Date
8761
8785
  ): Calendar;
8762
8786
  /**
8763
8787
  * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
@@ -8785,7 +8809,8 @@ declare module "sap/ui/unified/CalendarMonthInterval" {
8785
8809
  *
8786
8810
  * Gets current value of property {@link #getMaxDate maxDate}.
8787
8811
  *
8788
- * Maximum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
8812
+ * Maximum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
8813
+ * object.
8789
8814
  *
8790
8815
  * **Note:** If the `maxDate` is set to be before the `minDate`, the `minDate` is set to the begin of the
8791
8816
  * month of the `maxDate`.
@@ -8798,7 +8823,8 @@ declare module "sap/ui/unified/CalendarMonthInterval" {
8798
8823
  *
8799
8824
  * Gets current value of property {@link #getMinDate minDate}.
8800
8825
  *
8801
- * Minimum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
8826
+ * Minimum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
8827
+ * object.
8802
8828
  *
8803
8829
  * **Note:** If the `minDate` is set to be after the `maxDate`, the `maxDate` is set to the end of the month
8804
8830
  * of the `minDate`.
@@ -8865,8 +8891,8 @@ declare module "sap/ui/unified/CalendarMonthInterval" {
8865
8891
  /**
8866
8892
  * Gets current value of property {@link #getStartDate startDate}.
8867
8893
  *
8868
- * Start date of the Interval as JavaScript Date object. The month of this Date will be the first month
8869
- * in the displayed row.
8894
+ * Start date of the Interval as UI5Date or JavaScript Date object. The month of this Date will be the first
8895
+ * month in the displayed row.
8870
8896
  *
8871
8897
  * @returns Value of property `startDate`
8872
8898
  */
@@ -9030,9 +9056,9 @@ declare module "sap/ui/unified/CalendarMonthInterval" {
9030
9056
  */
9031
9057
  setMaxDate(
9032
9058
  /**
9033
- * A JavaScript Date
9059
+ * A date instance
9034
9060
  */
9035
- oDate?: Date
9061
+ oDate?: Date | UI5Date
9036
9062
  ): this;
9037
9063
  /**
9038
9064
  * Sets a minimum date for the calendar.
@@ -9041,9 +9067,9 @@ declare module "sap/ui/unified/CalendarMonthInterval" {
9041
9067
  */
9042
9068
  setMinDate(
9043
9069
  /**
9044
- * A JavaScript Date
9070
+ * A date instance
9045
9071
  */
9046
- oDate?: Date
9072
+ oDate?: Date | UI5Date
9047
9073
  ): this;
9048
9074
  /**
9049
9075
  * Sets a new value for property {@link #getMonths months}.
@@ -9109,9 +9135,9 @@ declare module "sap/ui/unified/CalendarMonthInterval" {
9109
9135
  */
9110
9136
  setStartDate(
9111
9137
  /**
9112
- * A JavaScript date
9138
+ * A date instance
9113
9139
  */
9114
- oStartDate: Date
9140
+ oStartDate: Date | UI5Date
9115
9141
  ): this;
9116
9142
  /**
9117
9143
  * Sets a new value for property {@link #getWidth width}.
@@ -9137,8 +9163,8 @@ declare module "sap/ui/unified/CalendarMonthInterval" {
9137
9163
  width?: CSSSize | PropertyBindingInfo | `{${string}}`;
9138
9164
 
9139
9165
  /**
9140
- * Start date of the Interval as JavaScript Date object. The month of this Date will be the first month
9141
- * in the displayed row.
9166
+ * Start date of the Interval as UI5Date or JavaScript Date object. The month of this Date will be the first
9167
+ * month in the displayed row.
9142
9168
  */
9143
9169
  startDate?: object | PropertyBindingInfo | `{${string}}`;
9144
9170
 
@@ -9171,7 +9197,8 @@ declare module "sap/ui/unified/CalendarMonthInterval" {
9171
9197
  /**
9172
9198
  * @SINCE 1.38.0
9173
9199
  *
9174
- * Minimum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
9200
+ * Minimum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
9201
+ * object.
9175
9202
  *
9176
9203
  * **Note:** If the `minDate` is set to be after the `maxDate`, the `maxDate` is set to the end of the month
9177
9204
  * of the `minDate`.
@@ -9181,7 +9208,8 @@ declare module "sap/ui/unified/CalendarMonthInterval" {
9181
9208
  /**
9182
9209
  * @SINCE 1.38.0
9183
9210
  *
9184
- * Maximum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
9211
+ * Maximum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
9212
+ * object.
9185
9213
  *
9186
9214
  * **Note:** If the `maxDate` is set to be before the `minDate`, the `minDate` is set to the begin of the
9187
9215
  * month of the `maxDate`.
@@ -9256,6 +9284,8 @@ declare module "sap/ui/unified/CalendarRow" {
9256
9284
 
9257
9285
  import Event from "sap/ui/base/Event";
9258
9286
 
9287
+ import UI5Date from "sap/ui/core/date/UI5Date";
9288
+
9259
9289
  import {
9260
9290
  CalendarAppointmentHeight,
9261
9291
  CalendarAppointmentRoundWidth,
@@ -9660,11 +9690,11 @@ declare module "sap/ui/unified/CalendarRow" {
9660
9690
  */
9661
9691
  mParameters?: {
9662
9692
  /**
9663
- * Interval start date as JavaScript date object
9693
+ * Interval start date as UI5Date or JavaScript Date object
9664
9694
  */
9665
9695
  startDate?: object;
9666
9696
  /**
9667
- * Interval end date as JavaScript date object
9697
+ * Interval end date as UI5Date or JavaScript Date object
9668
9698
  */
9669
9699
  endDate?: object;
9670
9700
  /**
@@ -9753,9 +9783,9 @@ declare module "sap/ui/unified/CalendarRow" {
9753
9783
  */
9754
9784
  focusNearestAppointment(
9755
9785
  /**
9756
- * Javascript Date object.
9786
+ * date instance.
9757
9787
  */
9758
- oDate: Date
9788
+ oDate: Date | UI5Date
9759
9789
  ): this;
9760
9790
  /**
9761
9791
  * @SINCE 1.81.0
@@ -10015,7 +10045,7 @@ declare module "sap/ui/unified/CalendarRow" {
10015
10045
  /**
10016
10046
  * Gets current value of property {@link #getStartDate startDate}.
10017
10047
  *
10018
- * Start date, as JavaScript Date object, of the row. As default, the current date is used.
10048
+ * Start date, as UI5Date or JavaScript Date object, of the row. As default, the current date is used.
10019
10049
  *
10020
10050
  * @returns Value of property `startDate`
10021
10051
  */
@@ -10516,9 +10546,9 @@ declare module "sap/ui/unified/CalendarRow" {
10516
10546
  */
10517
10547
  setStartDate(
10518
10548
  /**
10519
- * Start date, as JavaScript Date object, of the row
10549
+ * Start date, as date instance, of the row
10520
10550
  */
10521
- oStartDate?: Date
10551
+ oStartDate?: Date | UI5Date
10522
10552
  ): this;
10523
10553
  /**
10524
10554
  * Sets a new value for property {@link #getUpdateCurrentTime updateCurrentTime}.
@@ -10571,7 +10601,7 @@ declare module "sap/ui/unified/CalendarRow" {
10571
10601
 
10572
10602
  export interface $CalendarRowSettings extends $ControlSettings {
10573
10603
  /**
10574
- * Start date, as JavaScript Date object, of the row. As default, the current date is used.
10604
+ * Start date, as UI5Date or JavaScript Date object, of the row. As default, the current date is used.
10575
10605
  */
10576
10606
  startDate?: object | PropertyBindingInfo | `{${string}}`;
10577
10607
 
@@ -10821,6 +10851,8 @@ declare module "sap/ui/unified/CalendarTimeInterval" {
10821
10851
 
10822
10852
  import Event from "sap/ui/base/Event";
10823
10853
 
10854
+ import UI5Date from "sap/ui/core/date/UI5Date";
10855
+
10824
10856
  import ElementMetadata from "sap/ui/core/ElementMetadata";
10825
10857
 
10826
10858
  import CalendarLegend from "sap/ui/unified/CalendarLegend";
@@ -11149,9 +11181,9 @@ declare module "sap/ui/unified/CalendarTimeInterval" {
11149
11181
  */
11150
11182
  displayDate(
11151
11183
  /**
11152
- * JavaScript date object for displayed item.
11184
+ * date instance for displayed item.
11153
11185
  */
11154
- oDate: Date
11186
+ oDate: Date | UI5Date
11155
11187
  ): this;
11156
11188
  /**
11157
11189
  * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
@@ -11200,9 +11232,9 @@ declare module "sap/ui/unified/CalendarTimeInterval" {
11200
11232
  */
11201
11233
  focusDate(
11202
11234
  /**
11203
- * JavaScript date object for focused item
11235
+ * date instance for focused item
11204
11236
  */
11205
- oDate: Date
11237
+ oDate: Date | UI5Date
11206
11238
  ): this;
11207
11239
  /**
11208
11240
  * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
@@ -11258,7 +11290,8 @@ declare module "sap/ui/unified/CalendarTimeInterval" {
11258
11290
  *
11259
11291
  * Gets current value of property {@link #getMaxDate maxDate}.
11260
11292
  *
11261
- * Maximum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
11293
+ * Maximum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
11294
+ * object.
11262
11295
  *
11263
11296
  * **Note:** If the `maxDate` is set to be before the `minDate`, the `minDate` is set to the begin of the
11264
11297
  * month of the `maxDate`.
@@ -11271,7 +11304,8 @@ declare module "sap/ui/unified/CalendarTimeInterval" {
11271
11304
  *
11272
11305
  * Gets current value of property {@link #getMinDate minDate}.
11273
11306
  *
11274
- * Minimum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
11307
+ * Minimum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
11308
+ * object.
11275
11309
  *
11276
11310
  * **Note:** If the `minDate` is set to be after the `maxDate`, the `maxDate` is set to the end of the month
11277
11311
  * of the `minDate`.
@@ -11321,8 +11355,8 @@ declare module "sap/ui/unified/CalendarTimeInterval" {
11321
11355
  /**
11322
11356
  * Gets current value of property {@link #getStartDate startDate}.
11323
11357
  *
11324
- * Start date of the Interval as JavaScript Date object. The time interval corresponding to this Date and
11325
- * `items` and `intervalMinutes` will be the first time in the displayed row.
11358
+ * Start date of the Interval as UI5Date or JavaScript Date object. The time interval corresponding to this
11359
+ * Date and `items` and `intervalMinutes` will be the first time in the displayed row.
11326
11360
  *
11327
11361
  * @returns Value of property `startDate`
11328
11362
  */
@@ -11588,9 +11622,9 @@ declare module "sap/ui/unified/CalendarTimeInterval" {
11588
11622
  */
11589
11623
  setStartDate(
11590
11624
  /**
11591
- * A JavaScript date
11625
+ * A date instance
11592
11626
  */
11593
- oStartDate: Date
11627
+ oStartDate: Date | UI5Date
11594
11628
  ): this;
11595
11629
  /**
11596
11630
  * Sets a new value for property {@link #getWidth width}.
@@ -11616,8 +11650,8 @@ declare module "sap/ui/unified/CalendarTimeInterval" {
11616
11650
  width?: CSSSize | PropertyBindingInfo | `{${string}}`;
11617
11651
 
11618
11652
  /**
11619
- * Start date of the Interval as JavaScript Date object. The time interval corresponding to this Date and
11620
- * `items` and `intervalMinutes` will be the first time in the displayed row.
11653
+ * Start date of the Interval as UI5Date or JavaScript Date object. The time interval corresponding to this
11654
+ * Date and `items` and `intervalMinutes` will be the first time in the displayed row.
11621
11655
  */
11622
11656
  startDate?: object | PropertyBindingInfo | `{${string}}`;
11623
11657
 
@@ -11661,7 +11695,8 @@ declare module "sap/ui/unified/CalendarTimeInterval" {
11661
11695
  /**
11662
11696
  * @SINCE 1.38.0
11663
11697
  *
11664
- * Minimum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
11698
+ * Minimum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
11699
+ * object.
11665
11700
  *
11666
11701
  * **Note:** If the `minDate` is set to be after the `maxDate`, the `maxDate` is set to the end of the month
11667
11702
  * of the `minDate`.
@@ -11671,7 +11706,8 @@ declare module "sap/ui/unified/CalendarTimeInterval" {
11671
11706
  /**
11672
11707
  * @SINCE 1.38.0
11673
11708
  *
11674
- * Maximum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
11709
+ * Maximum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
11710
+ * object.
11675
11711
  *
11676
11712
  * **Note:** If the `maxDate` is set to be before the `minDate`, the `minDate` is set to the begin of the
11677
11713
  * month of the `maxDate`.
@@ -13351,6 +13387,8 @@ declare module "sap/ui/unified/DateRange" {
13351
13387
 
13352
13388
  import ElementMetadata from "sap/ui/core/ElementMetadata";
13353
13389
 
13390
+ import UI5Date from "sap/ui/core/date/UI5Date";
13391
+
13354
13392
  import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
13355
13393
 
13356
13394
  /**
@@ -13423,7 +13461,7 @@ declare module "sap/ui/unified/DateRange" {
13423
13461
  * Gets current value of property {@link #getEndDate endDate}.
13424
13462
  *
13425
13463
  * End date for a date range. If empty only a single date is presented by this DateRange element. This must
13426
- * be a JavaScript date object.
13464
+ * be a UI5Date or JavaScript Date object.
13427
13465
  *
13428
13466
  * @returns Value of property `endDate`
13429
13467
  */
@@ -13431,7 +13469,7 @@ declare module "sap/ui/unified/DateRange" {
13431
13469
  /**
13432
13470
  * Gets current value of property {@link #getStartDate startDate}.
13433
13471
  *
13434
- * Start date for a date range. This must be a JavaScript date object.
13472
+ * Start date for a date range. This must be a UI5Date or JavaScript Date object.
13435
13473
  *
13436
13474
  * @returns Value of property `startDate`
13437
13475
  */
@@ -13443,9 +13481,9 @@ declare module "sap/ui/unified/DateRange" {
13443
13481
  */
13444
13482
  setEndDate(
13445
13483
  /**
13446
- * A JavaScript date
13484
+ * A date instance
13447
13485
  */
13448
- oDate?: Date,
13486
+ oDate?: Date | UI5Date,
13449
13487
  /**
13450
13488
  * If true, `endDate` is not marked as changed
13451
13489
  */
@@ -13458,9 +13496,9 @@ declare module "sap/ui/unified/DateRange" {
13458
13496
  */
13459
13497
  setStartDate(
13460
13498
  /**
13461
- * A JavaScript date
13499
+ * A date instance
13462
13500
  */
13463
- oDate?: Date,
13501
+ oDate?: Date | UI5Date,
13464
13502
  /**
13465
13503
  * If true, `startDate` is not marked as changed
13466
13504
  */
@@ -13470,13 +13508,13 @@ declare module "sap/ui/unified/DateRange" {
13470
13508
 
13471
13509
  export interface $DateRangeSettings extends $ElementSettings {
13472
13510
  /**
13473
- * Start date for a date range. This must be a JavaScript date object.
13511
+ * Start date for a date range. This must be a UI5Date or JavaScript Date object.
13474
13512
  */
13475
13513
  startDate?: object | PropertyBindingInfo | `{${string}}`;
13476
13514
 
13477
13515
  /**
13478
13516
  * End date for a date range. If empty only a single date is presented by this DateRange element. This must
13479
- * be a JavaScript date object.
13517
+ * be a UI5Date or JavaScript Date object.
13480
13518
  */
13481
13519
  endDate?: object | PropertyBindingInfo | `{${string}}`;
13482
13520
  }