getCustomTsFromMillis static method

int getCustomTsFromMillis(
  1. int currTimeMillis
)

Implementation

static int getCustomTsFromMillis(int currTimeMillis) {
  double time = currTimeMillis/1000;
  time -= C_CUSTOM_TS_OFFSET;
  return time.toInt();
}