混乱 • 一旦巻き戻すために 2/30が発生 M T W T F S S 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 3/1 3/2 Feb 1712/02 ← Jan Mar → 49
Bob: 速度0.8cで移動して戻ってくる ◦ Aliceから見て5年経ったところで折り返し • Aliceの固有時では10年経過 • Bobの固有時では6年経過 (図上の長さ ≠ 時空上の長さ に注意) x = 0, t = 0 x = 4, t = 5 x = 0, t = 10 Alice Bob 10 3 3 124
閏秒 Windows FILETIME 1601-01-01T00:00:00 ? NTP time 1900-01-01T00:00:00 × Unix time 1970-01-01T00:00:00 × GPS time 1980-01-06T00:00:00 ✔ GLONASS time ? × Galileo System time 1999-08-22T00:00:00 ✔ 165
Wikipedia https://en.wikipedia.org/wiki/Calendar ◦ 暦の定義 ◦ 暦の目的による分類 ◦ 暦の方式 (太陽暦、太陰暦) • メトン周期 - Wikipedia https://ja.wikipedia.org/wiki/%E3%83%A1%E3%83%88%E3%83%B3%E5%91%A8%E6%9C%9F ◦ 太陰太陽暦で使われる近似 • 暦Wiki/ユリウス暦 https://eco.mtk.nao.ac.jp/koyomi/wiki/A5E6A5EAA5A6A5B9CEF1.html • 暦Wiki/グレゴリオ暦 https://eco.mtk.nao.ac.jp/koyomi/wiki/A5B0A5ECA5B4A5EAA5AACEF1.html • Solar Hijri calendar - Wikipedia https://en.wikipedia.org/wiki/Solar_Hijri_calendar • List of adoption dates of the Gregorian calendar by country https://en.wikipedia.org/wiki/List_of_adoption_dates_of_the_Gregorian_calendar_by_country ◦ ユリウス暦からの改暦例 • 2月30日 - Wikipedia https://ja.wikipedia.org/wiki/2%E6%9C%8830%E6%97%A5 ◦ スウェーデン暦 189
Wikipedia https://ja.wikipedia.org/wiki/Wikipedia:%E8%A1%A8%E8%A8%98%E3%82%AC%E3%82%A4%E3%83%89 ◦ Wikipediaにおける暦の使い分けガイドライン • Wikipedia:Manual of Style/Dates and numbers - Wikipedia https://en.wikipedia.org/wiki/Wikipedia:Manual_of_Style/Dates_and_numbers ◦ Wikipediaにおける暦の使い分けガイドライン • When we talk about events in years before 1582, do we say the date as it was said in the Julian calendar, or is it calculated backwards to be in Gregorian? - Quora https://www.quora.com/When-we-talk-about-events-in-years-before-1582-do-we-say-the-date -as-it-was-said-in-the-Julian-calendar-or-is-it-calculated-backwards-to-be-in-Gregorian ◦ 暦の使い分け • 先発グレゴリオ暦 - Wikipedia https://ja.wikipedia.org/wiki/%E5%85%88%E7%99%BA%E3%82%B0%E3%83%AC%E3%82%B4%E3%83%A A%E3%82%AA%E6%9A%A6 ◦ Prolepticの意味の確認 190
- Wikipedia https://en.wikipedia.org/wiki/Julian_calendar ◦ 現代でのユリウス暦の用法がほぼ宗教暦しかないことの確認 • Islamic calendar - Wikipedia https://en.wikipedia.org/wiki/Islamic_calendar ◦ 現代でのヒジュラ暦の用法がほぼ宗教暦しかないことの確認 • Excel incorrectly assumes that the year 1900 is a leap year - Office | Microsoft Learn https://learn.microsoft.com/en-us/office/troubleshoot/excel/wrongly-assumes-1900-is-leap-year ◦ Lotus 1-2-3暦とExcel暦に関する説明 191
on UNIVERSAL TIME SCALE (UTC) – LEAP SECOND https://www.itu.int/en/ITU-R/Documents/ITU-R-FAQ-UTC.pdf [PDF] ◦ UTCに関する概要 • Rec. ITU-R TF.686: Glossary and definitions of time and frequency terms https://www.itu.int/rec/R-REC-TF.686-3-201312-I/en ◦ UTCを含む用語定義集 • Rec. ITU-R TF.460 https://www.itu.int/rec/R-REC-TF.460/en ◦ UTCの定義 196
international d'unités/The International System of Units (Brochure sur le SI/SI brochure), 2006 (Wayback Machine) https://web.archive.org/web/20190503133741/https://www1.bipm.org/utils/common/pdf/si_brochur e_8.pdf [PDF] ◦ 時間・時刻系の歴史 • COORDINATED UNIVERSAL TIME https://www.bipm.org/documents/20126/28435864/working-document-ID-3644/2a6ce17c-7b50-41 64-9bee-64f77bfad895/ [PDF] ◦ BIPM内に置かれている資料 ◦ UTCの歴史が書かれている 198
- BIPM https://www.bipm.org/en/time-ftp/circular-t ◦ UTC - UTC(k) の実際の値 • Explanatory Supplement of BIPM Circular T https://webtai.bipm.org/ftp/pub/tai/other-products/notes/explanatory_supplement_v0.6.pdf [PDF] ◦ Circular T の説明 • The time scales TAI and EAL - PTB.de https://www.ptb.de/cms/en/ptb/fachabteilungen/abt4/fb-44/ag-441/realisation-of-legal-time-in -germany/the-time-scales-tai-and-eal.html ◦ 時刻系同士の関係に関する解説 199
date and time notation https://www.cl.cam.ac.uk/~mgk25/iso-time.html ◦ ISO 8601の解説記事 • JIS X 0301 情報交換のためのデータ要素及び交換形式-日付及び時刻の表記 https://www.jisc.go.jp/app/jis/general/GnrJISNumberNameSearchList?show&jisStdNo=X0301 ◦ ISO 8601の対応規格 (こっちのほうが安い) • ややこしい日付の書式について - デクノスティック https://dechnostick.hatenablog.com/entry/2015/01/03/021021 ◦ Twitterが暦週年まわりでやらかしたときの話 • RFC 3339: Date and Time on the Internet: Timestamps https://www.rfc-editor.org/rfc/rfc3339 201
Unix time and leap seconds - Stack Overflow https://stackoverflow.com/questions/16539436/unix-time-and-leap-seconds • The Open Group Specifications Issue 7, 2018 Edition https://pubs.opengroup.org/onlinepubs/9699919799.2018edition/ ◦ Unix timeの定義 ◦ https://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_xbd_chap04.html#tag_21_04_1 6 • datetime - Does the windows FILETIME structure include leap seconds? - StackOverflow https://stackoverflow.com/questions/130573/does-the-windows-filetime-structure-include-leap-s econds ◦ Windows FILETIMEにおける閏秒の扱い 203
Linux man page https://man7.org/linux/man-pages/man2/adjtimex.2.html ◦ Linuxの閏秒API • second_oveflow in Linux 6.2 https://github.com/torvalds/linux/blob/v6.2/kernel/time/ntp.c#L390-L495 ◦ Linuxの閏秒実装 • accumulate_nsecs_to_secs in Linux 6.2 https://github.com/torvalds/linux/blob/v6.2/kernel/time/timekeeping.c#L2056-L2101 ◦ Linuxの閏秒実装の呼び出し元 • Leap Smear | Public NTP | Google Developers https://developers.google.com/time/smear?hl=en ◦ GoogleのNTPサーバーが実装しているLeap Smearingについて • linux - Difference between CLOCK_REALTIME and CLOCK_MONOTONIC? - Stack Overflow https://stackoverflow.com/questions/3523442/difference-between-clock-realtime-and-clock-mon otonic ◦ 2種類のクロックについて + サスペンド時の挙動 205