pub fn from_secs_and_nanos(seconds: i64, subsecond_nanos: u32) -> Self {
        if subsecond_nanos >= 1_000_000_000 {
            panic!("{} is > 1_000_000_000", subsecond_nanos)
        }
        Instant {
            seconds,
            subsecond_nanos,
        }
    }
/// Creates an `Instant` from a number of seconds and sub-second nanos since the Unix epoch.
///
/// # Example
/// ```
/// # use aws_smithy_types::Instant;
/// assert_eq!(
///     Instant::from_fractional_seconds(1, 0.5),
///     Instant::from_secs_and_nanos(1, 500_000_000u32),
/// );
/// ```
Creates an `Instant` from a number of seconds and sub-second nanos since the Unix epoch.
Creates an ` Instant ` from a number of seconds and sub - second nanos since the Unix epoch .
pub fn from_secs_and_nanos(seconds: i64, subsecond_nanos: u32) -> Self {
        if subsecond_nanos >= 1_000_000_000 {
            panic!("{} is > 1_000_000_000", subsecond_nanos)
        }
        Instant {
            seconds,
            subsecond_nanos,
        }
    }
pub fn from_secs_and_nanos ( seconds : i64 , subsecond_nanos : u32 ) -> Self { if subsecond_nanos >= 1_000_000_000 { panic ! ( " " subsecond_nanos ) } Instant { seconds , subsecond_nanos , } }
Creates an `Instant` from a number of seconds and sub-second nanos since the Unix epoch.
Creates an ` Instant ` from a number of seconds and sub - second nanos since the Unix epoch .
seconds
i64
subsecond_nanos
u32
seconds
i64
subsecond_nanos
u32
example
None
use aws_smithy_types::instant;
None