# XWUIGameClockCalendar

Compact in-game clock and calendar. It shows the digital time (`hour`/`minute`), a day/night indicator icon, the date (`day`/`month`/`year`), and a season badge. Data props include `season` (`spring`/`summer`/`autumn`/`winter`) and the `isNight` flag; `conf_comp` toggles `showDayNight`/`showSeason`, picks the `format` (`12h` or `24h`), and anchors the widget via `position` (e.g. `top-right`). Advance the clock with `setTime(hour, minute)` or refresh the whole display with `updateData(...)`.

## Basic Usage

Mounts the clock/calendar showing time, date, and season.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Mounts the clock and calendar with digital time, day/night icon, date, and season badge.
```

## Night Watch

Switches the indicator to its night glyph with the data `isNight` flag at hour 23 while keeping the 24-hour `format`.

```example
file: examples/NightWatch.ts
html: examples/NightWatch.html
title: Night Watch
description: A late-night reading with isNight true and 24h format, ticked toward midnight via setTime().
```

## Frostfall (12-Hour)

Drives a winter `season` with the `12h` `format` so the morning shows as 8:05 AM, anchored bottom-right.

```example
file: examples/FrostfallTwelveHour.ts
html: examples/FrostfallTwelveHour.html
title: Frostfall (12-Hour)
description: A winter morning rendered in 12h format and pinned bottom-right via position.
```

```api
```
