Skip to content

TZTimeOnly encoding in local time zone #116

Open
@RFrenkel

Description

@RFrenkel

Is there an option to create a composite binary type for TZTimeOnly with TimeZone (Local) specified, without offset to UTC?

Looking at Technical specification Version 1.0 – Feb. 9, 2017, section 2.12.3 the only option suggested is to represent TZTimeOnly is to include offset to UTC.

Elements as suggested:

  • TZTimeOnly | Time of day only with time zone Default: nanoseconds since midnight today, local time | uint64 | 8 | None
  • timeUnit = second or millisecond or microsecond or nanosecond May be constant | uint8 | 1 | None
      - Time zone hour offset | int8 | 1 | None
      - Time zone minute offset | uint8 | 1 | None

Is the use of the last two elements optional in this composite?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions