Ta̱mpi̱let:JULIANDAY/testcases
This is the template test cases page for the sandbox of Ta̱mpi̱let: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 with these links: |
Live template
jhyuk- 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 Ta̱mpi̱let:Ltsmeta:
{{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
jhyuk- Adapted from m:Template talk:YMD2MJD
Code | Result | MJD | JD | REXX |
---|---|---|---|---|
{{JULIANDAY| =
|
Script error: No such module "age/sandbox". | -678881 | 1721119.5 | -306 |
{{JULIANDAY| =
|
Script error: No such module "age/sandbox". | -678545 | 1721455.5 | 30 |
{{JULIANDAY| =
|
Script error: No such module "age/sandbox". | -678544 | 1721456.5 | 31 |
{{JULIANDAY| =
|
Script error: No such module "age/sandbox". | -678517 | 1721483.5 | 58 |
{{JULIANDAY| =
|
Script error: No such module "age/sandbox". | -678516 | 1721484.5 | 59 |
{{JULIANDAY| =
|
Script error: No such module "age/sandbox". | -678333 | 1721667.5 | 242 |
{{JULIANDAY| =
|
Script error: No such module "age/sandbox". | -678332 | 1721668.5 | 243 |
{{JULIANDAY| =
|
Script error: No such module "age/sandbox". | -677421 | 1722579.5 | 1154 |
{{JULIANDAY| =
|
Script error: No such module "age/sandbox". | -677420 | 1722580.5 | 1155 |
{{JULIANDAY| =
|
Script error: No such module "age/sandbox". | -219040 | 2180960.5 | 459535 |
{{JULIANDAY| =
|
Script error: No such module "age/sandbox". | -124870 | 2275130.5 | 553705 |
{{JULIANDAY| =
|
Script error: No such module "age/sandbox". | -100840 | 2299160.5 | 577735 |
{{JULIANDAY| =
|
Script error: No such module "age/sandbox". | -38779 | 2361221.5 | 639796 |
{{JULIANDAY| =
|
Script error: No such module "age/sandbox". | 0 | 2400000.5 | 678575 |
{{JULIANDAY| =
|
Script error: No such module "age/sandbox". | 13252 | 2413252.5 | 691827 |
{{JULIANDAY| =
|
Script error: No such module "age/sandbox". | 13253 | 2413253.5 | 691828 |
{{JULIANDAY| =
|
Script error: No such module "age/sandbox". | 13618 | 2413618.5 | 692193 |
{{JULIANDAY| =
|
Script error: No such module "age/sandbox". | 13619 | 2413619.5 | 692194 |
{{JULIANDAY| =
|
Script error: No such module "age/sandbox". | 15078 | 2415078.5 | 693653 |
{{JULIANDAY| =
|
Script error: No such module "age/sandbox". | 15079 | 2415079.5 | 693654 |
{{JULIANDAY| =
|
Script error: No such module "age/sandbox". | 40587 | 2440587.5 | 719162 |
{{JULIANDAY| =
|
Script error: No such module "age/sandbox". | 51603 | 2451603.5 | 730178 |
{{JULIANDAY| =
|
Script error: No such module "age/sandbox". | 51604 | 2451604.5 | 730179 |
{{JULIANDAY| =
|
Script error: No such module "age/sandbox". | 321424 | 2721424.5 | 999999 |
- Examples adapted from Ta̱mpi̱let:Ltsmeta:
{{JULIANDAY|
= Script error: No such module "age/sandbox"., last day of February 19001900
|02
|28
}}{{JULIANDAY|
= Script error: No such module "age/sandbox"., bogey but okay1900
|02
|29
}}{{JULIANDAY|
= Script error: No such module "age/sandbox"., no leap year1900
|03
|01
}}{{JULIANDAY|
= Script error: No such module "age/sandbox"., bogey but okay1900
|02
|30
}}{{JULIANDAY|
= Script error: No such module "age/sandbox".1900
|03
|02
}}{{JULIANDAY|
= Script error: No such module "age/sandbox"., last day of February 20002000
|02
|29
}}{{JULIANDAY|
= Script error: No such module "age/sandbox"., bogey but okay2000
|02
|30
}}{{JULIANDAY|
= Script error: No such module "age/sandbox"., leap year2000
|03
|01
}}{{JULIANDAY|
= Script error: No such module "age/sandbox"., bogey but okay2000
|02
|31
}}{{JULIANDAY|
= Script error: No such module "age/sandbox".2000
|03
|02
}}{{JULIANDAY|
= Script error: No such module "age/sandbox".2024
|11
|09
}}
- Added in 2018
{{JULIANDAY|
= 2415052, should work1900
|02
}}{{JULIANDAY|
= Script error: No such module "age/sandbox"., should work1900
|02
}}
{{JULIANDAY|
= 2415021, just year1900
}}{{JULIANDAY|
= Script error: No such module "age/sandbox"., just year1900
}}