8#ifndef INCLUDED_BALTZO_TIMEZONEUTIL
9#define INCLUDED_BALTZO_TIMEZONEUTIL
466#include <balscm_version.h>
482#include <bsl_iosfwd.h>
487class LocalTimePeriod;
524 const char *targetTimeZoneId,
537 const char *targetTimeZoneId,
541 const char *targetTimeZoneId,
545 const char *targetTimeZoneId,
548 const char *targetTimeZoneId,
562 const char *targetTimeZoneId,
566 const char *targetTimeZoneId,
568 const char *srcTimeZoneId,
587 const char *targetTimeZoneId,
589 const char *srcTimeZoneId,
595 const char *timeZoneId,
600 const char *timeZoneId,
606 const char *timeZoneId,
629 const char *timeZoneId,
635 const char *timeZoneId,
655 const char *timeZoneId,
679 const char *timeZoneId);
690 const char *timeZoneId,
713 const char *timeZoneId);
742 const char *targetTimeZoneId,
758 const char *targetTimeZoneId,
772 const char *targetTimeZoneId,
786 const char *targetTimeZoneId,
800 const char *targetTimeZoneId,
815 const char *timeZoneId,
834 const char *timeZoneId,
862 const char *timeZoneId)
Definition baltzo_localdatetime.h:172
const bsl::string & timeZoneId() const
Definition baltzo_localdatetime.h:562
const bdlt::DatetimeTz & datetimeTz() const
Definition baltzo_localdatetime.h:556
Definition baltzo_localtimeperiod.h:211
Definition bdlt_datetimetz.h:308
Datetime utcDatetime() const
Definition bdlt_datetimetz.h:678
Definition bdlt_datetime.h:331
const CHAR_TYPE * c_str() const BSLS_KEYWORD_NOEXCEPT
Definition bslstl_string.h:6705
Definition bsls_timeinterval.h:301
#define BSLS_ASSERT(X)
Definition bsls_assert.h:1804
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
Definition baltzo_datafileloader.h:263
static ZoneinfoCache * defaultCache(ZoneinfoCache *cache=0)
Definition baltzo_defaultzoneinfocache.h:383
Enum
Definition baltzo_dstpolicy.h:131
@ e_UNSPECIFIED
Definition baltzo_dstpolicy.h:137
Enum
Definition baltzo_localtimevalidity.h:149
static int initLocalTime(bdlt::DatetimeTz *result, LocalTimeValidity::Enum *resultValidity, const bdlt::Datetime &localTime, const char *timeZoneId, DstPolicy::Enum dstPolicy, ZoneinfoCache *cache)
static int convertUtcToLocalTime(bdlt::DatetimeTz *result, const char *resultTimeZoneId, const bdlt::Datetime &utcTime, ZoneinfoCache *cache)
Definition baltzo_timezoneutil.h:503
static int loadLocalTimePeriod(LocalTimePeriod *result, const LocalDatetime &localTime)
Definition baltzo_timezoneutil.h:849
static int addInterval(LocalDatetime *result, const LocalDatetime &originalTime, const bsls::TimeInterval &interval)
static int initLocalTime(bdlt::DatetimeTz *result, const bdlt::Datetime &localTime, const char *timeZoneId, DstPolicy::Enum dstPolicy=DstPolicy::e_UNSPECIFIED)
Definition baltzo_timezoneutil.h:832
static int now(bdlt::DatetimeTz *result, const char *timeZoneId)
Definition baltzo_timezoneutil.h:873
static int convertLocalToLocalTime(bdlt::DatetimeTz *result, const char *targetTimeZoneId, const bdlt::Datetime &srcTime, const char *srcTimeZoneId, DstPolicy::Enum dstPolicy=DstPolicy::e_UNSPECIFIED)
static int initLocalTime(LocalDatetime *result, LocalTimeValidity::Enum *resultValidity, const bdlt::Datetime &localTime, const char *timeZoneId, DstPolicy::Enum dstPolicy=DstPolicy::e_UNSPECIFIED)
static int convertUtcToLocalTime(LocalDatetime *result, const char *targetTimeZoneId, const bdlt::Datetime &utcTime)
static int loadLocalTimePeriodForUtc(LocalTimePeriod *result, const char *timeZoneId, const bdlt::Datetime &utcTime)
static int initLocalTime(LocalDatetime *result, const bdlt::Datetime &localTime, const char *timeZoneId, DstPolicy::Enum dstPolicy=DstPolicy::e_UNSPECIFIED)
static int convertLocalToLocalTime(LocalDatetime *result, const char *targetTimeZoneId, const bdlt::Datetime &srcTime, const char *srcTimeZoneId, DstPolicy::Enum dstPolicy=DstPolicy::e_UNSPECIFIED)
static int convertLocalToUtc(bdlt::Datetime *result, const bdlt::Datetime &localTime, const char *timeZoneId, DstPolicy::Enum dstPolicy=DstPolicy::e_UNSPECIFIED)
static int validateLocalTime(bool *result, const bdlt::DatetimeTz &localTime, const char *timeZoneId)
static int convertLocalToLocalTime(LocalDatetime *result, const char *targetTimeZoneId, const LocalDatetime &srcTime)
Definition baltzo_timezoneutil.h:756
static int convertLocalToUtc(LocalDatetime *result, const bdlt::Datetime &localTime, const char *timeZoneId, DstPolicy::Enum dstPolicy=DstPolicy::e_UNSPECIFIED)
static Datetime utc()
Definition bdlt_currenttime.h:296