Net::G...estamp(3pm)
β¨ NAME β¨
okay so bestie, welcome to the User Contributed Perl Documentation page for Net::GPSD3::Return::Unknown::Timestamp β it's a Net::GPSD3 Return Base Class with Timestamp π it's giving "base class energy," and honestly? iconic.
πΈ SYNOPSIS πΈ
package XXX;
use base qw{Net::GPSD3::Return::Unknown::Timestamp};
like. that's it. you inherit, you get timestamps. slay π«Ά
π¦ DESCRIPTION π¦
so this thing hands a GPSD3 Return object three little gifts: the time, timestamp and datetime methods. that's the whole vibe. it's a mixin, it's a glow-up, it's literally just here to make sure your object knows what time it is π
π METHODS π
β time
Seconds since the Unix epoch, UTC. and lowkey, the value may have a fractional part of up to .01sec precision β so like, don't expect infinite decimals, bestie.
Note: in2.96(protocol3.4) theTPV->timeformat changed from unix epoch to W3C, but this method attempts to hide that change from the user. she's doing her best to keep it seamless, no cap.
and here's the tea, fr fr: since the POSIX standard for the Unix epoch does not use leap seconds but the GPS system does, the author does not recommend you use this method for time display or storage. it's purely here for backwards compatibility. so likeβ¦ it's a legacy bestie. love her, respect her, maybe don't build your whole clock on her π
π timestamp
a W3C formatted timestamp value, either taken directly from the protocol >= 3.4 or calculated for < 3.4. and yup, the value may have a fractional part of up to .01sec precision, same as above. consistency, we love to see it β¨
Note: the author expects that in protocol3.5the value will be passed directly asTPV->timestamp. manifesting that for her π―οΈ
π datetime
Returns a DateTime object. that's it. that's the method. main character behaviour, honestly π
π BUGS π
found something cursed? Log on RT and Send to gpsd-dev email list. like, both. don't just vibe about it in your notes app, tell the people π
π«Ά SUPPORT π«Ά
DavisNetworks.com supports all Perl applications including this package. periodt. π
also: Try gpsd-dev email list β the group chat is right there, bestie.
π§ AUTHOR π§
Michael R. Davis
CPAN ID: MRDVT
STOP, LLC
domain=>michaelrdavis,tld=>com,account=>perl
http://www.stopllc.com/
the way that he wrote this whole module and then obfuscated his own emailβ¦ privacy icon π
β COPYRIGHT β
This program is free software licensed under theβ¦
The BSD License
The full text of the license can be found in the LICENSE file included with this module. read it, bestie, it's short and it ate πΈ
π SEE ALSO π
Net::GPSD3Net::GPSD3::Return::UnknownDateTime::Format::W3CDTFDateTime
the whole friend group, together at last π¦
okay that's the whole page!! brought to you by perl v5.34.0 on 2022-06-16 β yeah she's a little vintage, but vintage is just pre-loved, and this documentation is still serving π stay timestamped, bestie, and hydrate!! πΈβ¨
π¦ where this page comes from
- debian bookworm: libnet-gpsd3-perl 0.19-2 Β· BSD-3
- debian trixie: libnet-gpsd3-perl 0.19-2 Β· BSD-3
- ubuntu noble: libnet-gpsd3-perl 0.19-2 Β· BSD-3
- ubuntu resolute: libnet-gpsd3-perl 0.19-2 Β· BSD-3
- ubuntu stonking: libnet-gpsd3-perl 0.19-2 Β· BSD-3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms