marshal method
Marshal method must operate by mutating empty object passed.
Implementation
@override
void marshal(MarshalledObject marshalled)
{
marshalled.setPropertyFromInt("year", year);
marshalled.setPropertyFromInt("month", month);
marshalled.setPropertyFromInt("day", day);
}