sneedmc/api/logic/minecraft/ParseUtils.h
2016-05-01 00:00:14 +02: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);