Calendar on java.time, running on console in Linux and other consoles with have supports ANSI code.
- Create dirrectory and put files from src.
- Open console with src dir and put command
javac Calendar.java
. - After compile code, use next command
java Calendar
orjava Calendar #
, # where the number of the month (1-12).
- Java 8 SE.