Net::gpsd3 return base class with timestamp
package XXX; use base qw{Net::GPSD3::Return::Unknown::Timestamp};
Provides a time, timestamp and datetime methods to a \s-1GPSD3\s0 Return object.
Seconds since the Unix epoch, \s-1UTC\s0. The value may have a fractional part of up to .01sec precision.
Note: In 2.96 (protocol 3.4) the \s-1TPV-\s0>time format changed from unix epoch to W3C, but this method attempts to hide that change from the user.
Since the \s-1POSIX\s0 standard for the Unix epoch does not use leap seconds but \s-1GPS\s0 system does I do not recommend that you use this method for time display or storage. This method is purely here for backwards compatibility.
W3C formated timestamp value either directly from the protocol >= 3.4 or calculated < 3.4. The value may have a fractional part of up to .01sec precision.
Note: I expect that in protocol 3.5 the value will be passed directly as \s-1TPV-\s0>timestamp
Returns a DateTime object
Log on \s-1RT\s0 and Send to gpsd-dev email list
DavisNetworks.com supports all Perl applications including this package.
Try gpsd-dev email list
Michael R. Davis CPAN ID: MRDVT STOP, LLC domain=>michaelrdavis,tld=>com,account=>perl http://www.stopllc.com/
This program is free software licensed under the...
The BSD License
The full text of the license can be found in the \s-1LICENSE\s0 file included with this module.
Net::GPSD3, Net::GPSD3::Return::Unknown, DateTime::Format::W3CDTF, DateTime