Structs§
Functions§
- days_
ago - Create a timestamp N days before now. Useful for test fixtures that need staleness-relative dates instead of hard-coded absolute timestamps.
- parse_
timestamp - Parse an RFC 3339 timestamp string into
DateTime<Utc>. - ts
- Shorthand to create
Some(DateTime<Utc>)from an RFC 3339 string. Panics if the string is invalid — intended for test fixtures.