View on
MetaCPAN
Olivier Duclos > Mango > Mango::BSON::Timestamp

Download:
Mango-1.29.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Source  

NAME ^

Mango::BSON::Timestamp - Timestamp type

SYNOPSIS ^

  use Mango::BSON::Timestamp;

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

DESCRIPTION ^

Mango::BSON::Timestamp is a container for the BSON timestamp type used by Mango::BSON.

ATTRIBUTES ^

Mango::BSON::Timestamp implements the following attributes.

seconds

  my $seconds = $ts->seconds;
  $ts         = $ts->seconds(23);

Seconds.

increment

  my $inc = $ts->increment;
  $tz     = $ts->increment(5);

Increment.

METHODS ^

Mango::BSON::Timestamp inherits all methods from Mojo::Base.

SEE ALSO ^

Mango, Mojolicious::Guides, http://mojolicio.us.

syntax highlighting: