Sha256: e9506577b519976af0a3fff0e8779eb725625ff50bb81c7fc25094992c96da47

Contents?: true

Size: 1.55 KB

Versions: 43

Compression:

Stored size: 1.55 KB

Contents

#ifndef GREGORIAN_GREGORIAN_CALENDAR_HPP__
#define GREGORIAN_GREGORIAN_CALENDAR_HPP__

/* Copyright (c) 2002,2003 CrystalClear Software, Inc.
 * Use, modification and distribution is subject to the
 * Boost Software License, Version 1.0. (See accompanying
 * file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
 * Author: Jeff Garland
 * $Date$
 */

#include <boost/cstdint.hpp>
#include <boost/date_time/compiler_config.hpp>
#include <boost/date_time/gregorian/greg_weekday.hpp>
#include <boost/date_time/gregorian/greg_day_of_year.hpp>
#include <boost/date_time/gregorian_calendar.hpp>
#include <boost/date_time/gregorian/greg_ymd.hpp>
#include <boost/date_time/int_adapter.hpp>

namespace boost {
namespace gregorian {

  //!An internal date representation that includes infinities, not a date
  typedef date_time::int_adapter<uint32_t> fancy_date_rep;

  //! Gregorian calendar for this implementation, hard work in the base
  class BOOST_SYMBOL_VISIBLE gregorian_calendar :
    public date_time::gregorian_calendar_base<greg_year_month_day, fancy_date_rep::int_type> {
  public:
    //! Type to hold a weekday (eg: Sunday, Monday,...)
    typedef greg_weekday         day_of_week_type;
    //! Counter type from 1 to 366 for gregorian dates.
    typedef greg_day_of_year_rep day_of_year_type;
    //! Internal date representation that handles infinity, not a date
    typedef fancy_date_rep       date_rep_type;
    //! Date rep implements the traits stuff as well
    typedef fancy_date_rep       date_traits_type;


  private:
  };

} } //namespace gregorian




#endif

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
passenger-6.0.24 src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_calendar.hpp
passenger-6.0.23 src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_calendar.hpp
passenger-6.0.20 src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_calendar.hpp
passenger-6.0.19 src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_calendar.hpp
passenger-6.0.18 src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_calendar.hpp
passenger-6.0.17 src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_calendar.hpp
passenger-6.0.16 src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_calendar.hpp
passenger-6.0.15 src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_calendar.hpp
passenger-6.0.14 src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_calendar.hpp
passenger-6.0.13 src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_calendar.hpp
passenger-6.0.12 src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_calendar.hpp
passenger-6.0.11 src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_calendar.hpp
passenger-6.0.10 src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_calendar.hpp
passenger-6.0.9 src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_calendar.hpp
passenger-6.0.8 src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_calendar.hpp
passenger-6.0.7 src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_calendar.hpp
passenger-6.0.6 src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_calendar.hpp
passenger-6.0.5 src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_calendar.hpp
passenger-6.0.4 src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_calendar.hpp
passenger-6.0.3 src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_calendar.hpp