nt-time 0.4.0

A Windows file time library
Documentation
= Changelog
:toc: macro
:project-url: https://github.com/sorairolake/nt-time
:compare-url: {project-url}/compare
:issue-url: {project-url}/issues
:pull-request-url: {project-url}/pull

All notable changes to this project will be documented in this file.

The format is based on https://keepachangelog.com/[Keep a Changelog], and this
project adheres to https://semver.org/[Semantic Versioning].

toc::[]

== {compare-url}/v0.3.0\...v0.4.0[0.4.0] - 2023-04-21

=== Added

* Add doctests for `Serialize` and `Deserialize`
* Add conversion methods from/to Unix time
* Add Serde support for Unix time
* Re-export `serde` crate

=== Changed

* Rename `FileTime::NT_EPOCH` to `FileTime::NT_TIME_EPOCH`
* Rename `serde` to `serde_with`

== {compare-url}/v0.2.0\...v0.3.0[0.3.0] - 2023-04-17

=== Added

* Add Serde support

=== Changed

* Change `FileTimeRangeErrorKind` to public

== {compare-url}/v0.1.0\...v0.2.0[0.2.0] - 2023-04-14

=== Added

* Add `impl From<FileTime> for SystemTime`
* Add `FileTime::UNIX_EPOCH` constant
* Add `FileTime::now` method
* Add conversion methods from/to `chrono::DateTime`
* Add methods for operation with `time::Duration`
* Add conversion methods from/to byte arrays
* Add methods to subtract from/to `SystemTime`
* Add methods to subtract from/to `time::OffsetDateTime`
* Add methods to subtract from/to `chrono::DateTime<chrono::Utc>`
* Add methods for equality comparisons from/to `SystemTime`,
  `time::OffsetDateTime` and `chrono::DateTime<chrono::Utc>`
* Add methods for order comparisons from/to `SystemTime`,
  `time::OffsetDateTime` and `chrono::DateTime<chrono::Utc>`

=== Changed

* `impl TryFrom<SystemTime> for FileTime` always supports after
  `9999-12-31 23:59:59.999999900 UTC`

=== Removed

* Remove `impl TryFrom<FileTime> for SystemTime`

=== Fixed

* Fix `OffsetDateTimeRangeError` description
* Fix `FileTimeRangeError` description
* Fix operation of `impl Sub for FileTime` if the difference is large

== {project-url}/releases/tag/v0.1.0[0.1.0] - 2023-03-27

=== Added

* Initial release