Skip to content

Type/semantics: CEL timestamp operations (tz-aware accessors, overflow rules) #101

@rrrodzilla

Description

@rrrodzilla

Workstream: Type system · Part of #89

Context

We already have DateTime<Utc>. CEL adds rich timestamp operations: tz-aware accessors (getDayOfWeek, getHours(tz), getFullYear), timestamp/duration arithmetic, and defined overflow semantics (we already hand-cite the spec in cel objects.rs / our own time handling).

Scope

  • Expose CEL timestamp operations over our DateTime in rules.
  • Commit to CEL's tz/overflow semantics; document them.

Acceptance

  • Rules can use tz-aware accessors and timestamp/duration arithmetic with spec-conformant overflow behavior.

Pairs with the duration type (sibling type issue).


Dependencies: Lands with the evaluator (#91); pairs with the duration type #96. Soft.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions