code: public long getLocalTime()
    {
      // If this is a local time zone date, just set the time
      if (_timeZone != _gmtTimeZone) {
        return _localTimeOfEpoch;
      }
      // If this is a GMT date, convert from local to GMT
      else {
        long offset = _localTimeZone.getOffset(GregorianCalendar.AD,
                                               (int) _year,
                                               (int) _month,
                                               (int) _dayOfMonth + 1,
                                               getDayOfWeek(),
                                               (int) _timeOfDay);
  
        return _localTimeOfEpoch + offset;
      }
    }
docs: Returns the time in milliseconds since the epoch.