Class Dates is serializable