1. What We Checked, and Against What
Whenever the calculation engine changes, the same test suite is run again. The table lists what each test uses as its reference and what kind of check it is. A published-data check compares Boreum's values one by one with figures released by an outside body; an internal consistency test only confirms that the engine's own calculations agree with each other.
| Area | Reference | Scope | Result | Kind of check |
|---|---|---|---|---|
| Date arithmetic (Julian Day Numbers) | Round trip between Gregorian dates and JDN | 1900-01-01 to 2050-12-31, 55,152 days | 0 mismatches | Internal consistency |
| Korean lunar calendar (1900–2050) | Table continuity, Gregorian→lunar→Gregorian round trip, 5 spot cases (2012 leap 3rd month, 2017 leap 5th month, Seollal 2026–2028) | 55,152 days | 0 round-trip mismatches | Internal consistency (not a date-by-date comparison with KASI) |
| 24 solar terms (1920–2100) | KASI table of solar-term times, 1920–2100 | 4,344 rows | All dates match; times within ±1 minute (incl. three 24:00 cases) | Published-data check |
| 24 solar terms (2021–2028) | KASI annual calendar data | 192 rows | All dates match; times within ±1 minute | Published-data check |
| Ephemeris engine (VSOP87D) | NASA/JPL Horizons DE441 instants | 1,224 terms, 2000–2050 | Max difference 2.277 s (limit 3 s) | External calculation check |
| Substitute holidays | Reference list for 2014–2028; rule-derived values for 2029–2050 | 33 + 85 dates | Match | List check, then regression test (future dates may change) |
| Almanac annotations | Shared iOS OhengCore test vectors built from classical rules; 144-cell officer and path-spirit grids | 387 vectors + 288 cells | 0 web/iOS mismatches | Web/iOS agreement (not a direct comparison with the texts) |
In other words, the lunar calendar comes from a public table built from KASI data, and the tests only confirm that the table is continuous, that conversions in both directions agree, and that a few cases where the Korean and Chinese calendars diverge come out right. NAOJ data is not tested on its own; it was used only as the source of some years of the solar-term table. The almanac annotations are checked against test vectors that the iOS app derived from classical rules, not against the classical texts themselves. For important dates, we recommend confirming with KASI's converter and the official annual calendar.
2. Where the Data Comes From
- Solar terms 1920–2100: published times are used as they are. The base is KASI's long table; the rows for 2001–2027 were transcribed from NAOJ's Rekiyoko, and the tests confirm that they match KASI's dates exactly and its times to within a minute.
- Solar terms 1900–1919: no published table is used, so Boreum computes them from VSOP87D and labels them as computed values rather than official ones.
- Towang-yongsa (solar longitudes 297°, 27°, 117° and 207°): not in any published table, so the engine computes every year itself.
- Lunar calendar: the open korean_lunar_calendar table (based on KASI data, MIT licence), covering Gregorian 1900–2050.
- Public holidays: the revision history of the holiday decree and the Act on Public Holidays, encoded by effective date, plus actual records of election days and temporary holidays for 2000–2026. Substitutes from 2029 onward are marked provisional.
- Almanac annotations: classical rules such as those in Xieji Bianfang Shu, implemented the same way as in the iOS app, each shown with its source and source type.
The official basis for next year's calendars is the Wollyeok Yohang. It was announced by KASI until 2019, by the Ministry of Science and ICT from 2020 to 2023, and since 2024 by the Korea AeroSpace Administration (KASA), which publishes it each year in the government gazette; KASI computes and publishes the underlying lunar and solar-term data. It lists lunar dates, solar terms, festivals, national and public holidays and commemoration days, but not sunrise or sunset times. The 2027 edition was published as KASA Notice No. 2026-0078.
One value traced end to end: the published time for Ipchun 2027 is 10:46 on February 4. Boreum's engine, solving VSOP87D directly, gets 10:46:18, and the JPL DE441 reference is 10:46:19, less than a second apart. Usu (Rain Water) 2030 comes out at 23:59:57 on February 18 in both JPL and the engine, which rounds to 24:00. KASI's table keeps such an event on its original date and writes '24:00' rather than moving it to the next day, and Boreum does the same; between 1920 and 2100 this happens three times (Daehan 1950, Usu 2030 and Daehan 2053).
3. A Clear Boundary Between Science and Cultural Heritage
Boreum separates verifiable astronomy and statutory law from historical almanac conventions and folklore, tagging every entry with its source type and primary reference. Boreum does not tell fortunes, rate dates, or promise any outcome for a chosen day. Traditional annotations are presented only as cultural-heritage information: what the old almanacs recorded.
Date conversion and search run in the browser. The dates and conditions you enter are used on the current page and are not sent to our servers; your browser remembers only display preferences such as theme and text size. On ad-enabled articles, third parties such as Google may set cookies (see the Privacy Policy).
4. Open-Source and Public Data Attributions
- Korean lunar table: korean_lunar_calendar (MIT License, Jinil Lee), a public table built from KASI data.
- VSOP87D Earth series: Bretagnon & Francou (1988), coefficients via lunar-javascript (MIT License, 6tail).
- Published solar-term times: KASI's 1920–2100 table and annual calendar data; NAOJ Rekiyoko (rows for 2001–2027).
- Statutes and folklore: Korea Law Information Center, National Folk Museum of Korea, Academy of Korean Studies, Korea Hydrographic and Oceanographic Agency.
5. Inside the Ephemeris Pipeline: From VSOP87D to KST
Boreum's JavaScript engine computes the 1900–1919 solar terms, which have no published table, and the Towang-yongsa dates (solar longitudes 297°, 27°, 117° and 207°) for every year. The same calculation, run for the 1,224 solar terms of 2000–2050 and compared with NASA/JPL DE441, gives the 'ephemeris engine' row in the table above. It works in six steps: (1) the VSOP87D Earth series (six longitude, three latitude and six distance series) give Earth's heliocentric position, turned into the Sun's geocentric longitude by adding 180°; (2) an FK5 frame correction (Meeus eq. 32.3), with no separate precession because VSOP87D uses the equinox of date; (3) the 63-term IAU 1980 nutation in longitude; (4) annual aberration (−20.4898″ divided by the Earth–Sun distance); (5) Newton iteration on the time of the target longitude, using the Sun's apparent rate with orbital eccentricity, stopping once the correction is under 0.1 ms; and (6) conversion from Terrestrial Time to UTC, using 32.184 s plus accumulated leap seconds (37 s since 2017, held fixed for future dates) after 1972 and the NASA Espenak–Meeus ΔT polynomials before 1972, then adding nine hours for KST and rounding to the minute.