1
1
mirror of https://github.com/wader/fq.git synced 2024-12-23 21:31:33 +03:00
fq/format/tzif/testdata/Maputo.fqtest
2022-12-04 21:02:39 +09:00

73 lines
7.5 KiB
Plaintext

$ fq -d tzif dv Maputo
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.{}: Maputo (tzif) 0x0-0x94.7 (149)
| | | v1header{}: 0x0-0x2b.7 (44)
0x00|54 5a 69 66 |TZif | magic: 0x545a6966 (valid) 0x0-0x3.7 (4)
0x00| 32 | 2 | ver: "2" (0x32) (valid) 0x4-0x4.7 (1)
0x00| 00 00 00 00 00 00 00 00 00 00 00| ...........| reserved: raw bits 0x5-0x13.7 (15)
0x10|00 00 00 00 |.... |
0x10| 00 00 00 00 | .... | isutcnt: 0 0x14-0x17.7 (4)
0x10| 00 00 00 00 | .... | isstdcnt: 0 0x18-0x1b.7 (4)
0x10| 00 00 00 00| ....| leapcnt: 0 0x1c-0x1f.7 (4)
0x20|00 00 00 01 |.... | timecnt: 1 0x20-0x23.7 (4)
0x20| 00 00 00 02 | .... | typecnt: 2 0x24-0x27.7 (4)
0x20| 00 00 00 08 | .... | charcnt: 8 0x28-0x2b.7 (4)
| | | v1datablock{}: 0x2c-0x44.7 (25)
| | | transition_times[0:1]: 0x2c-0x2f.7 (4)
0x20| 82 46 c5 f4| .F..| [0]: "1903-02-28T21:49:40Z" (-2109291020) transition_time 0x2c-0x2f.7 (4)
| | | transition_types[0:1]: 0x30-0x30.7 (1)
0x30|01 |. | [0]: 1 transition_type 0x30-0x30.7 (1)
| | | local_time_type_records[0:2]: 0x31-0x3c.7 (12)
| | | [0]{}: local_time_type 0x31-0x36.7 (6)
0x30| 00 00 1e 8c | .... | utoff: 7820 (valid) 0x31-0x34.7 (4)
0x30| 00 | . | dst: 0 (valid) 0x35-0x35.7 (1)
0x30| 00 | . | idx: 0 (valid) 0x36-0x36.7 (1)
| | | [1]{}: local_time_type 0x37-0x3c.7 (6)
0x30| 00 00 1c 20 | ... | utoff: 7200 (valid) 0x37-0x3a.7 (4)
0x30| 00 | . | dst: 0 (valid) 0x3b-0x3b.7 (1)
0x30| 04 | . | idx: 4 (valid) 0x3c-0x3c.7 (1)
| | | time_zone_designations[0:2]: 0x3d-0x44.7 (8)
0x30| 4c 4d 54| LMT| [0]: "LMT" time_zone_designation 0x3d-0x40.7 (4)
0x40|00 |. |
0x40| 43 41 54 00 | CAT. | [1]: "CAT" time_zone_designation 0x41-0x44.7 (4)
| | | leap_second_records[0:0]: 0x45-NA (0)
| | | standard_wall_indicators[0:0]: 0x45-NA (0)
| | | ut_local_indicators[0:0]: 0x45-NA (0)
| | | v2plusheader{}: 0x45-0x70.7 (44)
0x40| 54 5a 69 66 | TZif | magic: 0x545a6966 (valid) 0x45-0x48.7 (4)
0x40| 32 | 2 | ver: "2" (0x32) (valid) 0x49-0x49.7 (1)
0x40| 00 00 00 00 00 00| ......| reserved: raw bits 0x4a-0x58.7 (15)
0x50|00 00 00 00 00 00 00 00 00 |......... |
0x50| 00 00 00 00 | .... | isutcnt: 0 0x59-0x5c.7 (4)
0x50| 00 00 00| ...| isstdcnt: 0 0x5d-0x60.7 (4)
0x60|00 |. |
0x60| 00 00 00 00 | .... | leapcnt: 0 0x61-0x64.7 (4)
0x60| 00 00 00 01 | .... | timecnt: 1 0x65-0x68.7 (4)
0x60| 00 00 00 02 | .... | typecnt: 2 0x69-0x6c.7 (4)
0x60| 00 00 00| ...| charcnt: 8 0x6d-0x70.7 (4)
0x70|08 |. |
| | | v2plusdatablock{}: 0x71-0x8d.7 (29)
| | | transition_times[0:1]: 0x71-0x78.7 (8)
0x70| ff ff ff ff 82 46 c5 f4 | .....F.. | [0]: "1903-02-28T21:49:40Z" (-2109291020) transition_time 0x71-0x78.7 (8)
| | | transition_types[0:1]: 0x79-0x79.7 (1)
0x70| 01 | . | [0]: 1 transition_type 0x79-0x79.7 (1)
| | | local_time_type_records[0:2]: 0x7a-0x85.7 (12)
| | | [0]{}: local_time_type 0x7a-0x7f.7 (6)
0x70| 00 00 1e 8c | .... | utoff: 7820 (valid) 0x7a-0x7d.7 (4)
0x70| 00 | . | dst: 0 (valid) 0x7e-0x7e.7 (1)
0x70| 00| .| idx: 0 (valid) 0x7f-0x7f.7 (1)
| | | [1]{}: local_time_type 0x80-0x85.7 (6)
0x80|00 00 1c 20 |... | utoff: 7200 (valid) 0x80-0x83.7 (4)
0x80| 00 | . | dst: 0 (valid) 0x84-0x84.7 (1)
0x80| 04 | . | idx: 4 (valid) 0x85-0x85.7 (1)
| | | time_zone_designations[0:2]: 0x86-0x8d.7 (8)
0x80| 4c 4d 54 00 | LMT. | [0]: "LMT" time_zone_designation 0x86-0x89.7 (4)
0x80| 43 41 54 00 | CAT. | [1]: "CAT" time_zone_designation 0x8a-0x8d.7 (4)
| | | leap_second_records[0:0]: 0x8e-NA (0)
| | | standard_wall_indicators[0:0]: 0x8e-NA (0)
| | | ut_local_indicators[0:0]: 0x8e-NA (0)
| | | footer{}: 0x8e-0x94.7 (7)
0x80| 0a | . | nl1: 10 (valid) 0x8e-0x8e.7 (1)
0x80| 43| C| tz_string: "CAT-2" 0x8f-0x93.7 (5)
0x90|41 54 2d 32 |AT-2 |
0x90| 0a| | .| | nl2: 10 (valid) 0x94-0x94.7 (1)