├── .gitignore ├── .travis.yml ├── Changes ├── MANIFEST.SKIP ├── Makefile.PL ├── Moment.xs ├── dev ├── bench.pl └── sizeof.pl ├── eg ├── age.pl ├── ago.pl ├── beat.pl ├── cal.pl ├── cbor.pl ├── clocks.pl ├── excel.pl ├── isocal.pl ├── json.pl ├── se_bank_holidays.pl ├── sereal.pl ├── strftime.pl └── us_federal_holidays.pl ├── lib └── Time │ ├── Moment.pm │ ├── Moment.pod │ └── Moment │ ├── Adjusters.pm │ └── Adjusters.pod ├── src ├── dt_accessor.c ├── dt_accessor.h ├── dt_arithmetic.c ├── dt_arithmetic.h ├── dt_config.h ├── dt_core.c ├── dt_core.h ├── dt_easter.c ├── dt_easter.h ├── dt_length.c ├── dt_length.h ├── dt_parse_iso.c ├── dt_parse_iso.h ├── dt_util.c ├── dt_util.h ├── dt_valid.c ├── dt_valid.h ├── moment.c ├── moment.h ├── moment_fmt.c ├── moment_fmt.h ├── moment_parse.c └── moment_parse.h ├── t ├── 000_load.t ├── 100_basic.t ├── 110_now.t ├── 120_now_utc.t ├── 130_from_epoch.t ├── 140_from_object.t ├── 145_from_object_tp.t ├── 150_from_object_dt.t ├── 180_from_string.t ├── 190_rd.t ├── 191_jd.t ├── 192_mjd.t ├── 200_compare.t ├── 300_strftime.t ├── 400_with.t ├── 410_with_offset.t ├── 411_with_adjusters.t ├── 415_precision.t ├── 420_at.t ├── 430_length.t ├── 450_delta_time.t ├── 455_delta_date.t ├── 500_storable.t ├── 510_json.t ├── 520_cbor.t ├── 530_sereal.t ├── 600_coerce_dt.t ├── 610_coerce_tp.t ├── 900_bug_reuse.t └── Util.pm └── typemap /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/.travis.yml -------------------------------------------------------------------------------- /Changes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/Changes -------------------------------------------------------------------------------- /MANIFEST.SKIP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/MANIFEST.SKIP -------------------------------------------------------------------------------- /Makefile.PL: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/Makefile.PL -------------------------------------------------------------------------------- /Moment.xs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/Moment.xs -------------------------------------------------------------------------------- /dev/bench.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/dev/bench.pl -------------------------------------------------------------------------------- /dev/sizeof.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/dev/sizeof.pl -------------------------------------------------------------------------------- /eg/age.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/eg/age.pl -------------------------------------------------------------------------------- /eg/ago.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/eg/ago.pl -------------------------------------------------------------------------------- /eg/beat.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/eg/beat.pl -------------------------------------------------------------------------------- /eg/cal.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/eg/cal.pl -------------------------------------------------------------------------------- /eg/cbor.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/eg/cbor.pl -------------------------------------------------------------------------------- /eg/clocks.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/eg/clocks.pl -------------------------------------------------------------------------------- /eg/excel.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/eg/excel.pl -------------------------------------------------------------------------------- /eg/isocal.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/eg/isocal.pl -------------------------------------------------------------------------------- /eg/json.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/eg/json.pl -------------------------------------------------------------------------------- /eg/se_bank_holidays.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/eg/se_bank_holidays.pl -------------------------------------------------------------------------------- /eg/sereal.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/eg/sereal.pl -------------------------------------------------------------------------------- /eg/strftime.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/eg/strftime.pl -------------------------------------------------------------------------------- /eg/us_federal_holidays.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/eg/us_federal_holidays.pl -------------------------------------------------------------------------------- /lib/Time/Moment.pm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/lib/Time/Moment.pm -------------------------------------------------------------------------------- /lib/Time/Moment.pod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/lib/Time/Moment.pod -------------------------------------------------------------------------------- /lib/Time/Moment/Adjusters.pm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/lib/Time/Moment/Adjusters.pm -------------------------------------------------------------------------------- /lib/Time/Moment/Adjusters.pod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/lib/Time/Moment/Adjusters.pod -------------------------------------------------------------------------------- /src/dt_accessor.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/src/dt_accessor.c -------------------------------------------------------------------------------- /src/dt_accessor.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/src/dt_accessor.h -------------------------------------------------------------------------------- /src/dt_arithmetic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/src/dt_arithmetic.c -------------------------------------------------------------------------------- /src/dt_arithmetic.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/src/dt_arithmetic.h -------------------------------------------------------------------------------- /src/dt_config.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/src/dt_config.h -------------------------------------------------------------------------------- /src/dt_core.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/src/dt_core.c -------------------------------------------------------------------------------- /src/dt_core.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/src/dt_core.h -------------------------------------------------------------------------------- /src/dt_easter.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/src/dt_easter.c -------------------------------------------------------------------------------- /src/dt_easter.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/src/dt_easter.h -------------------------------------------------------------------------------- /src/dt_length.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/src/dt_length.c -------------------------------------------------------------------------------- /src/dt_length.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/src/dt_length.h -------------------------------------------------------------------------------- /src/dt_parse_iso.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/src/dt_parse_iso.c -------------------------------------------------------------------------------- /src/dt_parse_iso.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/src/dt_parse_iso.h -------------------------------------------------------------------------------- /src/dt_util.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/src/dt_util.c -------------------------------------------------------------------------------- /src/dt_util.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/src/dt_util.h -------------------------------------------------------------------------------- /src/dt_valid.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/src/dt_valid.c -------------------------------------------------------------------------------- /src/dt_valid.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/src/dt_valid.h -------------------------------------------------------------------------------- /src/moment.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/src/moment.c -------------------------------------------------------------------------------- /src/moment.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/src/moment.h -------------------------------------------------------------------------------- /src/moment_fmt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/src/moment_fmt.c -------------------------------------------------------------------------------- /src/moment_fmt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/src/moment_fmt.h -------------------------------------------------------------------------------- /src/moment_parse.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/src/moment_parse.c -------------------------------------------------------------------------------- /src/moment_parse.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/src/moment_parse.h -------------------------------------------------------------------------------- /t/000_load.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/t/000_load.t -------------------------------------------------------------------------------- /t/100_basic.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/t/100_basic.t -------------------------------------------------------------------------------- /t/110_now.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/t/110_now.t -------------------------------------------------------------------------------- /t/120_now_utc.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/t/120_now_utc.t -------------------------------------------------------------------------------- /t/130_from_epoch.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/t/130_from_epoch.t -------------------------------------------------------------------------------- /t/140_from_object.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/t/140_from_object.t -------------------------------------------------------------------------------- /t/145_from_object_tp.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/t/145_from_object_tp.t -------------------------------------------------------------------------------- /t/150_from_object_dt.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/t/150_from_object_dt.t -------------------------------------------------------------------------------- /t/180_from_string.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/t/180_from_string.t -------------------------------------------------------------------------------- /t/190_rd.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/t/190_rd.t -------------------------------------------------------------------------------- /t/191_jd.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/t/191_jd.t -------------------------------------------------------------------------------- /t/192_mjd.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/t/192_mjd.t -------------------------------------------------------------------------------- /t/200_compare.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/t/200_compare.t -------------------------------------------------------------------------------- /t/300_strftime.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/t/300_strftime.t -------------------------------------------------------------------------------- /t/400_with.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/t/400_with.t -------------------------------------------------------------------------------- /t/410_with_offset.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/t/410_with_offset.t -------------------------------------------------------------------------------- /t/411_with_adjusters.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/t/411_with_adjusters.t -------------------------------------------------------------------------------- /t/415_precision.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/t/415_precision.t -------------------------------------------------------------------------------- /t/420_at.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/t/420_at.t -------------------------------------------------------------------------------- /t/430_length.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/t/430_length.t -------------------------------------------------------------------------------- /t/450_delta_time.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/t/450_delta_time.t -------------------------------------------------------------------------------- /t/455_delta_date.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/t/455_delta_date.t -------------------------------------------------------------------------------- /t/500_storable.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/t/500_storable.t -------------------------------------------------------------------------------- /t/510_json.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/t/510_json.t -------------------------------------------------------------------------------- /t/520_cbor.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/t/520_cbor.t -------------------------------------------------------------------------------- /t/530_sereal.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/t/530_sereal.t -------------------------------------------------------------------------------- /t/600_coerce_dt.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/t/600_coerce_dt.t -------------------------------------------------------------------------------- /t/610_coerce_tp.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/t/610_coerce_tp.t -------------------------------------------------------------------------------- /t/900_bug_reuse.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/t/900_bug_reuse.t -------------------------------------------------------------------------------- /t/Util.pm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/t/Util.pm -------------------------------------------------------------------------------- /typemap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chansen/p5-time-moment/HEAD/typemap --------------------------------------------------------------------------------