Java tutorial
import java.time.ZoneOffset; //ZoneOffset is the period of time representing //a difference between Greenwich/UTC and a time zone. public class Main { public static void main(String[] args) { ZoneOffset offset = ZoneOffset.of("+2:00"); System.out.println(offset); } }