Skip to content

Instantly share code, notes, and snippets.

@AdhirRamjiawan
Created August 31, 2017 05:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AdhirRamjiawan/dad370dadd761fefd90fe2fac0c2c63c to your computer and use it in GitHub Desktop.
Save AdhirRamjiawan/dad370dadd761fefd90fe2fac0c2c63c to your computer and use it in GitHub Desktop.
extern crate chrono;
use chrono::*;
// Returns a Utc DateTime one billion seconds after start.
pub fn after(start: DateTime<Utc>) -> DateTime<Utc> {
start + Duration::seconds(1000000000)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment