| Home | Libraries | People | FAQ | More

## Class time_duration

boost::posix_time::time_duration — Base time duration type.

## Synopsis

    class time_duration {
    public:
      // types
      typedef time_res_traits                          rep_type;
      typedef time_res_traits::day_type                day_type;
      typedef time_res_traits::hour_type               hour_type;
      typedef time_res_traits::min_type                min_type;
      typedef time_res_traits::sec_type                sec_type;
      typedef time_res_traits::fractional_seconds_type fractional_seconds_type;
      typedef time_res_traits::tick_type               tick_type;
      typedef time_res_traits::impl_type               impl_type;

      // construct/copy/destruct
      time_duration(hour_type, min_type, sec_type, fractional_seconds_type = 0);
      time_duration();
      time_duration(boost::date_time::special_values);
      time_duration(impl_type);

      // public member functions

      // private member functions
    };

## Description

### `time_duration` construct/copy/destruct

1.     time_duration(hour_type hour, min_type min, sec_type sec,
                     fractional_seconds_type fs = 0);

2.     time_duration();

3.     time_duration(boost::date_time::special_values sv);

4.     time_duration(impl_type ticks);

### `time_duration` public member functions

### `time_duration` private member functions

| Copyright © 2001-2005 CrystalClear Software, Inc