BSON::Timestamp - Timestamp data for BSON


NAME

BSON::Timestamp - Timestamp data for BSON


SYNOPSIS

    use BSON;
    my $ts = BSON::Timestamp->new( $seconds, $increment );


DESCRIPTION

This module is needed for BSON and it manages BSON's timestamp element.


METHODS

new

Object constructor takes seconds and increment parameters.

seconds

Returns the value of seconds

increment

Returns the value of increment


SEE ALSO

BSON


AUTHOR

minimalist, <minimalist at lavabit.com>


BUGS

Bug reports and patches are welcome. Reports which include a failing Test::More style test are helpful and will receive priority.


LICENSE AND COPYRIGHT

Copyright 2011 minimalist.

This program is free software; you can redistribute it and/or modify it under the terms as perl itself.

 BSON::Timestamp - Timestamp data for BSON