mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-12-22 19:49:56 +00:00
NOISSUE eliminate timestamp strings
This commit is contained in:
@@ -2,13 +2,10 @@
|
||||
#include <QString>
|
||||
#include <QDateTime>
|
||||
|
||||
/**
|
||||
* parse the S3 timestamp in 'raw' and fill the forwarded variables.
|
||||
* return true/false for success/failure
|
||||
*/
|
||||
bool parse_timestamp (const QString &raw, QString &save_here, QDateTime &parse_here);
|
||||
#include "multimc_logic_export.h"
|
||||
|
||||
/**
|
||||
* take the timestamp used by S3 and turn it into QDateTime
|
||||
*/
|
||||
QDateTime timeFromS3Time(QString str);
|
||||
/// take the timestamp used by S3 and turn it into QDateTime
|
||||
MULTIMC_LOGIC_EXPORT QDateTime timeFromS3Time(QString str);
|
||||
|
||||
/// take a timestamp and convert it into an S3 timestamp
|
||||
MULTIMC_LOGIC_EXPORT QString timeToS3Time(QDateTime);
|
||||
|
||||
Reference in New Issue
Block a user