PrismLauncher/api/logic/minecraft/ParseUtils.h

12 lines
322 B
C
Raw Normal View History

2014-05-10 00:53:32 +01:00
#pragma once
#include <QString>
#include <QDateTime>
2016-03-02 02:03:44 +00:00
#include "multimc_logic_export.h"
2014-05-10 00:53:32 +01:00
2016-03-02 02:03:44 +00:00
/// 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);