Example usage for java.util SimpleTimeZone useDaylightTime

List of usage examples for java.util SimpleTimeZone useDaylightTime

Introduction

In this page you can find the example usage for java.util SimpleTimeZone useDaylightTime.

Prototype

public boolean useDaylightTime() 

Source Link

Document

Queries if this time zone uses daylight saving time.

Usage

From source file:Main.java

public static void main(String args[]) {

    SimpleTimeZone stobj = new SimpleTimeZone(820, "US");

    // checking day light time  
    System.out.println("Use day light time : " + stobj.useDaylightTime());
}