Java tutorial
import java.util.SimpleTimeZone; public class Main { 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()); } }