/// Returns the content of a Time enum. Transforms to Standard
/// if the type of the Enum is Solar
Returns the content of a Time enum. Transforms to Standard
if the type of the Enum is Solar
Returns the content of a Time enum . Transforms to Standard if the type of the Enum is Solar
pub fn unwrap_standard_time(&self, n: Time) -> Float {
        match n {
            Time::Solar(t) => {
                let delta_minutes = self.solar_standard_time_difference(t);
                // return the standard time + the number of minutes divided
                // the number of minutes in a day
                t - delta_minutes / 24. / 60.
            }
            Time::Standard(t) => t,
        }
    }
pub fn unwrap_standard_time ( & self , n : Time ) -> Float { match n { Time :: Solar ( t ) => { let delta_minutes = self . solar_standard_time_difference ( t ) ; // return the standard time + the number of minutes divided // the number of minutes in a day t - delta_minutes / 24. / 60. } Time :: Standard ( t ) => t , } }
Returns the content of a Time enum.
Returns the content of a Time enum .
&self
n
Time