Courses
Tutorials
Interview Prep
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
Similar Topics
Web Technologies
32.1K+ articles
DSA
20.4K+ articles
Python
19.6K+ articles
Experiences
15.8K+ articles
Interview Experiences
14.5K+ articles
School Learning
11.1K+ articles
Java
9.4K+ articles
Misc
7.7K+ articles
Java-Functions
4.2K+ articles
Java - util package
1.6K+ articles
Java-SimpleTimeZone
15 posts
Recent Articles
Popular Articles
SimpleTimeZone setEndRule(int, int, int) method in Java with Examples
Last Updated: 27 March 2019
The setEndRule(int endofMonth, int endofDay, int endofTime) method of SimpleTimeZone class in Java is used to set a particular rule of the day-light saving time to a fixed...
read more
Misc
Java
Java - util package
Java-Functions
Java-SimpleTimeZone
SimpleTimeZone setStartRule(int, int, int) method in Java with Examples
Last Updated: 27 March 2019
The setStartRule(int startofMonth, int startofDay, int startofTime) method of SimpleTimeZone class in Java is used to set a particular start rule of the day-light saving t...
read more
Misc
Java
Java - util package
Java-Functions
Java-SimpleTimeZone
SimpleTimeZone inDaylightTime() method in Java with Examples
Last Updated: 27 March 2019
The inDaylightTime(Date) method of SimpleTimeZone class in Java is used to check and verify whether the given date is in daylight saving time.Syntax:public boolean inDayli...
read more
Misc
Java
Java - util package
Java-Functions
Java-SimpleTimeZone
SimpleTimeZone useDaylightTime() method in Java
Last Updated: 03 January 2019
The useDaylightTime() method of SimpleTimeZone class is used as a query if this time zone uses daylight saving time.Syntax:public boolean useDaylightTime()Parameters: The ...
read more
Misc
Java
Java-Functions
Java-SimpleTimeZone
SimpleTimeZone setStartYear() method in Java
Last Updated: 03 January 2019
The setStartYear() method of SimpleTimeZone class is used to set the daylight saving time starting year.Syntax:public void setStartYear(int year)Parameters: The function a...
read more
Misc
Java
Java-Functions
Java-SimpleTimeZone
SimpleTimeZone setDSTSavings() method in Java with Examples
Last Updated: 08 August 2022
The setDSTSavings() method of SimpleTimeZone class is used to set the amount of time that the clock is advanced during daylight saving time. The calculation is done in mil...
read more
Misc
Java
Java-Functions
Java-SimpleTimeZone
SimpleTimeZone toString() method in Java with Examples
Last Updated: 03 January 2019
The toString() method of SimpleTimeZone class is used to get a string representation of this time zone.Syntax:public String toString()Parameters: The function does not acc...
read more
Misc
Java
Java-Functions
Java-SimpleTimeZone
SimpleTimeZone setRawOffset() method in Java with Examples
Last Updated: 08 August 2022
The setRawOffset() method of SimpleTimeZone class is used to set the base time zone offset to GMT. The offset is added to UTC to get the local time.Syntax:public void setR...
read more
Misc
Java
Java-Functions
Java-SimpleTimeZone
SimpleTimeZone hasSameRules() method in Java with Examples
Last Updated: 02 January 2019
The hasSameRules() method of SimpleTimeZone class returns 'true' if this zone has the same rules and offset as another zone.Syntax:public boolean hasSameRules(TimeZone oth...
read more
Misc
Java
Java - util package
Java-Functions
Java-SimpleTimeZone
SimpleTimeZone equals() method in Java with Examples
Last Updated: 02 January 2019
The equals() method of SimpleTimeZone class is used to compare the equality of two SimpleTimeZone objects.Syntax:public boolean equals(Object obj)Parameters: The function ...
read more
Misc
Java
Java - util package
Java-Functions
Java-SimpleTimeZone
SimpleTimeZone getOffset() method in Java with Examples
Last Updated: 02 January 2019
In SimpleTimeZone class, there are two types of getOffset() method depending upon the parameters passed to it. getOffset(int era, int year, int month, int day, int dayOfWe...
read more
Misc
Java
Java - util package
Java-Functions
Java-SimpleTimeZone
SimpleTimeZone getDSTSavings() method in Java with Examples
Last Updated: 02 January 2019
The getDSTSavings() method of SimpleTimeZone class returns the amount of time (in milliseconds) that the clock advances during daylight saving time.Syntax:public int getDS...
read more
Misc
Java
Java - util package
Java-Functions
Java-SimpleTimeZone
SimpleTimeZone clone() method in Java with Examples
Last Updated: 02 January 2019
The clone() method of SimpleTimeZone class returns a clone of this SimpleTimeZone instance.Syntax:public Object clone()Parameters: The function does not accept any paramet...
read more
Misc
Java
Java - util package
Java-Functions
Java-SimpleTimeZone
SimpleTimeZone getRawOffset() method in Java with Examples
Last Updated: 02 January 2019
The getRawOffset() method of SimpleTimeZone class is used to get the GMT offset for this time zone.Syntax:public int getRawOffset()Parameters: The function does not accept...
read more
Misc
Java
Java - util package
Java-Functions
Java-SimpleTimeZone
SimpleTimeZone hashCode() method in Java with Examples
Last Updated: 02 January 2019
The hashCode() method of SimpleTimeZone class generates the hash code for the SimpleDateFormat object.Syntax:public int hashCode()Parameters: The function does not accepts...
read more
Misc
Java
Java - util package
Java-Functions
Java-SimpleTimeZone