refactored all date methods by opening up date class