For some reason date and time offsets aren't always represented in generated code as Integer, sometimes they get unconverted to Long. This inconsistent behavior may lead to bugs. We should figure out the root cause.
Imported from Jira BEAM-12175. Original Jira may contain additional context.
Reported by: apilloud.