Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/evancarroll/rust-lastdayofmonth
A utility to calculate the last day of month for every month in a year. All of the last Sundays in 2022? We can do that.
https://github.com/evancarroll/rust-lastdayofmonth
chrono date last-day rust
Last synced: 3 days ago
JSON representation
A utility to calculate the last day of month for every month in a year. All of the last Sundays in 2022? We can do that.
- Host: GitHub
- URL: https://github.com/evancarroll/rust-lastdayofmonth
- Owner: EvanCarroll
- Created: 2022-07-27T03:46:30.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-27T05:06:24.000Z (over 2 years ago)
- Last Synced: 2024-11-11T03:19:20.440Z (4 days ago)
- Topics: chrono, date, last-day, rust
- Language: Rust
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
lastdayofmonth
====Ever want to find all the last Sundays in 2022?
```sh
lastdayofmonth --year 2022 --day Sunday
```This is an application to get all the last days of all months for a given a
year.Building
----```sh
cargo build --release
```**Don't benchmark a testing suite, ever.** But if you insist, the test ported
1-to-1 as found in other languages in the Perl Weekly Challange #175. You can
run it like this.```sh
cargo test --relesae
```Also remember, the first run or build should be discarded as it _may_ included
compilation if not already done.History
----Originally created to get a Rust implementation for Mohammad Sajid Anwar
challange 175 for the Perl Weekly Challange.You can find the [Facebook Post on the Perl Community here](https://www.facebook.com/groups/perlcommunity/posts/1265844890889801).