year top-level property

int year
getter/setter pair

Implementation

int year = int.parse(formatterYY.format(now).toString());