MCPcopy Create free account
hub / github.com/Exiv2/exiv2 / parseTZ

Function parseTZ

samples/geotag.cpp:672–682  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

670}
671
672int parseTZ(const char* adjust) {
673 int h = 0;
674 int m = 0;
675 char c = 0;
676 try {
677 sscanf(adjust, "%d%c%d", &h, &c, &m);
678 } catch (...) {
679 };
680
681 return (3600 * h) + (60 * m);
682}
683
684bool mySort(const std::string& a, const std::string& b) {
685 time_t A = readImageTime(a);

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected