Skip to main content

Changelog

All notable changes to Vali-Duration are documented here. Follows Keep a Changelog and Semantic Versioning.


[1.0.0] — 2025-07-01

Added

  • ValiDuration struct with decimal precision for sub-millisecond accuracy.
  • Factory methods: FromMilliseconds, FromSeconds, FromMinutes, FromHours, FromDays, FromWeeks.
  • Arithmetic operators: +, -, *, /.
  • Comparison operators: <, >, <=, >=, ==, !=.
  • IEquatable<ValiDuration> and IComparable<ValiDuration> implementations.
  • Implicit conversion to and from TimeSpan.
  • Format() for human-readable string output.
  • As(TimeUnit) to convert the duration value into a specific unit.