isYesterdayByMs static method

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

is yesterday by millis. 是否是昨天.

Implementation

static bool isYesterdayByMs(int ms, int locMs) {
  return isYesterday(DateTime.fromMillisecondsSinceEpoch(ms),
      DateTime.fromMillisecondsSinceEpoch(locMs));
}