62. simple_time_zone_class in JAVA
//simple_time_zone_class
import java.util.*;
class simple_time_zone_class
{
public static void main(String[] args) {
SimpleTimeZone obj = new SimpleTimeZone(730,"Australia");
System.out.println("Time Zone : " + obj);
System.out.println("Object Clone : " + obj.clone());
}
}
OUTPUT:
Time Zone : java.util.SimpleTimeZone[id=Australia,offset=730,dstSavings=3600000,useDaylight=false,startYear=0,startMode=0,startMonth=0,startDay=0,startDayOfWeek=0,startTime=0,startTimeMode=0,endMode=0,endMonth=0,endDay=0,endDayOfWeek=0,endTime=0,endTimeMode=0]
Object Clone : java.util.SimpleTimeZone[id=Australia,offset=730,dstSavings=3600000,useDaylight=false,startYear=0,startMode=0,startMonth=0,startDay=0,startDayOfWeek=0,startTime=0,startTimeMode=0,endMode=0,endMonth=0,endDay=0,endDayOfWeek=0,endTime=0,endTimeMode=0]
Comments
Post a Comment