diff options
Diffstat (limited to 'logic/minecraft/ParseUtils.h')
-rw-r--r-- | logic/minecraft/ParseUtils.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/logic/minecraft/ParseUtils.h b/logic/minecraft/ParseUtils.h index bd2f6ffb..2b367a10 100644 --- a/logic/minecraft/ParseUtils.h +++ b/logic/minecraft/ParseUtils.h @@ -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); |