A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.geeksforgeeks.org/java/zoneoffset-ofstring-method-in-java-with-examples/ below:

ZoneOffset of(String) method in Java with Examples

ZoneOffset of(String) method in Java with Examples

Last Updated : 11 Dec, 2018

The

of(String)

method of

ZoneOffset Class

in

java.time package

is used to obtain an instance of ZoneOffset using the offsetId passed as the parameter. This method takes the offsetId as parameter in the form of String and converts it into the ZoneOffset. The ID of the returned offset will be normalized to one of the formats described by getId(). The list of String offsetId accepted by this method are as follows:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4