<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 2018-04 -13, at 01:10, Arnold Rots &lt;<a href="mailto:arots@cfa.harvard.edu" class="">arots@cfa.harvard.edu</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><div class=""><div class="">Since MJD is absolute, the client should ignore the timeOrigin. Actually, it should not even look to see whether there is one.<br class=""><br class=""></div><div class="">In terms of implementation:<br class=""></div>The common implementation of time is to keep it as either JD or MJD (my code uses MJD, the JPL ephemeris uses JD), as either two doubles or an integer and a double.<br class=""></div>JD and MJD times would then need either nothing or the JD-MJD fixed offset in order to be stored; ISOTime requires a little more; but only when a TimeOffset if provided would the code actually look for a timeOrigin value.<br class=""></div><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Or, if that feels more comfortable, you can (arbitrarily) assign a default value for the timeOrigin; can be zero or 10^10 or your favorite prime number.</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""></div></blockquote></div><div class=""><br class=""></div><div class="">I don’t think that in fact things are as simple as this summary presents, both in theory and certainly in practice. I think that it is incorrect to say that MJD is absolute - &nbsp;it is tied to the UTC timescale for working out the whole day, but then there is the problem of leap seconds - is the fractional part of the MJD for 12 noon on a day with a leap second 1/2 or 43200/86401? The Astronomical Almanac in fact discusses MJDs in different timescales, where there fractional part of the day is calculated in the timescale indicated - so I get the feeling that in general there is not even a consensus of definition of MJD that means that a given MJD double value is completely unambiguous on days with leap seconds - The real problem is the measuring in units of day - only seconds have unambiguous definition, and then you do want to specify an origin to be sure what is meant.</div><div class=""><br class=""></div><div class="">ISOTime is tied to UTC and does have unambiguous representation of time on days with leap seconds, and the textual representation can include any timezone offsets in the representation, so need no origin - and for this reason is probably superior to MJD for representing instants of time in UTC.</div><div class=""><br class=""></div><div class="">Paul.</div><div class=""><br class=""></div><br class=""><div class="">
<div class=""><div style="font-size: 12px; orphans: 2; widows: 2;" class="">Dr. Paul Harrison</div><div style="font-size: 12px; orphans: 2; widows: 2;" class="">JBO, Manchester University</div><div style="font-size: 12px; orphans: 2; widows: 2;" class=""><a href="http://www.manchester.ac.uk/jodrellbank" class="">http://www.manchester.ac.uk/jodrellbank</a></div></div><div class=""><br class=""></div><br class="Apple-interchange-newline">

</div>
<br class=""></body></html>