Java tutorial
import java.util.TimeZone; public class Main { public static void main(String args[]) { TimeZone timezonedefault = TimeZone.getDefault(); System.out.println(timezonedefault.observesDaylightTime()); } }