Method: Zip::DOSTime#to_binary_dos_time

Defined in:
lib/zip/dos_time.rb

#to_binary_dos_timeObject



27
28
29
30
31
# File 'lib/zip/dos_time.rb', line 27

def to_binary_dos_time
  (sec / 2) +
    (min << 5) +
    (hour << 11)
end