Java Tutorials

Getting started

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.
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.
In this tutorial, You will learn how to set the GMT offset of this time zone using Java SimpleTimeZone.setRawOffset(int offsetMillis) method . It sets the base time zone offset to GMT. This is the offset to add to UTC to get local time.
In this java tutorial, You will learn how to use ready() method of StringReader class.The ready() method tells whether this stream is ready to be read.
In this java tutorial, You will learn how to use floorEntry(K key) method of TreeMap class.Thids method returns a key-value mapping associated with the greatest key less than or equal to the given key, or null if there is no such key.
In this java tutorial, You will learn how get first key element of TreeMap class.This method returns the first (lowest) key currently in this map.
In this tutorial, You will learn how to get a string for the given key from this resource bundle using locale. Java ResourceBundle.getString(String key) method returns the string for the given key.
In this tutorial, You will learn how to compare two UUID's. Java UUID.compareTo(UUID val) method returns -1, 0 or 1 as this UUID is less than, equal to, or greater than val.
In this tutorial, You will learn how to check if the two UUID's are equal or not. Java UUID.equals(Object obj) method returns true if the objects are the same.
In this tutorial, You will learn how to get the hash code value of this UUID.