1 | sS weekday_after_ymdSlashes(int weekdayNr, S date) { |
2 | if (weekdayNr < 1) null; |
3 | int day1 = dayOfWeek_nr(parseYYYYslashMMslashDD(date)); |
4 | ret datePlusDays_slashes(date, mod(weekdayNr-day1-1, 7)+1); |
5 | } |
download show line numbers debug dex old transpilations
Travelled to 9 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, lnbujpyubztb, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1022552 |
Snippet name: | weekday_after_ymdSlashes (not same day) |
Eternal ID of this version: | #1022552/2 |
Text MD5: | a1d33b825d0be2b96d57fde64c9d4b3a |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-03-21 10:56:48 |
Source code size: | 205 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 251 / 293 |
Version history: | 1 change(s) |
Referenced in: | [show references] |