kdk::KLunarCalendarInfo(3)

๐Ÿ“ฆ version 3.0.1.2, in arch rolling, ubuntu resolute, ubuntu stonking

โœจ kdk::KLunarCalendarInfo โœจ

okay bestie, we're in the Library Functions Manual and this page is literally all about kdk::KLunarCalendarInfo โ€” a whole lil calendar genius that knows lunar dates, solar terms, holidays and all that astrology-adjacent ๅคฉๅนฒๅœฐๆ”ฏ็”Ÿ่‚– goodness ๐Ÿ’– no cap, it's giving main character energy for date math.


๐ŸŽ€ NAME ๐ŸŽ€

kdk::KLunarCalendarInfo โ€” your girl for everything lunar-calendar ๐Ÿ’…


๐ŸŒธ SYNOPSIS ๐ŸŒธ

She Inherits QObject. Yes ma'am, Qt royalty. ๐Ÿ‘‘

๐Ÿ’ซ Public Member Functions

KLunarCalendarInfo (QObject *parent=0)
bool isLoopYear (int year)
int getMonthDays (int year, int month)
int getTotalMonthDays (int year, int month)
int getFirstDayOfWeek (int year, int month, bool FirstDayisSun)
QString getHoliday (int month, int day)
QString getSolarTerms (int year, int month, int day)
QString getLunarFestival (int month, int day)
QString getLunarYear (int year)
void getLunarCalendarInfo (int year, int month, int day, QString
    &strHoliday, QString &strSolarTerms, QString &strLunarFestival,
    QString &strLunarYear, QString &strLunarMonth, QString &strLunarDay)
QString getLunarInfo (int year, int month, int day, bool yearInfo, bool
    monthInfo, bool dayInfo)
QString getLunarYearMonthDay (int year, int month, int day)
QString getLunarMonthDay (int year, int month, int day)
QString getLunarDay (int year, int month, int day)

๐ŸŒˆ Static Public Member Functions

static KLunarCalendarInfo * Instance ()

๐Ÿ“– Member Function Documentation ๐Ÿ“–

๐Ÿฆ‹ int kdk::KLunarCalendarInfo::getFirstDayOfWeek (int year, int month, bool FirstDayisSun)

่ฎก็ฎ—ๆŒ‡ๅฎšๅนดๆœˆๅฏนๅบ”ๆ˜ŸๆœŸๅ‡  โ€” she works out which day of the week that year + month lands on. ๐Ÿ—“๏ธ

Parameters

  • year
  • month
  • FirstDayisSun: ็ฌฌไธ€ๅคฉๆ˜ฏๅฆไปฅๅ‘จๆ—ฅๅผ€ๅง‹ โ€” do you want day one to be Sunday or not? your call, bestie โœจ

Returns

(nothing documented here โ€” the docs left it blank, not me ๐Ÿ™ˆ)

๐Ÿ“ QString kdk::KLunarCalendarInfo::getHoliday (int month, int day)

่ฎก็ฎ—ๅ›ฝ้™…่Š‚ๆ—ฅ โ€” international holidays, calculated for you. ๐ŸŒ๐ŸŽ‰

Parameters

  • month
  • day

Returns

(empty in the source docs, fr fr ๐Ÿ˜ญ)

๐Ÿ‘‘ void kdk::KLunarCalendarInfo::getLunarCalendarInfo (int year, int month, int day, QString & strHoliday, QString & strSolarTerms, QString & strLunarFestival, QString & strLunarYear, QString & strLunarMonth, QString & strLunarDay)

่ฎก็ฎ—ๆŒ‡ๅฎšๅนดๆœˆๆ—ฅๅ†œๅކไฟกๆฏ,ๅŒ…ๆ‹ฌๅ…ฌๅކ่Š‚ๆ—ฅๅ’Œๅ†œๅކ่Š‚ๆ—ฅๅŠไบŒๅๅ››่Š‚ๆฐ” โ€” the full package deal: lunar info for that exact year/month/day, including the Gregorian holidays, the lunar festivals, and the 24 solar terms. The way she does it ALL in one call? iconic. ๐Ÿ”ฅ

Parameters

  • year
  • month
  • day
  • strHoliday
  • strSolarTerms
  • strLunarFestival
  • strLunarYear
  • strLunarMonth
  • strLunarDay

๐Ÿงš QString kdk::KLunarCalendarInfo::getLunarDay (int year, int month, int day)

่Žทๅ–ๅ†œๅކๆ—ฅ โ€” grabs the lunar day. ๐ŸŽ€

Parameters

  • year
  • month
  • day

Returns

