A
Anders Borum
Hello!
As part of a refactoring iteration, I was looking at consolidating two
properties (Start and EndDate) to a single structure that would allow a
single access point for the "duration" (so to speak).
I considered using the TimeSpan, but that structure doesn't provide the
boundaries for the "duration", only the length of the "duration" itself.
The obvious step next would be creating my own structure that provided these
boundaries - except that I have a feeling this is already present in the
framework (or sounds like it should be). Am I looking for something that
doesn't exist?
Thanks in advance!
As part of a refactoring iteration, I was looking at consolidating two
properties (Start and EndDate) to a single structure that would allow a
single access point for the "duration" (so to speak).
I considered using the TimeSpan, but that structure doesn't provide the
boundaries for the "duration", only the length of the "duration" itself.
The obvious step next would be creating my own structure that provided these
boundaries - except that I have a feeling this is already present in the
framework (or sounds like it should be). Am I looking for something that
doesn't exist?

Thanks in advance!