Table of contents
CSPICE_J1900 returns the value for the Julian Date of
1899 DEC 31 12:00:00 (1900 JAN 0.5).
Given:
No input required.
the call:
j1900 = cspice_j1900
returns:
j1900 the value 2415020.0, the Julian Date corresponding to
1899 DEC 31 12:00:00 (1900 JAN 0.5).
[1,1] = size(j1900); double = class(j1900)
None.
Any numerical results shown for this example may differ between
platforms as the results depend on the SPICE kernels used as input
and the machine specific arithmetic implementation.
1) Display the double precision value for the J1900 date.
Example code begins here.
function j1900_ex1()
%
% Display the J1900 date in 16.8 format
%
fprintf( 'J1900 date: %16.8f\n', cspice_j1900)
When this program was executed on a Mac/Intel/Octave6.x/64-bit
platform, the output was:
J1900 date: 2415020.00000000
The function always returns the constant value shown above.
Error free.
None.
None.
MICE.REQ
TIME.REQ
None.
J. Diaz del Rio (ODC Space)
E.D. Wright (JPL)
-Mice Version 1.1.0, 10-AUG-2021 (EDW) (JDR)
Edited the -Examples section to comply with NAIF standard. Added
example's problem statement.
Added -Parameters, -Exceptions, -Files, -Restrictions,
-Literature_References and -Author_and_Institution sections, and
completed -Particulars section.
Eliminated use of "lasterror" in rethrow.
Removed reference to the function's corresponding CSPICE header from
-Required_Reading section.
-Mice Version 1.0.1, 11-JUN-2013 (EDW)
-I/O descriptions edits to conform to Mice documentation format.
-Mice Version 1.0.0, 22-NOV-2005 (EDW)
julian date of 1900.0 jan 0.5
|