pollymc/api/logic/minecraft/ParseUtils.h

12 lines
322 B
C
Raw Normal View History

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