2014-05-10 00:53:32 +01:00
|
|
|
#pragma once
|
|
|
|
#include <QString>
|
|
|
|
#include <QDateTime>
|
|
|
|
|
|
|
|
/**
|
|
|
|
* parse the S3 timestamp in 'raw' and fill the forwarded variables.
|
|
|
|
* return true/false for success/failure
|
|
|
|
*/
|
2014-05-11 11:37:21 +01:00
|
|
|
bool parse_timestamp (const QString &raw, QString &save_here, QDateTime &parse_here);
|
2014-05-10 00:53:32 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* take the timestamp used by S3 and turn it into QDateTime
|
|
|
|
*/
|
|
|
|
QDateTime timeFromS3Time(QString str);
|