addToTemporal
AddToTemporal is a generic operation found in date-time libraries and temporal data models. It produces a new temporal value by adding a quantity to an existing temporal object, such as a date, time, or timestamp. The operation accepts the temporal input, an amount to add, and a unit or duration, and returns a new object of the same or compatible type if supported.
The semantics of addToTemporal depend on the library and the specific temporal type. It is typically non-destructive,
Examples illustrate common usage: addToTemporal(date, 7, "days") yields a date one week later, and addToTemporal(appointmentTime, 2,
Relation to libraries and APIs: addToTemporal corresponds to general time arithmetic. In Java, a similar concept