I want to get a date that generates the time from now to 2685 days back and a random time. The format I accept must be “uuuu-MM-dd’T’HH: mm: ssZ”. Currently my program is generating a random date but I am not able to create a random time because Duration conflicts with Period Answer Something like this may be?
Tag: period
Number of days in leap years with IsoChronology
2000 CE is a leap year with 366 days. 2001 CE and 2002 CE do not leap years and have 355 days. Logically, if I ask the number of days between January 1st, 2000 CE and January 1st, 2001 CE, I should get one more day than between January 1st, 2001 CE and January 1st, 2002 CE. This is not