| Home | Libraries | People | FAQ | More

## Struct simple_time_rep

boost::posix_time::simple_time_rep — Simple implementation for the time rep.

## Synopsis

    // In header: <boost/date_time/posix_time/posix_time_config.hpp>

    struct simple_time_rep {
      // types
      typedef gregorian::date date_type;
      typedef time_duration   time_duration_type;

      // public member functions
      simple_time_rep(date_type, time_duration_type);
      BOOST_CXX14_CONSTEXPR bool is_special() const;
      BOOST_CXX14_CONSTEXPR bool is_pos_infinity() const;
      BOOST_CXX14_CONSTEXPR bool is_neg_infinity() const;
      BOOST_CXX14_CONSTEXPR bool is_not_a_date_time() const;

      // public data members
      date_type day;
      time_duration_type time_of_day;
    };

## Description

### `simple_time_rep` public member functions

1.     simple_time_rep(date_type d, time_duration_type tod);

2.     BOOST_CXX14_CONSTEXPR bool is_special() const;

3.     BOOST_CXX14_CONSTEXPR bool is_pos_infinity() const;

4.     BOOST_CXX14_CONSTEXPR bool is_neg_infinity() const;

5.     BOOST_CXX14_CONSTEXPR bool is_not_a_date_time() const;