Important update:
- DateTimeCore: - Added ReadDateTime() method, combining ReadDate() & ReadTime() - Added Read(Time/Date/DateTime)Str() methods for decoding date string
This commit is contained in:
@@ -31,6 +31,13 @@ char const * GetDateTimeStr( const char * DateSeparator = "/", const char * Tim
|
||||
|
||||
bool ReadTime( const time_t EpochTime, unsigned char &Hours, unsigned char &Minutes, unsigned char &Seconds );
|
||||
bool ReadDate( const time_t EpochTime, unsigned char &Day, unsigned char &Month, unsigned &Year );
|
||||
bool ReadDateTime( const time_t EpochTime, unsigned char &Day, unsigned char &Month, unsigned &Year,
|
||||
unsigned char &Hours, unsigned char &Minutes, unsigned char &Seconds );
|
||||
|
||||
bool ReadTimeStr( const char *DateTimeStr, unsigned char &Hours, unsigned char &Minutes, unsigned char &Seconds, bool Maxtime );
|
||||
bool ReadDateStr( const char *DateTimeStr, unsigned char &Day, unsigned char &Month, unsigned &Year );
|
||||
bool ReadDateTimeStr( const char *DateTimeStr, unsigned char &Day, unsigned char &Month, unsigned &Year,
|
||||
unsigned char &Hours, unsigned char &Minutes, unsigned char &Seconds, bool Maxtime );
|
||||
|
||||
char const * BuildDateStr( const time_t EpochTime, const char * DateSeparator = "/" );
|
||||
char const * BuildTimeStr( const time_t EpochTime, const char * TimeSeparator = ":" );
|
||||
|
||||
Reference in New Issue
Block a user