1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
//
// GENERATED FILE
//
use super::*;
use crate::SpiceContext;
use f2rust_std::*;
/// Seconds per julian year
///
/// Return the number of seconds in a julian year.
///
/// # Brief I/O
///
/// ```text
/// The function returns the number of seconds per julian year.
/// ```
///
/// # Detailed Output
///
/// ```text
/// The function returns the number of seconds per julian year.
/// ```
///
/// # Exceptions
///
/// ```text
/// Error free.
/// ```
///
/// # Particulars
///
/// ```text
/// The julian year is often used as a fundamental unit of time when
/// dealing with ephemeris data. For this reason its value in terms of
/// ephemeris seconds is recorded in this function.
/// ```
///
/// # Examples
///
/// ```text
/// Suppose you wish to compute the number of julian centuries
/// that have elapsed since the ephemeris epoch J1950 (beginning
/// of the julian year 1950) at a particular ET epoch. The
/// following line of code will do the trick.
///
///
/// CENTRY = ( ET - UNITIM ( J1950(), 'JED', 'ET' ) )
/// . / ( 100.0D0 * JYEAR() )
/// ```
///
/// # Literature References
///
/// ```text
/// [1] P. Kenneth Seidelmann (Ed.), "Explanatory Supplement to the
/// Astronomical Almanac," Page 8, University Science Books,
/// 1992.
/// ```
///
/// # Author and Institution
///
/// ```text
/// J. Diaz del Rio (ODC Space)
/// W.L. Taber (JPL)
/// ```
///
/// # Version
///
/// ```text
/// - SPICELIB Version 1.0.1, 08-APR-2021 (JDR)
///
/// Edited the header to comply with NAIF standard.
///
/// - SPICELIB Version 1.0.0, 13-JUL-1993 (WLT)
/// ```
pub fn jyear() -> f64 {
let ret = JYEAR();
ret
}
//$Procedure JYEAR ( Seconds per julian year )
pub fn JYEAR() -> f64 {
let mut JYEAR: f64 = 0.0;
JYEAR = 31557600.0;
JYEAR
}