...
Code Block |
---|
public interface ILinkableComponent { DateTime TimeHorizonBegin { get; } DateTime TimeHorizonEnd { get; } void Update(DateTime); } |
Advantages:
- Simplifies SDK
- Simpler to use since date types are standard
Another issue is related to time zone. If we need to use it - then DateTimeOffset type should be used which actually is a DateTime plus TimeSpan defining time zone.