translate method

int translate(
  1. int millisecondsSinceEpoch
)

translate instant in time expressed as milliseconds since January 1, 1970 00:00:00 UTC to this Location.

Implementation

int translate(int millisecondsSinceEpoch) {
  return millisecondsSinceEpoch + timeZone(millisecondsSinceEpoch).offset;
}