check input ranges for sanity (funny inputs) ?
ZERO input values yield unexpected, yet "reasonable" results. Is this intended?
branan@gfz:~/gnss-tools/dateconv$ bin/dateconv convert "2024 00 00"
2024 00 00
-----------------------------------------------------
| YYYY mm DD DDD MJD GPSW.D Second Weekday |
-----------------------------------------------------
| 2023 11 26 330 60274 2290.0 0 Sunday |
| 2023 11 27 331 60275 2290.1 86400 Monday |
| 2023 11 28 332 60276 2290.2 172800 Tuesday |
| 2023 11 29 333 60277 2290.3 259200 Wednesday |
>> | 2023 11 30 334 60278 2290.4 345600 Thursday |
| 2023 12 01 335 60279 2290.5 432000 Friday |
| 2023 12 02 336 60280 2290.6 518400 Saturday |
-----------------------------------------------------
-----------------------------------------------------
| HH MM SS SSSSSS Unix MJDF |
-----------------------------------------------------
| 00 00 00 000000 1701302400 60278.00000 |
-----------------------------------------------------