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));
}