boost.png (6897 bytes) Home Libraries People FAQ More

PrevUpHomeNext

Function template operator<<

boost::gregorian::operator<< — ostream operator for gregorian::date

Synopsis

template<typename charT, typename traits> 
  std::basic_ostream< charT, traits > & 
  operator<<(std::basic_ostream< charT, traits > & os, const date & d);

Description

Uses the date facet to determine various output parameters including:

  • string values for the month (eg: Jan, Feb, Mar) (default: English)

  • string values for special values (eg: not-a-date-time) (default: English)

  • selection of long, short strings, or numerical month representation (default: short string)

  • month day year order (default yyyy-mmm-dd)

Copyright © 2001-2005 CrystalClear Software, Inc

PrevUpHomeNext