I am using the java method TimeZone.getDefault()
on an Android device to get my current timezone.
I need to extract any latitude longitude pair within the boundaries of the timezone. preferably the center, but it doesn't have to be exact.
Is there some Timezone boundaries data somewhere or some other way to achieve this?
Rationale: I have a 3rd party API that I am required to use for certain functionality, and while the API works well for what it does, it is no longer in active development and is not open-sourced.
The API requires a Latitude, Longitude pair to determine timezone, and has no public alternative to provide a timezone instead. I would rather not ask my users for location permission for an exact location if I can get away with it.