Skip to content

Use a better time/duration representation #122

@antoine-de

Description

@antoine-de

Maybe we should use std::time::Duration instead of u32 for time representation.

I'm not sure about stop_time.arrival_time / stop_time.departure_time (since it's a duration from midnight), but I least for transfers and pathways I think it would lead to better ergonomics.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions