Java TimeZone Create getTimeZoneOfTenant()

Here you can find the source of getTimeZoneOfTenant()

Description

get Time Zone Of Tenant

License

Mozilla Public License

Declaration

public static TimeZone getTimeZoneOfTenant() 

Method Source Code

//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);
    }
}

Related

  1. getTimeZoneDefault()
  2. getTimeZoneIds()
  3. getTimeZoneList()
  4. getTimezoneList()
  5. getTimeZoneMap()
  6. getTotalTimeZoneOffset(TimeZone zone)
  7. getUserTimeZoneDate(String userTimezone)
  8. testSimpleTimeZone()
  9. toTimeZone(int gmtOffset)