Interval
An interval is a connected set or span of values between specified lower and upper endpoints, with endpoint inclusion determined by its definition.
Effective Data Analysis
The range is the difference between the highest and lowest values in a dataset, sometimes reported together with both endpoints.
- How it is used
- Summarizes how wide an entire dataset is for descriptive analysis and stakeholder reporting.
- How deep it goes
- Defines range as dataset width and situates it among summary statistics, without developing an extended computational procedure.
- Examples
- Uses a figure showing the range as the entire width of a dataset.
- What you can do after
- Evaluate dataset width alongside other summary statistics and report it cautiously when the distribution lacks a meaningful center.
Kotlin in Action, 2E
- How it is used
- Replaces common counter-based loops and supplies concise traversal and membership checks for ordered values.
- How deep it goes
- Explains inclusive and open-end ranges, stepped progressions, membership, Comparable values, and the rangeTo convention.
- Examples
- Uses Fizz-Buzz, descending even-number iteration, character classification, string membership, and date intervals.
- What you can do after
- Apply it via Kotlin syntax to iterate, step through, classify, and test membership among ordered values.
Statistics Every Programmer Needs
An interval is a set of real numbers lying between specified lower and upper bounds, possibly including those bounds.
- How it is used
- Represents continuous values, probability-based simulation outcomes, and sample variability in quality-control analysis.
- How deep it goes
- Defines interval notation and applies intervals to simulation mapping and range calculation without developing formal interval algebra.
- Examples
- Uses a [2, 6] marathon-time interval, [0.00, 0.40] simulation mapping, and 13–39 random-digit assignment.
- What you can do after
- Apply intervals to represent continuous ranges, map simulated random numbers, and calculate sample spread for quality control.
Read how Statistics Every Programmer Needs explains interval →
Learn Rust in a Month of Lunches
- How it is used
- Uses ranges to select array slices and supply values to `for` loops.
- How deep it goes
- Explains exclusive and inclusive endpoints through array-slicing and loop examples.
- Examples
- Shows `2..5` slicing a ten-element array and compares `0..3` with `0..=3` in loops.
- What you can do after
- Apply Rust range syntax to select array slices or iterate over a chosen sequence of values.
Read how Learn Rust in a Month of Lunches explains interval →
100 C++ Mistakes and How to Avoid Them
A value range is the set of permissible values for a variable or data field, usually defined by lower and upper limits.
- How it is used
- Defines valid field values and helps preserve meaningful, consistent class instances.
- How deep it goes
- Explains type and domain bounds, field relationships, and validation in constructors and mutators.
- Examples
- Uses unsigned-char bounds, age limits, movie dates, and a Circle setter that accepts a negative radius.
- What you can do after
- Apply range checks to object construction and mutation, and avoid duplicating validation rules.
Read how 100 C++ Mistakes and How to Avoid Them explains interval →
Data Pipelines with Apache Airflow, Second Edition
A data interval is the bounded period of data associated with one scheduled DAG run.
- How it is used
- Buckets data into discrete windows so scheduled DAGs can process each interval incrementally.
- How deep it goes
- Defines boundaries, execution timing, and Airflow variables, stopping short of deeper implementation internals.
- Examples
- Uses daily intervals, two-day DeltaIntervalTimetable schedules, and aligned 15-minute taxi and bike-data windows.
- What you can do after
- Apply it via Airflow schedule settings and data_interval_start/data_interval_end to process bounded data windows.
Read how Data Pipelines with Apache Airflow, Second Edition explains interval →
Elixir in Action, Third Edition
A range is an Elixir abstraction representing a sequence of values bounded by a start and an end.
- How it is used
- Represents bounded numeric sequences for membership checks and enumerable operations.
- How deep it goes
- Explains syntax, membership, enumeration, and constant-size map representation without detailing the Range implementation.
- Examples
- Uses 1..2 membership checks and Enum.each over 1..3.
- What you can do after
- Apply ranges through Elixir syntax, in, and Enum functions.
Read how Elixir in Action, Third Edition explains interval →
The Design of Web APIs, Second Edition
A numeric range is a set of permitted numerical values bounded by lower and upper constraints that may be open-ended.
- How it is used
- Uses intervals to filter API data and constrain permitted values in data models.
- How deep it goes
- Defines inclusive and exclusive bounds, open-ended ranges, and JSON Schema keywords; defers dynamic limits to textual descriptions.
- Examples
- Uses amount and date filters, an age limit, and a positive wire-transfer amount without an upper bound.
- What you can do after
- Apply JSON Schema numeric-bound keywords to make model constraints machine-readable for documentation, code generation, testing, and mocking.
Read how The Design of Web APIs, Second Edition explains interval →
Also covered in
- The Well-Grounded Data Analyst
- Modern C, Third Edition
- Learn SQL in a Month of Lunches
- Data-Oriented Programming: Reduce software complexity
- Statistics Slam Dunk
- API Design Patterns
- PostgreSQL Mistakes and How to Avoid Them
- Math for Web Design
What to know first
- meanThe mean is a measure of central location equal to the arithmetic average of numerical observations, or the probability-weighted average of a random variable’s possible values.
- integerAn integer is a whole-number mathematical value, including negative numbers, zero, and positive numbers, with no fractional part.
- SQLSQL is a standardized declarative language for defining, querying, and manipulating data in relational database systems.
- unsigned integerAn unsigned integer is an integer type or representation whose values are nonnegative.
Related concepts
- Mapimplements · A map is an associative data structure that stores key-value associations and supports retrieving values by key.
- Apache Airflowused by · Apache Airflow is an open-source platform for authoring, scheduling, and monitoring programmatically defined workflows, commonly represented as directed acyclic graphs.
Questions about interval
What is interval?
An interval is a connected set or span of values between specified lower and upper endpoints, with endpoint inclusion determined by its definition.
Which Manning books explain interval?
Effective Data Analysis, Kotlin in Action, 2E, Statistics Every Programmer Needs, Learn Rust in a Month of Lunches, 100 C++ Mistakes and How to Avoid Them, Data Pipelines with Apache Airflow, Second Edition, Elixir in Action, Third Edition and The Design of Web APIs, Second Edition.
What should I know before learning interval?
Manning books that teach interval usually introduce mean, integer, SQL and unsigned integer first.
What kinds of interval are there?
Kinds of interval include half-open interval.
What is interval also called?
Interval is also called range.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.







