short of Date class implementation