Class Ole::Types::FileTime
In: lib/ole/types/base.rb
Parent: DateTime

for VT_FILETIME

Methods

dump   from_time   inspect   load   new   now  

Constants

SIZE = 8
EPOCH = new 1601, 1, 1

Public Class methods

time should be able to be either a Time, Date, or DateTime.

Create a DateTime object from a struct FILETIME (msdn2.microsoft.com/en-us/library/ms724284.aspx).

Converts str to two 32 bit time values, comprising the high and low 32 bits of the 100‘s of nanoseconds since 1st january 1601 (Epoch).

DateTime.new is slow… faster version for FileTime

Public Instance methods

[Validate]