week_date(3)

πŸ“¦
version 2.2.1 Β· 2 versions
, in fedora 43, fedora 44, opensuse-leap 16.0

πŸ’– week_date πŸ’–

okay bestie, so this is the manual page for week_date from the avr-libc library (section 3, the library-calls girlies, iykyk). it's a little struct that holds a whole date, but make it ISO-coded. let's get into it ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

Data Fields

  • int year
  • int week
  • int day

like. three whole ints. the way that's literally all it takes to describe a date. obsessed πŸ’…


🌸 Detailed Description 🌸

so week_date is a structure that represents a date as a year, the week number of that year, and the day of week. that's it, that's the whole vibe β€” a triple of ints doing main character energy 🌈

if you wanna know more (and honestly bestie, the ISO week date lore is fascinating), the manpage points you to http://en.wikipedia.org/wiki/ISO_week_date. go read it fr fr πŸ“š


✨ Field Documentation ✨

🌟 int week_date::day

day within week πŸ—“οΈ

🌟 int week_date::week

week number (#1 is where first Thursday is in) πŸ‘‘

ok lowkey this one is the tricky one. week #1 is not January 1st, bestie. it's the week where the first Thursday lives. that's the ISO rule, no cap.

🌟 int week_date::year

year number (Gregorian calendar) πŸŽ€


πŸ’œ Author πŸ’œ

Generated automatically by Doxygen for avr-libc from the source code.

so like, a robot wrote this one, not a human. respect tho, Doxygen ate that πŸ’€βœ¨


okay that's the whole page bestie, you're basically an ISO week date expert now 🫢 this was Version 2.1.0, dated Sat Jan 29 2022 β€” and it's an avr-libc situation, so go forth and slay those weeks πŸ’–πŸŒΈπŸ¦‹πŸŽ€πŸ’…

πŸ“¦ where this page comes from