YAPC::Asia 2006 Tokyo Sessions

Perl DateTime project

The Perl DateTime Project was started at the beginning of 2003 to create a set of interoperable modules covering all aspects of date/time programming. Since the beginning of the project, several dozen modules have been created including a core date/time object, time zone modules, modules for numerous non-Gregorian calendars, formatting and parsing, and much more.

This presentation will show you how to solve date/time programming problems using modules from DateTime Project. Some of the areas covered will include how to handle data in for date/times in multiple time zones, date/time math, localization, formatting and parsing, set math with date/times, and more.

Perl DateTime プロジェクトは 2003 年頭に始まり、日付や時間関連のプログラミングすべてをカバーし、API のバランスがとれたモジュールを作ってきました。プロジェクトの開始以来、コアの date/time オブジェクト、タイムゾーンのモジュール、いくつものグレゴリアン以外の暦、フォーマットやパース、それ以外にもたくさんのモジュールが作られてきました。

このプレゼンテーションでは、DateTime プロジェクトによって生まれたモジュールで、日付や時間関連のタスクをどう解決するか紹介します。複数のタイムゾーンにおける日付・時間処理や、日付・時間の計算、ローカライズ、フォーマットやパース、日付・時間の集合計算などをカバーする予定です。