isSameYearByMs static method

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

year is equal. 是否同年.

Implementation

static bool isSameYearByMs(int ms, int locMs) {
  return isSameYear(DateTime.fromMillisecondsSinceEpoch(ms),
      DateTime.fromMillisecondsSinceEpoch(locMs));
}