/* * This file is a part of Winix * and is not publicly distributed * * Copyright (c) 2012-2014, Tomasz Sowa * All rights reserved. * */ #include "timezones.h" #include "misc.h" #include "log.h" namespace Winix { TimeZones::TimeZones() { Clear(); } void TimeZones::Clear() { zone_tab.clear(); for(size_t i=0 ; i 1000 ) { max_id = 1000; log << log1 << "TZ: time_zone_max_id is too big (changed to 1000)" << logend; } size_t old_size = zone_indices.size(); zone_indices.resize(max_id + 1); for(size_t i=old_size ; i