getSystemDefault abstract method

Future<DateTimeZone> getSystemDefault()

Gets the time zone from this provider that matches the system default time zone, if a matching time zone is available.

Callers should be aware that this method will throw DateTimeZoneNotFoundException if no matching time zone is found. For the built-in Time Machine providers, this is unlikely to occur in practice (assuming the system is using a standard Windows time zone), but can occur even then, if no mapping is found. The TZDB source contains mappings for almost all Windows system time zones, but a few (such as 'Mid-Atlantic Standard Time') are unmappable.

DateTimeZoneNotFoundException: The system default time zone is not mapped by this provider.

The provider-specific representation of the system default time zone.

Implementation

Future<DateTimeZone> getSystemDefault();