-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create weekyear(date) function (#61)
## Description Create the `weekday(date)` function to return the week of year of a date, based on the ISO week date algorithm: ![image](https://user-images.githubusercontent.com/13650290/234122570-dd78ca39-722f-401f-96e8-8dbe47fc2cc4.png) > https://en.wikipedia.org/wiki/ISO_week_date ### Usage ```cpp weekyear("2022-04-20") // result => 16 ```
- Loading branch information
1 parent
f500d7a
commit 26cef1c
Showing
4 changed files
with
37 additions
and
3 deletions.
There are no files selected for viewing
Submodule equations-parser
updated
5 files
+68 −2 | parser/mpFuncCommon.cpp | |
+13 −0 | parser/mpFuncCommon.h | |
+1 −0 | parser/mpPackageCommon.cpp | |
+2 −0 | sample/example.cpp | |
+29 −0 | tests.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Gem::Specification.new do |s| | ||
s.name = 'parsecs' | ||
s.version = '0.12.0' | ||
s.version = '0.13.0' | ||
s.platform = Gem::Platform::RUBY | ||
s.authors = ['Nilton Vasques', 'Victor Cordeiro', 'Beatriz Fagundes'] | ||
s.email = ['[email protected]', '[email protected]', '[email protected]'] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters