Skip to content

Add Timestamp methods for arithmetic with Duration #2367

@bfops

Description

@bfops

BitCraft module, prior to the Timestamp overhaul, used Timestamp::checked_add(self, duration: Duration) -> Option<Self>. We should provide this same method, and likely any other arithmetic that SystemTime also offers.

Metadata

Metadata

Assignees

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