MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / GetModificationTime

Method GetModificationTime

Bcore/src/main/cpp/ziparchive/zip_archive.cc:1223–1235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1221}
1222
1223tm ZipEntry::GetModificationTime() const {
1224 tm t = {};
1225
1226 t.tm_hour = (mod_time >> 11) & 0x1f;
1227 t.tm_min = (mod_time >> 5) & 0x3f;
1228 t.tm_sec = (mod_time & 0x1f) << 1;
1229
1230 t.tm_year = ((mod_time >> 25) & 0x7f) + 80;
1231 t.tm_mon = ((mod_time >> 21) & 0xf) - 1;
1232 t.tm_mday = (mod_time >> 16) & 0x1f;
1233
1234 return t;
1235}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected