CalendarDemo - Apache POI Excel File Example
What is CalendarDemo example in the Apache POI package? How to run CalendarDemo example?
CalendarDemo example in the Apache POI package is created by Yegor Kozlov. It can be used to generate a monthly calendar with each month on a separate sheet.
CalendarDemo example uses the Common Spreadsheet Format (SS) API, which supports Excel files in both *.xls and *.xlsx formats.
Here is the command to run CalendarDemo to generate 2016 calendar in *.xls file format compatible with Microsoft Excel 97 version.
C:\fyicenter>\local\jdk-1.8.0\bin\java -cp .;C:\local\poi-3.15\poi-examples-3.15.jar; C:\local\poi-3.15\poi-3.15.jar; C:\local\poi-3.15\poi-ooxml-3.15.jar org.apache.poi.ss.examples.CalendarDemo -xls 2016
If you open the output file, calendar.xls, in Excel,
you will see a nice looking calendar as shown below:
2017-03-17, 1269👍, 0💬
How to run "jarsigner" command from JDK tools.jar file? "jarsigner" command allows you to digitally ...
JDK 11 java.xml.crypto.jmod is the JMOD file for JDK 11 XML (eXtensible Markup Language) Crypto modu...
Where to find answers to frequently asked questions on Downloading and Installing ojdbc.jar - JDBC D...
How to download and install JDK (Java Development Kit) 8? If you want to write Java applications, yo...
JDK 11 jdk.jshell.jmod is the JMOD file for JDK 11 JShell tool, which can be invoked by the "jshell"...