getTimezoneInfoWithTimezoneId

external fun getTimezoneInfoWithTimezoneId(timezoneResult: TimezoneResult, timezoneId: String, time: Time, listener: ProgressListener, accurateResult: Boolean): Int

Async returns the timezone info with coordinates and a timestamp.

Return

Error code if the operation couldn't start. If operation successfully started the progress and completion notifications will come via the listener

Parameters

timezoneResult

The result Timezone object

timezoneId

The geographic location on earth of type: "Continent/City"

time

The time for which offsets are calculated (UTC)

listener

Operation progress listener. Returns: - KNoError = Success - error::KInternalAbort = The result parsing failed or server internal error occurred

accurateResult
  • if left 'false' the result will be computed using the available offline resource (the function will return directly). If 'true' an HTTP request will be performed for computing the result.