pub fn as_seconds<T>(&self) -> T
    where
        T: DecimalLike,
    {
        T::from(self.years() * 60 * 60 * 24) * T::from(365.25)
            + T::from(self.months() * 60 * 60 * 24 * 30)
            + T::lossy_from(self.dur_as_secs())
            + T::from(self.nanoseconds()) / T::from(1e9)
    }
/// Computes the total number of seconds in the interval.
Computes the total number of seconds in the interval.
Computes the total number of seconds in the interval .
pub fn as_seconds<T>(&self) -> T
    where
        T: DecimalLike,
    {
        T::from(self.years() * 60 * 60 * 24) * T::from(365.25)
            + T::from(self.months() * 60 * 60 * 24 * 30)
            + T::lossy_from(self.dur_as_secs())
            + T::from(self.nanoseconds()) / T::from(1e9)
    }
pub fn as_seconds < T > ( & self ) -> T where T : DecimalLike , { T :: from ( self . years ( ) * 60 * 60 * 24 ) * T :: from ( 365.25 ) + T :: from ( self . months ( ) * 60 * 60 * 24 * 30 ) + T :: lossy_from ( self . dur_as_secs ( ) ) + T :: from ( self . nanoseconds ( ) ) / T :: from ( 1e9 ) }
Computes the total number of seconds in the interval.
Computes the total number of seconds in the interval .
&self