Sha256: c185611d17f5d0d88281f95a1371d0729cd81b8675ae28591f78d706ed6dd446

Contents?: true

Size: 1.28 KB

Versions: 84

Compression:

Stored size: 1.28 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: 2008-02-27 12:00:24 -0800 (Wed, 27 Feb 2008) $
 */

namespace boost {
namespace date_time {

  //! Allow rapid creation of ymd triples of different types
  template<typename YearType, typename MonthType, typename DayType>
  struct 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

84 entries across 84 versions & 1 rubygems

Version Path
passenger-5.0.24 src/cxx_supportlib/vendor-modified/boost/date_time/year_month_day.hpp
passenger-5.0.23 src/cxx_supportlib/vendor-modified/boost/date_time/year_month_day.hpp
passenger-5.0.22 src/cxx_supportlib/vendor-modified/boost/date_time/year_month_day.hpp
passenger-4.0.60 ext/boost/date_time/year_month_day.hpp
passenger-5.0.21 src/cxx_supportlib/vendor-modified/boost/date_time/year_month_day.hpp
passenger-5.0.20 src/cxx_supportlib/vendor-modified/boost/date_time/year_month_day.hpp
passenger-5.0.19 src/cxx_supportlib/vendor-modified/boost/date_time/year_month_day.hpp
passenger-5.0.18 ext/boost/date_time/year_month_day.hpp
passenger-5.0.17 ext/boost/date_time/year_month_day.hpp
passenger-5.0.16 ext/boost/date_time/year_month_day.hpp
passenger-5.0.15 ext/boost/date_time/year_month_day.hpp
passenger-5.0.14 ext/boost/date_time/year_month_day.hpp
passenger-5.0.13 ext/boost/date_time/year_month_day.hpp
passenger-5.0.11 ext/boost/date_time/year_month_day.hpp
passenger-5.0.10 ext/boost/date_time/year_month_day.hpp
passenger-5.0.9 ext/boost/date_time/year_month_day.hpp
passenger-5.0.8 ext/boost/date_time/year_month_day.hpp
passenger-5.0.7 ext/boost/date_time/year_month_day.hpp
passenger-5.0.6 ext/boost/date_time/year_month_day.hpp
passenger-5.0.5 ext/boost/date_time/year_month_day.hpp