NAME
    DateTime::Tiny::Compact - DateTime::Tiny but uses less space

VERSION
    This document describes version 0.001 of DateTime::Tiny::Compact (from
    Perl distribution DateTime-Tiny-Compact), released on 2017-10-15.

SYNOPSIS
      # Create a date manually
      $christmas = DateTime::Tiny::Compact->new(
          year   => 2006,
          month  => 12,
          day    => 25,
          hour   => 10,
          minute => 45,
          second => 0,
          );

      # Show the current date
      my $now = DateTime::Tiny::Compact->now;
      print "Year   : " . $now->year   . "\n";
      print "Month  : " . $now->month  . "\n";
      print "Day    : " . $now->day    . "\n";
      print "Hour   : " . $now->hour   . "\n";
      print "Minute : " . $now->minute . "\n";
      print "Second : " . $now->second . "\n";

DESCRIPTION
    EXPERIMENTAL.

    DateTime::Tiny::Compact is a fork of DateTime::Tiny. It uses
    Class::Accessor::PackedString::Set to create objects based on
    "pack()"-ed string which is compact.

HOMEPAGE
    Please visit the project's homepage at
    <https://metacpan.org/release/DateTime-Tiny-Compact>.

SOURCE
    Source repository is at
    <https://github.com/perlancar/perl-DateTime-Tiny-Compact>.

BUGS
    Please report any bugs or feature requests on the bugtracker website
    <https://rt.cpan.org/Public/Dist/Display.html?Name=DateTime-Tiny-Compact
    >

    When submitting a bug or request, please include a test-file or a patch
    to an existing test-file that illustrates the bug or desired feature.

SEE ALSO
    DateTime::Tiny

    Class::Accessor::PackedString::Set

AUTHOR
    perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE
    This software is copyright (c) 2017 by perlancar@cpan.org.

    This is free software; you can redistribute it and/or modify it under
    the same terms as the Perl 5 programming language system itself.

