```
milovidov-desktop :) SELECT toString(toDateTime('-922337203.6854775808', 1))

SELECT toString(toDateTime('-922337203.6854775808', 1))

Query id: 3d51ba80-4993-4f64-b6ef-da0c0f1bdf43

┌─toString(toDateTime('-922337203.6854775808', 1))─┐
│ 2106-02-07 :rE:�.6                                │
└──────────────────────────────────────────────────┘
```
private:
    
    
    
    
    Values lut[DATE_LUT_SIZE];
    
    DayNum years_lut[DATE_LUT_YEARS];
    
    DayNum years_months_lut[DATE_LUT_YEARS * 12];
    
    time_t offset_at_start_of_epoch;
    bool offset_is_whole_number_of_hours_everytime;
    
    std::string time_zone;
    
    
    inline DayNum findIndex(time_t t) const
    {
        
        DayNum guess(t / 86400);
        
        if ((guess == 0 || t >= lut[guess].date) && t < lut[DayNum(guess + 1)].date)
            return guess;
        
        if (t >= lut[DayNum(guess + 1)].date)
            return DayNum(guess + 1);
        return DayNum(guess - 1);
    }
    inline const Values & find(time_t t) const