Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1from .reader import Reader 

2from .timezone import Timezone 

3 

4 

5def read(name, extend=True): # type: (str, bool) -> Timezone 

6 """ 

7 Read the zoneinfo structure for a given timezone name. 

8 """ 

9 return Reader(extend=extend).read_for(name) 

10 

11 

12def read_file(path, extend=True): # type: (str, bool) -> Timezone 

13 """ 

14 Read the zoneinfo structure for a given path. 

15 """ 

16 return Reader(extend=extend).read(path)