(blank in the docs, don't come for me ๐Ÿ’€)

๐ŸŒธ QString kdk::KLunarCalendarInfo::getLunarFestival (int month, int day)

่ฎก็ฎ—ๅ†œๅކ่Š‚ๆ—ฅ(ๅฟ…้กปไผ ๅ…ฅๅ†œๅކๅนดไปฝๆœˆไปฝ) โ€” calculates lunar festivals. Heads up though: you must pass in the lunar year and month, not the Gregorian ones. Read that again bestie, it matters. ๐Ÿšจ

Parameters

  • month
  • day

Returns

(nothing written here ๐Ÿ™ˆ)

โญ QString kdk::KLunarCalendarInfo::getLunarInfo (int year, int month, int day, bool yearInfo, bool monthInfo, bool dayInfo)

่Žทๅ–ๆŒ‡ๅฎšๅนดๆœˆๆ—ฅๅ†œๅކไฟกๆฏ โ€” fetch the lunar info for a given year/month/day. ๐ŸŒ™

Parameters

  • year
  • month
  • day
  • yearInfo
  • monthInfo
  • dayInfo

Returns

(empty in the original, no cap)

๐Ÿ’œ QString kdk::KLunarCalendarInfo::getLunarMonthDay (int year, int month, int day)

่Žทๅ–ๅ†œๅކๆœˆๆ—ฅ โ€” gets you the lunar month and day. ๐Ÿ—“๏ธ๐Ÿ’ซ

Parameters

  • year
  • month
  • day

Returns

(docs said nothing, I'm just the messenger ๐Ÿ˜ญ)

๐ŸŒˆ QString kdk::KLunarCalendarInfo::getLunarYear (int year)

่ฎก็ฎ—ๅ†œๅކๅนด ๅคฉๅนฒ+ๅœฐๆ”ฏ+็”Ÿ่‚– โ€” the lunar year, fully decked out: ๅคฉๅนฒ (Heavenly Stem) + ๅœฐๆ”ฏ (Earthly Branch) + ็”Ÿ่‚– (the zodiac animal). It's giving full costume change. ๐Ÿ‰๐Ÿฐ๐Ÿ

Parameters

  • year

Returns

(blank, bestie ๐Ÿ’€)

โœจ QString kdk::KLunarCalendarInfo::getLunarYearMonthDay (int year, int month, int day)

่Žทๅ–ๅ†œๅކๅนดๆœˆๆ—ฅ โ€” the whole lunar year + month + day trio, served fresh. ๐ŸŽ€

Parameters

  • year
  • month
  • day

Returns

(nothing documented ๐Ÿ™ˆ)

๐ŸŽ€ int kdk::KLunarCalendarInfo::getMonthDays (int year, int month)

่ฎก็ฎ—ๆŒ‡ๅฎšๅนดๆœˆ่ฏฅๆœˆๅ…ฑๅคšๅฐ‘ๅคฉ โ€” how many days does that specific year + month have in total? She'll tell you. ๐Ÿ”ข

Parameters

  • year
  • month

Returns

(empty in the source, fr)

๐Ÿซถ QString kdk::KLunarCalendarInfo::getSolarTerms (int year, int month, int day)

่ฎก็ฎ—ไบŒๅๅ››่Š‚ๆฐ” โ€” the 24 solar terms (ไบŒๅๅ››่Š‚ๆฐ”, a whole vibe). ๐ŸŒพโ„๏ธ๐ŸŒธ

Parameters

  • year
  • month
  • day

Returns

(blank in the docs ๐Ÿ˜ญ)

๐Ÿ’… int kdk::KLunarCalendarInfo::getTotalMonthDays (int year, int month)

่ฎก็ฎ—ๆŒ‡ๅฎšๅนดๆœˆๅฏนๅบ”ๅˆฐ่ฏฅๆœˆๅ…ฑๅคšๅฐ‘ๅคฉ โ€” the cumulative total of days up to and including that month for that year. ๐Ÿ“Š

Parameters

  • year
  • month

Returns

(nothing written, iykyk ๐Ÿ’€)

๐ŸŒ™ bool kdk::KLunarCalendarInfo::isLoopYear (int year)

่ฎก็ฎ—ๆ˜ฏๅฆ้—ฐๅนด โ€” is it a leap year or not? boolean answer, no drama. โœ…โŒ

Parameters

  • year

Returns

(empty in the docs ๐Ÿ™ˆ)

๐Ÿ–‹๏ธ Author ๐Ÿ–‹๏ธ

Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code. ๐Ÿค–โœจ


okay that's the whole page bestie, you ate it ๐Ÿ’… and for the cute sign-off: this gorgeous thing comes from LIBKYSDK-APPLICATIONS, Version version:3.0, and the manual page answers to the name kdk::KLunarCalendarInfo(3). go forth and calendar, queen ๐Ÿ‘‘๐ŸŒธ

๐Ÿ“ฆ where this page comes from