added setter y getter in date