TZInfo::OffsetTimezonePeriod < TimezonePeriod — Represents the infinite period of time in a time zone that constantly observes the same offset from UTC (has an unbounded start and end).
| Use Case | Command | Description |
|---|---|---|
| Create an instance | OffsetTimezonePeriod.new |
Construct a new period with a constant offset |
| Compare periods | period == other or period.eql?(other) |
Check equality of two offset periods |
| Get transitions | period.start_transition / period.end_transition |
Retrieve boundary transitions (unbounded returns nil) |
| Hash value | period.hash |
Compute hash for use in sets/hashes |
Represents the infinite period of time in a time zone that constantly observes the same offset from UTC (has an unbounded start and end).
This class inherits from TimezonePeriod.
new — Construct a new OffsetTimezonePeriod instance== — Equality comparisonend_transition — Returns the end transition (always nil for unbounded end)eql? — Strong equality check (used for hash keys)hash — Hash value for use in collectionsstart_transition — Returns the start transition (always nil for unbounded start)Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-29 22:49 @216.73.216.177
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format