Created base class for Date and Value