Discordian date library/CLI tool for Java.
new DiscordianDate(1956,2,19).format(
"%{%A, the %e of %B%} in %Y YOLD.%n%X days left... %.%N%nEnjoy %H");
// ==> "Setting Orange, the 50th of Chaos in 3122 YOLD.
// 2449088 days left... Or not.
// Enjoy Chaoflux"
I've published the library to maven central.
org.rwtodd % org.rwtodd.discordian % 1.0.0
There is a scala version in the scala-version branch of this repo. There's also a clojure version in the clojure-version branch.