3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
7#include "mc/platform/Result.h"
12 enum class TimeZoneType :
int {
41 virtual int64 _getUnixTime();
48 _parseTimeZone(
char const* str, uint64 len, ::DateManager::TimeZoneType* type,
int* hours,
int* minutes);
54 MCNAPI static ::Bedrock::Result<int64>
parseImfFixdate(::std::string
const& dateHeader);
57 ::std::string
const& strTime,
59 ::DateManager::TimeZoneType* resultType,
60 int* resultTimeZoneMinutes
63 MCNAPI
static int64
toEpochTime(::tm
const* dateTime, ::DateManager::TimeZoneType inputType);
65 MCNAPI static ::std::string
66 toString(::tm
const& time, ::std::string
const& format, ::std::optional<::std::locale>
const& locale);
68 MCNAPI static ::std::string
toString_DateTime(::tm
const& time, ::DateManager::TimeZoneType outputType);
Definition EnableNonOwnerReferences.h:7
Definition DateManager.h:9
static MCAPI int64 toEpochTime(::tm const *dateTime, ::DateManager::TimeZoneType inputType)
static MCAPI ::Bedrock::Result< int64 > parseImfFixdate(::std::string const &dateHeader)
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)
static MCAPI int64 getRealTime()