Sha256: ba3540087870f6c8dc9ab9cdd48b5a4d7254a992c3a3762fc5d0f1c478837461

Contents?: true

Size: 1.3 KB

Versions: 28

Compression:

Stored size: 1.3 KB

Contents

#ifndef YearMonthDayBase_HPP__
#define YearMonthDayBase_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/date_time/compiler_config.hpp>

namespace boost {
namespace date_time {

  //! Allow rapid creation of ymd triples of different types
  template<typename YearType, typename MonthType, typename DayType>
  struct BOOST_SYMBOL_VISIBLE year_month_day_base {
    year_month_day_base(YearType  year, 
                        MonthType month,
                        DayType   day);
    YearType year;
    MonthType month;
    DayType day;
    typedef YearType  year_type;
    typedef MonthType month_type;
    typedef DayType   day_type;
  };
  
  
  //! A basic constructor
  template<typename YearType, typename MonthType, typename DayType>
  inline
  year_month_day_base<YearType,MonthType,DayType>::year_month_day_base(YearType y, 
                                                                       MonthType m,
                                                                       DayType d) :
    year(y),
    month(m),
    day(d)
  {}
  
} }//namespace date_time


#endif

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
passenger-6.0.7 src/cxx_supportlib/vendor-modified/boost/date_time/year_month_day.hpp
passenger-6.0.6 src/cxx_supportlib/vendor-modified/boost/date_time/year_month_day.hpp
passenger-6.0.5 src/cxx_supportlib/vendor-modified/boost/date_time/year_month_day.hpp
passenger-6.0.4 src/cxx_supportlib/vendor-modified/boost/date_time/year_month_day.hpp
passenger-6.0.3 src/cxx_supportlib/vendor-modified/boost/date_time/year_month_day.hpp
passenger-6.0.2 src/cxx_supportlib/vendor-modified/boost/date_time/year_month_day.hpp
passenger-6.0.1 src/cxx_supportlib/vendor-modified/boost/date_time/year_month_day.hpp
passenger-6.0.0 src/cxx_supportlib/vendor-modified/boost/date_time/year_month_day.hpp
passenger-5.3.7 src/cxx_supportlib/vendor-modified/boost/date_time/year_month_day.hpp
passenger-5.3.6 src/cxx_supportlib/vendor-modified/boost/date_time/year_month_day.hpp
passenger-5.3.5 src/cxx_supportlib/vendor-modified/boost/date_time/year_month_day.hpp
passenger-5.3.4 src/cxx_supportlib/vendor-modified/boost/date_time/year_month_day.hpp
passenger-5.3.3 src/cxx_supportlib/vendor-modified/boost/date_time/year_month_day.hpp
passenger-5.3.2 src/cxx_supportlib/vendor-modified/boost/date_time/year_month_day.hpp
passenger-5.3.1 src/cxx_supportlib/vendor-modified/boost/date_time/year_month_day.hpp
passenger-5.3.0 src/cxx_supportlib/vendor-modified/boost/date_time/year_month_day.hpp
passenger-5.2.3 src/cxx_supportlib/vendor-modified/boost/date_time/year_month_day.hpp
passenger-5.2.2 src/cxx_supportlib/vendor-modified/boost/date_time/year_month_day.hpp
passenger-5.2.1 src/cxx_supportlib/vendor-modified/boost/date_time/year_month_day.hpp
passenger-5.2.0 src/cxx_supportlib/vendor-modified/boost/date_time/year_month_day.hpp