Here you can find the source of getTimeZoneOfTenant()
public static TimeZone getTimeZoneOfTenant()
//package com.java2s; /**/*from www . jav a 2 s .com*/ * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.org/MPL/2.0/. */ import java.util.TimeZone; public class Main { public static final String TENANT_TIME_ZONE = "Asia/Kolkata"; public static TimeZone getTimeZoneOfTenant() { return TimeZone.getTimeZone(TENANT_TIME_ZONE); } }