Java SimpleTimeZone.hashCode() method example
In this tutorial, You will learn how to generate the hash code. Java SimpleTimeZone.hashCode() method returns hash code for this object.
Java SimpleTimeZone.equals(Object obj) method example
In this tutorial, You will learn how to check if the two zones are equal or not . Java SimpleTimeZone.equals(Object obj) method returns true if the two zones are same as this SimpleTimeZone object.
Java SimpleTimeZone.hasSameRules(TimeZone other) method example
In this tutorial, You will learn how to check if this zone has the same rules or not . Java SimpleTimeZone.hasSameRules(TimeZone other) method returns true if this zone has the same rules.
Java SimpleTimeZone.toString() method example
In this tutorial, You will learn how to get a string representation of this time zone. Java SimpleTimeZone.toString() method returns a string of this instance.
Java SimpleTimeZone.clone() method example
In this tutorial, You will learn how to get a clone of this SimpleTimeZone object . Java SimpleTimeZone.clone() method returns a clone of this instance.
Java SimpleTimeZone.inDaylightTime(Date date) method example
In this tutorial, You will learn how to check if the date is in daylight saving time or not . Java SimpleTimeZone.inDaylightTime(Date date) method returns true if daylight saving time is in effective at the given date.
Java SimpleTimeZone.observesDaylightTime() method example
In this tutorial, You will learn how to check if this SimpleTimeZone observes Daylight Saving Time or not . Java SimpleTimeZone.observesDaylightTime() method returns true if this SimpleTimeZone observes Daylight Saving Time.
Java SimpleTimeZone.useDaylightTime() method example
In this tutorial, You will learn how to check if this time zone uses daylight saving time or not. Java SimpleTimeZone.useDaylightTime() method returns true if this time zone uses daylight saving time.
Java SimpleTimeZone.getDSTSavings() method example
In this tutorial, You will learn how to get the DST saving time using Java SimpleTimeZone.getDSTSavings() method. It will returns the amount of time in milliseconds that the clock is advanced during daylight saving time.
Java SimpleTimeZone.setDSTSavings(int millisSavedDuringDST) method example
In this tutorial, You will learn how to set the DST saving time using Java SimpleTimeZone.setDSTSavings(int millisSavedDuringDST) method. It sets the amount of time in milliseconds that the clock is advanced during daylight saving time.