Loops are used to iterate items on a list or to traverse a certain part of the program several times as long as a condition is satisfied.
[Read More]Change Intellij terminal to gitbash
If you usually use the gitbash console in Windows and you prefer to use it also in your Intellij you can change the terminal easily.
[Read More]How to change the time zone of a date
Let’s examine how to change the time zone of a date in java in different ways.
How to change the timezone of a java.util.Date using SimpleDateFormat We must be clear that the Date class in Java does not have a time zone.
java.util.Date represents the number of seconds from midnight January 1, 1970 to zero hours (UTC time).
This means, java.util.Date will always return the time for the time zone that is by default defined for the system.
[Read More]