Skip to content

Consider restoring gist:TimeInterval #786

Closed
@rjyounes

Description

@rjyounes

This predates my tenure at SA, but as I understand it TimeInterval was removed because it can be represented by start and end dates on an event - e.g., the time interval in which an event took place is represented as a start and an end date.

But what if we want to represent a time interval per se - e.g., the 18th century, or Monday, Jan 9, 2023 - and also object to modeling anything with dates as an event? (Some of us argue strenuously against this model, others for.)

gist:Duration is defined as "One week (or seven days), but not Jan 1, 2008 to Jan 7, 2008 [sic] (which is an interval)."

My guess was that this was written before gist:TimeInterval was removed, but nevertheless the distinction is valid: a table has a height of 12 inches and a sink has a width of 12 inches - 12 inches is the magnitude. Similarly, the 18th century had a duration of 100 years but is not itself 100 years.

If we are not going to restore the TimeInterval class, I would like guidance on how to model these concepts.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions