// SPDX-License-Identifier: MIT-0
//! The bar interval a candle-boundary query is asked about.
//!
//! Two families live in one enum because callers select between them at
//! runtime: fixed-grid intraday intervals, whose boundaries are arithmetic
//! clamped to the enclosing session, and calendar periods, whose boundaries come
//! from the venue's session closes rather than from any fixed grid. See
//! [`super::candle`] for which family each variant takes.
use ;
/// Bar resolution / time interval for candle-boundary computations.
///
/// Intraday variants carry a positive interval count; [`candle_end`](super::candle_end)
/// steps by that interval, clamped to the enclosing session close.
/// [`CalendarResolution::Daily`], [`CalendarResolution::Weekly`],
/// and [`CalendarResolution::Monthly`] resolve to canonical session-period
/// boundaries instead of a fixed grid.