TZInfo::TimezoneTransition < Object
Represents a transition from one observed UTC offset ({TimezoneOffset}) to another for a time zone.
| Use Case | Command | Description |
|---|---|---|
| 🆕 Create a new transition | TZInfo::TimezoneTransition.new(offset, previous_offset, timestamp_value) |
Creates a new transition instance |
| 🔍 Get the UTC offset after transition | transition.offset |
Returns the new offset |
| 🔙 Get the previous UTC offset | transition.previous_offset |
Returns the offset before the transition |
| ⏰ Get the transition timestamp | transition.timestamp_value |
Returns the timestamp value |
| ✅ Check equality | transition == other |
Returns true if equal |
| 📅 Get local end time | transition.local_end_at |
Returns the local time at which the transition ends |
| 📅 Get local start time | transition.local_start_at |
Returns the local time at which the transition starts |
new(offset, previous_offset, timestamp_value)==ateql?hashlocal_end_atlocal_start_atoffsetprevious_offsettimestamp_valueoffset — (attr_reader)previous_offset — (attr_reader)timestamp_value — (attr_reader)Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-29 18:41 @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