Java TimeZone Example

When you set a date-time value in java, you may encounter a timezone issue. You will find the date-time you get use java.util.Calendar class will always use the system default timezone. This example will tell you how to change it to show the date-time in your desired timezone.