Example usage for java.util TimeZone observesDaylightTime

List of usage examples for java.util TimeZone observesDaylightTime

Introduction

In this page you can find the example usage for java.util TimeZone observesDaylightTime.

Prototype

public boolean observesDaylightTime() 

Source Link

Document

Returns true if this TimeZone is currently in Daylight Saving Time, or if a transition from Standard Time to Daylight Saving Time occurs at any future time.

Usage

From source file:Main.java

public static void main(String args[]) {
    TimeZone timezonedefault = TimeZone.getDefault();

    System.out.println(timezonedefault.observesDaylightTime());
}