C++ Boost

Date Input/Output


Overall Index -- Gregorian Index -- Posix Time Index

Introduction -- Class Overview

Introduction

The library provides for localized stream-based I/O of dates and times. Note that this support is not supported for all compilers. See the build information page for details.
ライブラリは日付と時間についてローカライズされたストリームベースの I/O を供給する。 これは、全てのコンパイラでサポートされているわけではないので注意が必要である。 詳細は build information を参照されたい。

Class Overview

Class Construction Parameters Description
date_iterator 日付レベルのイテレータに共通な基底クラス
day_iterator date start_date, int day_count=1 day_count 日単位で反復する
week_iterator date start_date, int week_offset=1 week_offset 周単位で反復する
month_iterator date start_date, int month_offset=1 month_offset 月単位で反復する。
月末の取り扱いについては特別な規則がある。
始点となる日が月の最終日であった場合、反復毎にその月の最終日に調整される。 日付がその月の最終日を超える場合(例えば1月31日+1ヶ月)、月末に合わせて調整される。
year_iterator date start_date, int year_offset=1 year_offset 年単位で反復する

Last modified: Thu Sep 5 07:26:05 MST 2002 by Jeff Garland © 2000-2002
Japanese Translation Copyright (C) 2003 Shoji Shinohara.