MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / __parse_clock

Function __parse_clock

system/lib/libcxx/src/experimental/tzdb.cpp:408–423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

406}
407
408[[nodiscard]] static __tz::__clock __parse_clock(istream& __input) {
409 switch (__input.get()) { // case sensitive
410 case 'w':
411 return __tz::__clock::__local;
412 case 's':
413 return __tz::__clock::__standard;
414
415 case 'u':
416 case 'g':
417 case 'z':
418 return __tz::__clock::__universal;
419 }
420
421 __input.unget();
422 return __tz::__clock::__local;
423}
424
425[[nodiscard]] static bool __parse_dst(istream& __input, seconds __offset) {
426 switch (__input.get()) { // case sensitive

Callers 1

__parse_atFunction · 0.85

Calls 1

getMethod · 0.65

Tested by

no test coverage detected