// Reads an input string containing either a // number of milliseconds since epoch or an // ISO 8601 date and time. Invokes the // Sole, Laces, and ToeCap APIs, then // returns an object representing the Shoe // available then or nullptr if none were.
Shoe* ModelAvailableAt(char* time); | // Returns the Shoe that was available for // purchase at `time`. If no model was // available, throws a runtime_error.
Shoe ModelAvailableAt(time_t time); |