ym property

DateFormat ym
getter/setter pair

ym changes the format of the datetime to ym format.

Implementation

static DateFormat ym = new DateFormat('yyyy/MM');