MCPcopy Create free account
hub / github.com/KDE/labplot / createValue

Function createValue

src/backend/core/Time.cpp:9–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7 return value;
8}
9qint64 createValue(qint64 year, qint64 month, qint64 day, qint64 hour, qint64 minute, qint64 second, qint64 millisecond) {
10 return millisecond + 1000 * (second + 60 * (minute + 60 * (hour + 24 * (day + 30 * (month + 12 * year)))));
11}
12DateTime dateTime(const qint64 value) {
13 DateTime dt;
14 qint64 divisor = qint64(12) * 30 * 24 * 60 * 60 * 1000;

Callers 4

valueMethod · 0.85
dateTimeSpacingMethod · 0.85

Calls

no outgoing calls

Tested by 3

dateTimeSpacingMethod · 0.68