Library to display a full calendar for specific months and years using the native DateTime class
ez install calendar
| Package | Range |
|---|---|
| No dependencies. | |
The calendar library provides functions to display well-formatted calendars on the console in EZ. It utilizes the native DateTime class.
Since this library is included in the standard ezlib packages, you can import it directly:
use "calendar"
printMonth(year, month)Displays a calendar grid for a specific month and year.
calendar.printMonth(2024, 2)
printYear(year)Displays a full 12-month calendar for a given year.
calendar.printYear(2026)
printCurrentMonth()Displays the calendar grid for the current system month.
calendar.printCurrentMonth()
printCurrentYear()Displays the full 12-month calendar for the current system year.
calendar.printCurrentYear()
use "calendar"
out "=== This Month ==="
calendar.printCurrentMonth()
out ""
out "=== 2024 Leap Year ==="
calendar.printMonth(2024, 2)| Version | Size | Downloads | Published |
|---|---|---|---|
1.0.0 |
1.6 KB | 0 | 1 hour ago |
sha256 c17f8d2fed14ab574810bc143c8fd51dcd16683597f0f8ac18f4d4c9e5a59b2a