Class TimeSerializer