MCPcopy Create free account
hub / github.com/comaps/comaps / GenerateYYMMDD

Function GenerateYYMMDD

libs/base/timer.cpp:39–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39uint32_t GenerateYYMMDD(int year, int month, int day)
40{
41 uint32_t result = (year - 100) * 100;
42 result = (result + month + 1) * 100;
43 result = result + day;
44 return result;
45}
46
47uint32_t GenerateYYMMDD(uint64_t secondsSinceEpoch)
48{

Callers 5

TestWithCustomMwmsMethod · 0.85
TestMwmBuilderClass · 0.85
UNIT_TESTFunction · 0.85
ExportMultipleFilesFunction · 0.85
GetVersionMethod · 0.85

Calls 2

GmTimeFunction · 0.85
SecondsSinceEpochToTimeTFunction · 0.85

Tested by 2

TestWithCustomMwmsMethod · 0.68
UNIT_TESTFunction · 0.68