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
2026-03-13 17:02:12 +11:00
2026-03-28 14:56:10 +11:00
2026-03-04 13:24:30 +11:00
2026-03-04 13:24:30 +11:00
2023-01-11 11:04:26 +11:00
2025-10-09 05:08:55 +11:00
2023-07-22 23:24:54 +10:00
2026-03-28 14:56:10 +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
2023-02-03 19:30:53 +11:00
2023-05-02 02:22:46 +10:00
2026-03-07 04:03:14 +11:00
2025-01-02 15:36:48 +11:00