Template:JULIANDAY/testcases
Appearance
This is the template test cases page for the sandbox of Template:JULIANDAY. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
Live template
[edit]- Adapted from m:Template talk:YMD2MJD
Code | Result | MJD | JD | REXX |
---|---|---|---|---|
{{JULIANDAY| =
|
1721119.5 | -678881 | 1721119.5 | -306 |
{{JULIANDAY| =
|
1721455.5 | -678545 | 1721455.5 | 30 |
{{JULIANDAY| =
|
1721456.5 | -678544 | 1721456.5 | 31 |
{{JULIANDAY| =
|
1721483.5 | -678517 | 1721483.5 | 58 |
{{JULIANDAY| =
|
1721484.5 | -678516 | 1721484.5 | 59 |
{{JULIANDAY| =
|
1721667.5 | -678333 | 1721667.5 | 242 |
{{JULIANDAY| =
|
1721668.5 | -678332 | 1721668.5 | 243 |
{{JULIANDAY| =
|
1722579.5 | -677421 | 1722579.5 | 1154 |
{{JULIANDAY| =
|
1722580.5 | -677420 | 1722580.5 | 1155 |
{{JULIANDAY| =
|
2180960.5 | -219040 | 2180960.5 | 459535 |
{{JULIANDAY| =
|
2275130.5 | -124870 | 2275130.5 | 553705 |
{{JULIANDAY| =
|
2299160.5 | -100840 | 2299160.5 | 577735 |
{{JULIANDAY| =
|
2361221.5 | -38779 | 2361221.5 | 639796 |
{{JULIANDAY| =
|
2400000.5 | 0 | 2400000.5 | 678575 |
{{JULIANDAY| =
|
2413252.5 | 13252 | 2413252.5 | 691827 |
{{JULIANDAY| =
|
2413253.5 | 13253 | 2413253.5 | 691828 |
{{JULIANDAY| =
|
2413618.5 | 13618 | 2413618.5 | 692193 |
{{JULIANDAY| =
|
2413619.5 | 13619 | 2413619.5 | 692194 |
{{JULIANDAY| =
|
2415078.5 | 15078 | 2415078.5 | 693653 |
{{JULIANDAY| =
|
2415079.5 | 15079 | 2415079.5 | 693654 |
{{JULIANDAY| =
|
2440587.5 | 40587 | 2440587.5 | 719162 |
{{JULIANDAY| =
|
2451603.5 | 51603 | 2451603.5 | 730178 |
{{JULIANDAY| =
|
2451604.5 | 51604 | 2451604.5 | 730179 |
{{JULIANDAY| =
|
2721424.5 | 321424 | 2721424.5 | 999999 |
- Examples adapted from Template:YMD2MJD (edit · talk · links · history) at Meta:
{{JULIANDAY|
= 2415079, last day of February 19001900
|02
|28
}}{{JULIANDAY|
= 2415080, bogey but okay1900
|02
|29
}}{{JULIANDAY|
= 2415080, no leap year1900
|03
|01
}}{{JULIANDAY|
= 2415081, bogey but okay1900
|02
|30
}}{{JULIANDAY|
= 24150811900
|03
|02
}}{{JULIANDAY|
= 2451604, last day of February 20002000
|02
|29
}}{{JULIANDAY|
= 2451605, bogey but okay2000
|02
|30
}}{{JULIANDAY|
= 2451605, leap year2000
|03
|01
}}{{JULIANDAY|
= 2451606, bogey but okay2000
|02
|31
}}{{JULIANDAY|
= 24516062000
|03
|02
}}{{JULIANDAY|
= 24606242024
|11
|09
}}
Sandbox
[edit]- Adapted from m:Template talk:YMD2MJD
Code | Result | MJD | JD | REXX |
---|---|---|---|---|
{{JULIANDAY| =
|
1721119.5 | -678881 | 1721119.5 | -306 |
{{JULIANDAY| =
|
1721455.5 | -678545 | 1721455.5 | 30 |
{{JULIANDAY| =
|
1721456.5 | -678544 | 1721456.5 | 31 |
{{JULIANDAY| =
|
1721483.5 | -678517 | 1721483.5 | 58 |
{{JULIANDAY| =
|
1721484.5 | -678516 | 1721484.5 | 59 |
{{JULIANDAY| =
|
1721667.5 | -678333 | 1721667.5 | 242 |
{{JULIANDAY| =
|
1721668.5 | -678332 | 1721668.5 | 243 |
{{JULIANDAY| =
|
1722579.5 | -677421 | 1722579.5 | 1154 |
{{JULIANDAY| =
|
1722580.5 | -677420 | 1722580.5 | 1155 |
{{JULIANDAY| =
|
2180960.5 | -219040 | 2180960.5 | 459535 |
{{JULIANDAY| =
|
2275130.5 | -124870 | 2275130.5 | 553705 |
{{JULIANDAY| =
|
2299160.5 | -100840 | 2299160.5 | 577735 |
{{JULIANDAY| =
|
2361221.5 | -38779 | 2361221.5 | 639796 |
{{JULIANDAY| =
|
2400000.5 | 0 | 2400000.5 | 678575 |
{{JULIANDAY| =
|
2413252.5 | 13252 | 2413252.5 | 691827 |
{{JULIANDAY| =
|
2413253.5 | 13253 | 2413253.5 | 691828 |
{{JULIANDAY| =
|
2413618.5 | 13618 | 2413618.5 | 692193 |
{{JULIANDAY| =
|
2413619.5 | 13619 | 2413619.5 | 692194 |
{{JULIANDAY| =
|
2415078.5 | 15078 | 2415078.5 | 693653 |
{{JULIANDAY| =
|
2415079.5 | 15079 | 2415079.5 | 693654 |
{{JULIANDAY| =
|
2440587.5 | 40587 | 2440587.5 | 719162 |
{{JULIANDAY| =
|
2451603.5 | 51603 | 2451603.5 | 730178 |
{{JULIANDAY| =
|
2451604.5 | 51604 | 2451604.5 | 730179 |
{{JULIANDAY| =
|
2721424.5 | 321424 | 2721424.5 | 999999 |
- Examples adapted from Template:YMD2MJD (edit · talk · links · history) at Meta:
{{JULIANDAY|
= 2415079, last day of February 19001900
|02
|28
}}{{JULIANDAY|
= Error: Need valid year|month|day or "currentdate", bogey but okay1900
|02
|29
}}{{JULIANDAY|
= 2415080, no leap year1900
|03
|01
}}{{JULIANDAY|
= Error: Need valid year|month|day or "currentdate", bogey but okay1900
|02
|30
}}{{JULIANDAY|
= 24150811900
|03
|02
}}{{JULIANDAY|
= 2451604, last day of February 20002000
|02
|29
}}{{JULIANDAY|
= Error: Need valid year|month|day or "currentdate", bogey but okay2000
|02
|30
}}{{JULIANDAY|
= 2451605, leap year2000
|03
|01
}}{{JULIANDAY|
= Error: Need valid year|month|day or "currentdate", bogey but okay2000
|02
|31
}}{{JULIANDAY|
= 24516062000
|03
|02
}}{{JULIANDAY|
= 24606242024
|11
|09
}}
- Added in 2018
{{JULIANDAY|
= 2415052, should work1900
|02
}}{{JULIANDAY|
= Error: Need valid year|month|day or "currentdate", should work1900
|02
}}
{{JULIANDAY|
= 2415021, just year1900
}}{{JULIANDAY|
= Error: Need valid year|month|day or "currentdate", just year1900
}}