Skip to content

Paired eras #17

@joeroe

Description

@joeroe

CE-based eras come in pairs, i.e. negative values of CE are BCE; negative values of BCE are CE. There is currently no concept of this in era. I can think of two ways to add it:

  1. As part of the definition of an era, e.g. add an inverse attribute that contains another era.
  2. As a function, which takes a year vector with negative values and splits it into two positive vectors with paired eras.

The underlying question is whether it makes sense to support paired eras in analytical use (in which case we'd need 1) or just for printing and plotting (then 2 would be enough).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions