marshal method

  1. @override
void marshal(
  1. MarshalledObject marshalled
)
override

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);
}