summaryrefslogtreecommitdiffstats
path: root/libraries/logic/minecraft/ParseUtils.h
blob: 2b367a10a4635cb6b18dae1663d7a1a19b91f25f (plain)
1
2
3
4
5
6
7
8
9
10
11
#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);