QList<QByteArray> QTimeZone::availableTimeZoneIds(int offsetSeconds) { QSet<QByteArray> set = QUtcTimeZonePrivate().availableTimeZoneIds(offsetSeconds) + global_tz->backend->availableTimeZoneIds(offsetSeconds); QList<QByteArray> list = set.toList(); std::sort(list.begin(), list.end()); return list; }
QList<QByteArray> QTimeZone::availableTimeZoneIds(QLocale::Country country) { QSet<QByteArray> set = QUtcTimeZonePrivate().availableTimeZoneIds(country) + global_tz->backend->availableTimeZoneIds(country); QList<QByteArray> list = set.toList(); std::sort(list.begin(), list.end()); return list; }
QList<QByteArray> QTimeZone::availableTimeZoneIds(QLocale::Country country) { return set_union(QUtcTimeZonePrivate().availableTimeZoneIds(country), global_tz->backend->availableTimeZoneIds(country)); }
QList<QByteArray> QTimeZone::availableTimeZoneIds(int offsetSeconds) { return set_union(QUtcTimeZonePrivate().availableTimeZoneIds(offsetSeconds), global_tz->backend->availableTimeZoneIds(offsetSeconds)); }
QList<QByteArray> QTimeZone::availableTimeZoneIds() { return set_union(QUtcTimeZonePrivate().availableTimeZoneIds(), global_tz->backend->availableTimeZoneIds()); }