Other |
---|
1.2.0 1.2beta4Fixed |
Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
|
Relates :
|
Cannot create Atlantic Standard Time Zone, instead the timezone ID of AST creates Alaska Time Zone. Steps to reproduce: Compile and run the attached java code import java.util.TimeZone; public class tz { static final int millisInHour = 3600000; public static void main( String argv[] ) { TimeZone tz1 = TimeZone.getTimeZone( "AST" ); if( tz1 == null ) { System.out.println( "Time zone is null" ); } else{ System.out.println( "Offset: " + tz1.getRawOffset()/ (double)millisInHour ); System.out.println( "Should be -4" ); } } }
|