yearIsEqualByMs static method

bool yearIsEqualByMs(
  1. int ms,
  2. int locMs
)

year is equal. 是否同年.

Implementation

static bool yearIsEqualByMs(int ms, int locMs) {
  return yearIsEqual(DateTime.fromMillisecondsSinceEpoch(ms),
      DateTime.fromMillisecondsSinceEpoch(locMs));
}