本文へ移動

Wakusei Planets惑星

太陽・惑星・衛星を、線画、陰影つきの絵、表面の地図で描きます。実際の大きさ・傾き・自転つきで、任意の日時の衛星の位置も分かります。

「惑星」(わくせい) は、太陽のまわりを回る大きな星のことです。 名前について(英語)

目次

リファレンス

ユリウス日 (julian パッケージの関数も)、暦、時刻系、恒星時、火星の時刻

import { … } from "@johnmorrisdotca/wakusei-planets/time";

リファレンスの説明と例は英語です。見出しと目次は日本語です。

エクスポート

名前種類概要
B1950_JD定数The Julian date of the Besselian epoch B1950.0, 1950 January 0.923 (Meeus).
Calendar型Which calendar: gregorian and julian are used for every year (the proleptic calendars), and auto follows history: the Julian calendar to 1582-10-04 and the Gregorian from 1582-10-15.
CivilTime型A date and time of day.
convertTimeScale関数A moment on one time scale as the same moment on another, in milliseconds since 1970 read on the target scale's own clock.
coordinatedMarsTime関数Coordinated Mars Time: the mean solar time on Mars's prime meridian, in hours from 0 up to 24 (a Martian hour is 1/24 of a sol).
dayOfWeek関数The day of the week of a moment in UTC: 0 Sunday to 6 Saturday.
dayOfYear関数The day of the year of a moment in UTC: 1 on 1 January.
daysInMonth関数The number of days in a month; October 1582 has 21 in the auto calendar, the ten days of the switch being left out.
deltaT関数Delta T, terrestrial time minus universal time (UT1), in seconds.
equationOfTheEquinoxes関数The equation of the equinoxes in degrees: the nutation in longitude times the cosine of the obliquity, what apparent sidereal time has over mean (about 1 second of time at most).
fromCalendar関数A date and time of day in UTC as a moment, in milliseconds since 1970.
fromJulianDate関数The time, in milliseconds since 1970, of a Julian date.
fromJulianDayAndMilliseconds関数A time from a Julian day and the milliseconds into it, with no digit lost: fromJulianDayAndMilliseconds(toJulianDay(t), toMillisecondsInJulianDay(t)) is t.
greenwichApparentSiderealTime関数The Greenwich apparent sidereal time in degrees, 0 to 360: the mean time with the equation of the equinoxes added, which is what the hour angle of a body is measured against.
greenwichMeanSiderealTime関数The Greenwich mean sidereal time in degrees, 0 to 360 (divide by 15 for hours).
isLeapYear関数Whether a year is a leap year.
J2000_JD定数The Julian date of J2000.0, 2000-01-01 12:00 TT: the epoch of the planets' theories.
J2000_MS定数J2000.0, 2000-01-01 12:00, as milliseconds since 1970 counted on a clock that reads TT: a terrestrial time is this far from it.
julian関数A time as a string of its Julian date with six decimals, as the julian package gives it (a tenth of a second).
julianCenturies関数Julian centuries (36,525 days) from J2000.0: the time argument of most theories.
julianMillennia関数Julian millennia (365,250 days) from J2000.0, in terrestrial time unless scale says UTC: the time argument of the VSOP87 series.
localSiderealTime関数The local sidereal time in degrees, 0 to 360, at a longitude east of Greenwich (west negative): the right ascension on the meridian.
marsLocalMeanSolarTime関数The local mean solar time on Mars at a longitude east of its prime meridian, in hours from 0 up to 24.
marsSolDate関数The Mars Sol Date: the count of Martian days, as the Julian date counts Earth's.
modifiedJulianDate関数The modified Julian date: the Julian date less 2,400,000.5, so a day starts at midnight and the numbers are shorter.
taiMinusUtc関数TAI minus UTC in seconds: the leap seconds from 1972 (10 then, 37 since 2017), and before 1972 delta T less 32.184, which is how far the atomic scale would have been from the Earth's turn.
tdbMinusTt関数TDB minus TT in seconds: a term that follows the Earth round the Sun and is never more than 1.7 milliseconds (Meeus's two terms, 0.001657 sin g and 0.000014 sin 2g, good to about 30 microseconds).
TimeScale型A time scale: utc (the clock), ut1 (the Earth's turn, within 0.9 s of UTC), tai (atomic time), gps (TAI less 19 s), tt (terrestrial time, TAI plus 32.184 s) and tdb (barycentric dynamical time, TT plus a few milliseconds that follow the year).
toCalendar関数A moment as a date and time of day in UTC, in the Gregorian or the Julian calendar.
toDate関数The Date of a Julian date (a number, or the string julian gives), rounded to the millisecond.
toJulianDate関数A time as a Julian date: the days since noon on 1 January 4713 BC (Julian calendar), as a number.
toJulianDay関数The whole Julian day of a time.
toMillisecondsInJulianDay関数The milliseconds since noon, the start of the Julian day, that a time is into it.
toTerrestrialTime関数A moment in UTC as the same moment in terrestrial time, on the same scale of milliseconds since 1970.
ttMinusUtc関数Terrestrial time minus the clock's time, in seconds, at a moment given in UTC: 69.184 from the last leap second in 2017 on (until another is added), exact from 1972, and delta T before.
UNIX_EPOCH_JULIAN_DATE定数The Julian date of the Unix epoch, 1970-01-01T00:00:00Z (UTC).
When型A moment: a Date or a number of milliseconds since 1970 (UTC, as JavaScript counts).

ソースを見るGitHub で編集@johnmorrisdotca/wakusei-planets 0.24.0 のソースから作成しました。

この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。