🧭

Browser demos of the JavaScript classes, one page per namespace.

The demos are in the [`examples/`](https://github.com/hermajan/time/tree/master/examples) folder in the repository root. Open `examples/index.html` for the list. They import the `Timely` namespace from `../src/timely/index.js`, see [JavaScript](JavaScript.md). Browsers do not load modules from `file://`, so serve the project root through a local web server: ```bash npx serve . ``` Then open `/examples/index.html`. ## [Dates](https://github.com/hermajan/time/blob/master/examples/dates.html) `DateUtil.formatDate()` and `DateUtil.dayOfWeek()` in English and Czech for today and a picked date, and the full `Week` list. ## [Easter](https://github.com/hermajan/time/blob/master/examples/easter.html) `EasterCalculator` Easter Sunday, Friday and Monday for a chosen year and the next five years. See [Easter](Easter.md). ## [Name days](https://github.com/hermajan/time/blob/master/examples/namedays.html) `CzechNameDayFinder` and `SlovakNameDayFinder` name days for today, a picked date and a day/month pair. See [Name Days](NameDays.md). ## [Years](https://github.com/hermajan/time/blob/master/examples/years.html) `Helper.isLeap()` and `Helper.isLeap2()` for a chosen year and a few well-known years. See [Years](Years.md). The `holidays` and `times` namespaces are PHP only and have no browser demo. The clocks in `src/timely/clocks/` have their own pages, see [Clocks](Clocks.md).