# `Koyomi.Week`
[🔗](https://github.com/hattoriai/koyomi/blob/v0.2.1/lib/koyomi/week.ex#L1)

An Ecto type for an ISO 8601 week, stored in a `:date` column as the
Monday of the week.

    field :sprint, Koyomi.Week

The week picker posts `YYYY-Www` (`"2027-W11"`), as the browser's own
week input does. The type casts it and a `Date` (any day of the week).
The value is the Monday of the week: `~D[2027-03-15]`. See
`Koyomi.ISOWeek` for the week number of a value.

# `embed_as`

# `equal?`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
