testing ...
This commit is contained in:
parent
9ca45e613f
commit
2d9ed3c1c8
@ -50,9 +50,12 @@ int main() {
|
||||
|
||||
if (isParsed)
|
||||
{
|
||||
QDateTime start = QDateTime::fromString("2023-05-11T08:00:00",Qt::ISODate);
|
||||
QDateTime start = QDateTime::fromString("2023-11-27T17:50:00",Qt::ISODate);
|
||||
//QDateTime start = QDateTime::currentDateTime();
|
||||
QDateTime end = start.addSecs(120);
|
||||
calculator.GetCostFromDuration(&cfg, 3, start, end, 60);
|
||||
uint32_t cost = calculator.GetCostFromDuration(&cfg, 3, start, end, 60);
|
||||
qCritical() << "cost=" << cost;
|
||||
qCritical() << "end=" << end;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user