Expand description
Template variable substitution engine for catchup URLs.
Translated from the anonymous namespace functions in CatchupController.cpp:
FormatDateTime()— full template processingFormatTime()— single-char time format specifiers ({Y},{m}, etc.)FormatUnits()— divisible time units ({duration:N},{offset:N})FormatUtc()— absolute timestamp substitution
Functions§
- format_
catchup_ url - Format a catchup URL template by substituting all time-related placeholders.
- format_
catchup_ url_ with_ granularity - Format a catchup URL template with granularity clamping.
- format_
now_ only - Format only “now”-related timestamps in a URL template.
- is_
within_ catchup_ window - Validate whether a requested catchup time is within the allowed window.