hoursSince static method

int hoursSince(
  1. int time
)

Implementation

static int hoursSince(int time) {
  return ((nowEpoch() - time) / (60 * 60 * 1000)).round();
}