thisYear static method

int thisYear()

Implementation

static int thisYear() {
  return DateTime.now().year;
}