Skip to content

Commit

Permalink
v0.2.0
Browse files Browse the repository at this point in the history
- Added a `chrono` feature for enabling conversions to & from `chrono` types
- Gave `MonthShape` a `calendar()` method for obtaining the associated
  `Calendar`
- Gave `MonthShape` `nth_date()` and `dates()` methods for obtaining `Date`
  objects belonging to the month
- New `Date` methods:
    - `pred()` — returns the previous date
    - `succ()` — returns the next date
    - `later()` — returns an iterator over all later dates
    - `earlier()` — returns an iterator over all earlier dates
    - `and_later()` — returns an iterator that yields the receiver and all
      later dates
    - `and_earlier()` — returns an iterator that yields the receiver and all
      earlier dates
- Added a `Weekday` enum and a `Date::weekday()` method
  • Loading branch information
jwodder committed May 13, 2023
1 parent df60121 commit 9104272
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
v0.2.0 (in development)
-----------------------
v0.2.0 (2023-05-13)
-------------------
- Added a `chrono` feature for enabling conversions to & from `chrono` types
- Gave `MonthShape` a `calendar()` method for obtaining the associated
`Calendar`
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "julian"
version = "0.2.0-dev"
version = "0.2.0"
edition = "2021"
rust-version = "1.66"
description = "Convert between Julian day numbers and Julian & Gregorian calendars"
Expand Down

0 comments on commit 9104272

Please sign in to comment.