#NEWLINE# @ bacpypes_debugging #NEWLINE# def time_tag( x ) : #NEWLINE# #INDENT# 'Convert a hex string to an time application tag.' #NEWLINE# if _debug : #NEWLINE# #INDENT# time_tag . _debug ( 'time_tag %r' , x ) #NEWLINE# #UNINDENT# b = xtob ( x ) #NEWLINE# tag = Tag ( Tag . applicationTagClass , Tag . timeAppTag , len ( b ) , b ) #NEWLINE# if _debug : #NEWLINE# #INDENT# time_endec . _debug ( '    - tag: %r' , tag ) #NEWLINE# #UNINDENT# return tag