sneedmc/logic/minecraft/ParseUtils.h
2016-03-02 09:16:58 +01:00

12 lines
322 B
C

#pragma once
#include <QString>
#include <QDateTime>
#include "multimc_logic_export.h"
/// 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);