pub fn seconds_multiplier(self) -> i64 {
        use DateTimeField::*;
        match self {
            Day => 60 * 60 * 24,
            Hour => 60 * 60,
            Minute => 60,
            Second => 1,
            _other => unreachable!("Do not call with a non-duration field"),
        }
    }
/// Returns the number of seconds in a single unit of `field`.
///
/// # Panics
///
/// Panics if called on a non-duration field.
Returns the number of seconds in a single unit of `field`.
Returns the number of seconds in a single unit of ` field ` .
pub fn seconds_multiplier(self) -> i64 {
        use DateTimeField::*;
        match self {
            Day => 60 * 60 * 24,
            Hour => 60 * 60,
            Minute => 60,
            Second => 1,
            _other => unreachable!("Do not call with a non-duration field"),
        }
    }
pub fn seconds_multiplier ( self ) -> i64 { use DateTimeField :: * ; match self { Day => 60 * 60 * 24 , Hour => 60 * 60 , Minute => 60 , Second => 1 , _other => unreachable ! ( " " ) , } }
Returns the number of seconds in a single unit of `field`.
Returns the number of seconds in a single unit of ` field ` .
self
self
panics
Panics if called on a non-duration field.
Panics if called on a non - duration field .