pub fn from_f64(epoch_seconds: f64) -> Self {
        let seconds = epoch_seconds.floor() as i64;
        let rem = epoch_seconds - epoch_seconds.floor();
        Instant::from_fractional_seconds(seconds, rem)
    }
/// Creates an `Instant` from an `f64` representing the number of seconds since the Unix epoch.
///
/// # Example
/// ```
/// # use aws_smithy_types::Instant;
/// assert_eq!(
///     Instant::from_fractional_seconds(1, 0.5),
///     Instant::from_f64(1.5),
/// );
/// ```
Creates an `Instant` from an `f64` representing the number of seconds since the Unix epoch.
Creates an ` Instant ` from an ` f64 ` representing the number of seconds since the Unix epoch .
pub fn from_f64(epoch_seconds: f64) -> Self {
        let seconds = epoch_seconds.floor() as i64;
        let rem = epoch_seconds - epoch_seconds.floor();
        Instant::from_fractional_seconds(seconds, rem)
    }
pub fn from_f64 ( epoch_seconds : f64 ) -> Self { let seconds = epoch_seconds . floor ( ) as i64 ; let rem = epoch_seconds - epoch_seconds . floor ( ) ; Instant :: from_fractional_seconds ( seconds , rem ) }
Creates an `Instant` from an `f64` representing the number of seconds since the Unix epoch.
Creates an ` Instant ` from an ` f64 ` representing the number of seconds since the Unix epoch .
epoch_seconds
f64
epoch_seconds
f64
example
None
use aws_smithy_types::instant;
None