Home
Java
2D Graphics GUI
3D
Advanced Graphics
Ant
Apache Common
Chart
Class
Collections Data Structure
Data Type
Database SQL JDBC
Design Pattern
Development Class
EJB3
Email
Event
File Input Output
Game
Generics
GWT
Hibernate
I18N
J2EE
J2ME
JavaFX
JDK 6
JDK 7
JNDI LDAP
JPA
JSP
JSTL
Language Basics
Network Protocol
PDF RTF
Reflection
Regular Expressions
Scripting
Security
Servlets
Spring
Swing Components
Swing JFC
SWT JFace Eclipse
Threads
Tiny Application
Velocity
Web Services SOA
XML
Menu
TimeZone « Development Class « Java
Java
Development Class
TimeZone
1.
Format TimeZone in z (General time zone) format like EST.
2.
Format TimeZone in zzzz format Eastern Standard Time.
3.
Format TimeZone in Z (RFC 822) format like -8000.
4.
Display Available Time Zones
5.
Get all available timezones
6.
Convert time between timezone
7.
TimeZone.getTimeZone("America/New_York")
8.
TimeZone.getTimeZone("Europe/Paris")
9.
TimeZone.getTimeZone("Asia/Tokyo")
10.
Converting Times Between Time Zones
11.
Getting the Current Time in Another Time Zone
12.
Using the Calendar Class to Display Current Time in Different Time Zones
13.
Get current TimeZone using Java Calendar
14.
Create a Calendar object with the local time zone and set the UTC from japanCal
15.
Get the time in the local time zone
16.
Timezone conversion routines
17.
Convert the date to the given timezone