LeviLamina
Loading...
Searching...
No Matches
DateManager Class Reference
Inheritance diagram for DateManager:

Public Types

enum class  TimeZoneType : int { Utc = 0 , Local = 1 }

Public Member Functions

DateManageroperator= (DateManager const &)
 DateManager (DateManager const &)
virtual int64 _getUnixTime ()
MCNAPI_C void _sendScheduledCallbacks ()
MCNAPI_C::tm getDateTime (::DateManager::TimeZoneType returnType) const
MCNAPI_C bool isBetweenDates (::std::string const &start, ::std::string const &end) const
MCNAPI_C bool isInPast (::std::string const &strTime) const
MCNAPI_C void registerScheduledCallback (::ScheduledCallback callback) const
MCNAPI_C::std::string toString (::DateManager::TimeZoneType outputType, ::std::string const &format) const
MCNAPI_C void * $ctor ()
MCFOLD void * $ctor (::Bedrock::EnableNonOwnerReferences const &)
MCFOLD void $dtor ()

Static Public Member Functions

static MCAPI int _parseTimeZone (char const *str, uint64 len, ::DateManager::TimeZoneType *type, int *hours, int *minutes)
static MCAPI ::std::string getCurrentTimestampFileName ()
static MCAPI int64 getRealTime ()
static MCAPI ::Bedrock::Result< int64 > parseImfFixdate (::std::string const &dateHeader)
static MCAPI bool toDateTime (::std::string const &strTime, ::tm *result, ::DateManager::TimeZoneType *resultType, int *resultTimeZoneMinutes)
static MCNAPI_C int64 toEpochTime (::std::string const &strTime)
static MCAPI int64 toEpochTime (::tm const *dateTime, ::DateManager::TimeZoneType inputType)
static MCAPI ::std::string toString (::tm const &time, ::std::string const &format, ::std::optional<::std::locale > const &locale)
static MCNAPI_C ::std::string toString_Date (::tm const &time)
static MCAPI ::std::string toString_DateTime (::tm const &time, ::DateManager::TimeZoneType outputType)
static MCNAPI_C ::std::string toString_DateTime (int64 const &time, ::DateManager::TimeZoneType outputType)
static MCAPI void ** $vftable ()

Public Attributes

::ll::UntypedStorage< 4, 4 > mUnk38358c
::ll::UntypedStorage< 8, 8 > mUnka25ee2
::ll::UntypedStorage< 8, 8 > mUnk6da9eb
::ll::UntypedStorage< 8, 80 > mUnkb81dc2
::ll::UntypedStorage< 8, 32 > mUnk963c73
::ll::UntypedStorage< 1, 1 > mUnk79feed
::std::shared_ptr<::Bedrock::EnableNonOwnerReferences::ControlBlockmControlBlock

Member Function Documentation

◆ _parseTimeZone()

MCAPI int DateManager::_parseTimeZone ( char const * str,
uint64 len,
::DateManager::TimeZoneType * type,
int * hours,
int * minutes )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getCurrentTimestampFileName()

MCAPI ::std::string DateManager::getCurrentTimestampFileName ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getRealTime()

MCAPI int64 DateManager::getRealTime ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ parseImfFixdate()

MCAPI ::Bedrock::Result< int64 > DateManager::parseImfFixdate ( ::std::string const & dateHeader)
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ toDateTime()

MCAPI bool DateManager::toDateTime ( ::std::string const & strTime,
::tm * result,
::DateManager::TimeZoneType * resultType,
int * resultTimeZoneMinutes )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ toEpochTime()

MCAPI int64 DateManager::toEpochTime ( ::tm const * dateTime,
::DateManager::TimeZoneType inputType )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ toString()

MCAPI ::std::string DateManager::toString ( ::tm const & time,
::std::string const & format,
::std::optional<::std::locale > const & locale )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ toString_DateTime()

MCAPI ::std::string DateManager::toString_DateTime ( ::tm const & time,
::DateManager::TimeZoneType outputType )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $vftable()

MCAPI void ** DateManager::$vftable ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following file: