#NEWLINE# def __init__( self , tzstr_or_minutes ) : #NEWLINE# #INDENT# if isinstance ( tzstr_or_minutes , basestring ) : #NEWLINE# #INDENT# minutes = ( ( int ( tzstr_or_minutes [ 1 : 3 ] ) * 60 ) + int ( tzstr_or_minutes [ 4 : 6 ] ) ) #NEWLINE# if ( tzstr_or_minutes [ 0 ] == '-' ) : #NEWLINE# #INDENT# minutes = ( - minutes ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# minutes = tzstr_or_minutes #NEWLINE# #UNINDENT# self . __minute_offset = minutes #NEWLINE# self . __offset = timedelta ( minutes = minutes )