public static boolean isUtc ( final TimeZone timezone ) { // return timezone.hasSameRules(TimeZone.getTimeZone(UTC_ID)); // return timezone.getRawOffset() == 0; return UTC_ID . equals ( timezone . getID ( ) ) || IBM_UTC_ID . equals ( timezone . getID ( ) ) ; }
Indicates whether the specified timezone is equivalent to UTC time .