TimeCategory.inTimeZone: Absolute Instant vs Wall-Clock Preservation
Groovy's TimeCategory.inTimeZone method returns a new java.util.Date instance adjusted to a target TimeZone while maintaining the same UTC instant. The implementation delegates to java.util.Calendar , inheriting the JDK's IANA timezone database and daylight-saving rules. However, the documentation does not explicitly state whether the method's contract guara