code: def length(time_flags):
          # type: (int) -> int
          '''
          Static method to return the length of the Rock Ridge Time Stamp
          record.
  
          Parameters:
           time_flags - Integer representing the flags to use.
          Returns:
           The length of this record in bytes.
          '''
          tf_each_size = 7
          if time_flags & (1 << 7):
              tf_each_size = 17
          time_flags &= 0x7f
          tf_num = 0
          while time_flags:
              time_flags &= time_flags - 1
              tf_num += 1
  
          return 5 + tf_each_size * tf_nuf length(time_flags):
          # type: (int) -> int
          '''
          Static method to return the length of the Rock Ridge Time Stamp
          record.
  
          Parameters:
           time_flags - Integer representing the flags to use.
          Returns:
           The length of this record in bytes.
          '''
          tf_each_size = 7
          if time_flags & (1 << 7):
              tf_each_size = 17
          time_flags &= 0x7f
          tf_num = 0
          while time_flags:
              time_flags &= time_flags - 1
              tf_num += 1
  
          return 5 + tf_each_size * tf_num
docs: Static method to return the length of the Rock Ridge Time Stamp
          record.
  
          Parameters:
           time_flags - Integer representing the flags to use.
          Returns:
           The length of this record in bytes.