Skip to content

Dabendorf/Java-JubileeCalculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jubilee Calculator

This little programme generates round and repdigit jubilees for an input date

Example

Input jubilee: 2004-08-07 09:00:00
Generate until: 2026-01-01 09:00:00

Output:

2022-08-07 09:00:00: 18 Years
2022-08-30 14:20:00: 9,500,000 Minutes
2022-10-22 09:00:00: 950 Weeks
2022-11-07 08:00:00: 6,666 Days
2023-02-07 09:00:00: 222 Months
2023-08-07 09:00:00: 19 Years
2023-08-12 19:39:00: 9,999,999 Minutes
2023-08-12 19:40:00: 600,000,000 Seconds
2023-08-12 19:40:00: 10,000,000 Minutes
2023-09-30 09:00:00: 999 Weeks
2023-10-07 09:00:00: 7,000 Days
2023-10-07 09:00:00: 1,000 Weeks
2024-08-07 09:00:00: 20 Years
2025-02-18 08:00:00: 7,500 Days
2025-03-13 11:33:20: 650,000,000 Seconds
2025-06-07 09:00:00: 250 Months
2025-08-07 09:00:00: 21 Years
2025-09-22 10:11:00: 11,111,111 Minutes
2025-09-22 10:11:06: 666,666,666 Seconds
2025-11-22 08:00:00: 7,777 Days
2025-11-22 08:00:00: 1,111 Weeks

Use

You just need to compile the Java code (the main file is JubileeCalculator)

The programme runs from the command line, you pass two arguments to the programme, the date itself and a date until which it should display jubilees.

java jubilaeumsrechner.JubileeCalculator "2022-06-04 09:00:00" "2026-01-01 09:00:00"

About

Generates round and repdigit jubilees for an input date

Topics

Resources

License

Stars

Watchers

Forks

Languages