3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
11 enum class TimeZoneType :
int {
40 virtual int64 _getUnixTime();
47 _parseTimeZone(
char const* str, uint64 len, ::DateManager::TimeZoneType* type,
int* hours,
int* minutes);
52 ::std::string
const& strTime,
54 ::DateManager::TimeZoneType* resultType,
55 int* resultTimeZoneMinutes
58 MCNAPI
static int64
toEpochTime(::tm
const* dateTime, ::DateManager::TimeZoneType inputType);
60 MCNAPI static ::std::string
61 toString(::tm
const& time, ::std::string
const& format, ::std::optional<::std::locale>
const& locale);
63 MCNAPI static ::std::string
toString_DateTime(::tm
const& time, ::DateManager::TimeZoneType outputType);
Definition EnableNonOwnerReferences.h:7
Definition DateManager.h:8
static MCAPI int64 toEpochTime(::tm const *dateTime, ::DateManager::TimeZoneType inputType)
static MCAPI int _parseTimeZone(char const *str, uint64 len, ::DateManager::TimeZoneType *type, int *hours, int *minutes)
static MCAPI ::std::string getCurrentTimestampFileName()
static MCAPI ::std::string toString(::tm const &time, ::std::string const &format, ::std::optional<::std::locale > const &locale)
static MCAPI ::std::string toString_DateTime(::tm const &time, ::DateManager::TimeZoneType outputType)
static MCAPI bool toDateTime(::std::string const &strTime, ::tm *result, ::DateManager::TimeZoneType *resultType, int *resultTimeZoneMinutes)