Changeset 36
- Timestamp:
- 12/13/04 22:51:54 (4 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/pgp/packet/sigsubpacket/expirationtime.rb
r18 r36 29 29 30 30 def time=(time) 31 @time = Time.at(time.to_i)31 @time = time.to_i 32 32 end 33 33 34 34 def scan(io) 35 35 super 36 io.puts "Time - #{@time }"36 io.puts "Time - #{@time / 3600 / 24} days (#{@time} secs)" 37 37 end 38 38 trunk/lib/pgp/packet/sigsubpacket/keyexpirationtime.rb
r18 r36 31 31 32 32 def time=(time) 33 @time = Time.at(time.to_i)33 @time = time.to_i 34 34 end 35 35 36 36 def scan(io) 37 37 super 38 io.puts "Time - #{@time }"38 io.puts "Time - #{@time / 3600 / 24} days (#{@time} secs)" 39 39 end 40 40