Files
mercury/tests/hard_coded
Julien Fischer f57e5c8745 Rename date/0 to date_time/0.
The date/0 type is misnamed. Values of the type have both a date and a time
component. The common name for combined date and time values is a "date_time",
for which we have had a type synonym since 2014. This change makes date_time
the proper name for type and make date into the type synonym.

Deprecate the date/0 name and note that we will change its meaning in a future
release. (It will eventually be used for data values that do not have a time
component.)

Rename predicates and functions accordingly and mark the existing versions as
obsolete.

library/calendar.m:
    Make the above renamings.

library/hard_coded/stream.string_writer.m:
    Replace a call to a now obsolete function.

NEWS.md:
    Add entry describing the above.

tests/hard_coded/calendar_init_date.{m,exp}:
tests/hard_coded/calendar_test.m:
tests/hard_coded/fold_days.m:
tests/hard_coded/stream_string_writer_types.m:
     Conform to the above changes.
2026-03-28 14:56:10 +11:00
..
2023-07-01 02:25:53 +10:00
2020-10-04 13:20:42 +11:00
2020-10-04 13:20:42 +11:00
2020-10-27 11:10:11 +11:00
2020-10-04 13:20:42 +11:00
2021-11-27 02:50:29 +11:00
2021-11-27 02:50:29 +11:00
2020-09-29 09:09:47 +10:00
2020-10-04 13:20:42 +11:00
2020-10-04 13:20:42 +11:00
2022-02-10 09:47:41 +11:00
2020-10-04 13:20:42 +11:00
2018-10-29 10:20:48 +11:00
2018-10-29 10:20:48 +11:00
2020-10-04 13:20:42 +11:00
2026-03-13 17:02:12 +11:00
2026-03-28 14:56:10 +11:00
2020-10-04 13:20:42 +11:00
2020-10-04 13:20:42 +11:00
2020-10-04 13:20:42 +11:00
2026-03-04 13:24:30 +11:00
2026-03-04 13:24:30 +11:00
2020-10-04 13:20:42 +11:00
2018-08-30 03:38:16 +10:00
2018-08-30 03:38:16 +10:00
2018-08-30 03:38:16 +10:00
2018-08-30 03:38:16 +10:00
2020-10-04 13:20:42 +11:00
2020-10-04 13:20:42 +11:00
2020-10-04 13:20:42 +11:00
2020-10-04 13:20:42 +11:00
2020-04-30 16:00:21 +10:00
2020-04-30 16:00:58 +10:00
2023-01-11 11:04:26 +11:00
2022-03-08 06:01:21 +11:00
2022-03-08 06:01:21 +11:00
2022-05-04 09:14:47 +10:00
2025-10-09 05:08:55 +11:00
2021-05-13 07:09:39 +10:00
2023-07-22 23:24:54 +10:00
2021-06-27 18:03:55 +10:00
2026-03-28 14:56:10 +11:00
2019-08-27 11:26:07 +10:00
2019-08-27 11:26:07 +10:00
2019-08-27 11:26:07 +10:00
2018-08-16 16:17:13 +10:00
2018-08-16 16:17:13 +10:00
2020-10-27 11:10:11 +11:00
2021-10-28 10:50:35 +11:00
2021-10-28 10:50:35 +11:00
2020-10-27 11:10:11 +11:00
2022-05-04 09:14:47 +10:00
2022-02-10 09:47:41 +11:00
2025-12-07 10:16:39 +11:00
2025-12-07 10:16:39 +11:00
2025-12-07 10:16:39 +11:00
2020-10-06 19:20:18 +11:00
2020-10-06 19:20:18 +11:00
2020-10-06 19:20:18 +11:00
2020-10-27 11:10:11 +11:00
2020-10-03 17:45:45 +10:00
2020-07-26 19:45:07 +10:00
2022-03-08 06:01:21 +11:00
2020-10-03 17:47:12 +10:00
2020-10-03 17:47:12 +10:00
2022-05-04 09:14:47 +10:00
2020-10-06 19:20:18 +11:00
2020-10-06 19:20:18 +11:00
2023-02-03 19:30:53 +11:00
2018-07-27 17:55:38 +10:00
2018-07-27 17:55:38 +10:00
2022-11-12 12:53:07 +11:00
2022-11-12 12:53:07 +11:00
2023-05-02 02:22:46 +10:00
2020-10-06 19:20:18 +11:00
2020-10-06 19:20:18 +11:00
2020-10-06 19:20:18 +11:00
2020-10-05 00:06:37 +11:00
2018-08-29 05:07:29 +00:00
2018-08-29 05:07:29 +00:00
2020-03-10 02:41:04 +11:00
2022-05-26 16:55:03 +10:00
2020-10-27 11:10:11 +11:00
2026-03-07 04:03:14 +11:00
2025-01-02 15:36:48 +11:00
2020-11-20 23:07:52 +11:00
2020-11-20 23:07:52 +11:00
2020-05-30 21:26:25 +10:00
2020-05-31 20:40:24 +10:00
2022-03-05 15:14:27 +11:00
2019-10-16 21:14:13 +11:00
2019-10-16 21:14:13 +11:00
2022-05-04 09:14:47 +10:00