date_time_autodoc.xml 312 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305
  1. <?xml version="1.0" standalone="yes"?>
  2. <library-reference id="date_time_reference"><title>Date Time Reference</title><header name="boost/date_time/adjust_functors.hpp">
  3. <namespace name="boost">
  4. <namespace name="date_time">
  5. <class name="day_functor"><template>
  6. <template-type-parameter name="date_type"/>
  7. </template><purpose>Functor to iterate a fixed number of days. </purpose><typedef name="duration_type"><type>date_type::duration_type</type></typedef>
  8. <method-group name="public member functions">
  9. <method name="get_offset" cv="const"><type>duration_type</type><parameter name=""><paramtype>const date_type &amp;</paramtype></parameter></method>
  10. <method name="get_neg_offset" cv="const"><type>duration_type</type><parameter name=""><paramtype>const date_type &amp;</paramtype></parameter></method>
  11. </method-group>
  12. <constructor><parameter name="f"><paramtype>int</paramtype></parameter></constructor>
  13. </class><class name="month_functor"><template>
  14. <template-type-parameter name="date_type"/>
  15. </template><purpose>Provides calculation to find next nth month given a date. </purpose><description><para>This adjustment function provides the logic for 'month-based' advancement on a ymd based calendar. The policy it uses to handle the non existant end of month days is to back up to the last day of the month. Also, if the starting date is the last day of a month, this functor will attempt to adjust to the end of the month. </para></description><typedef name="duration_type"><type>date_type::duration_type</type></typedef>
  16. <typedef name="cal_type"><type>date_type::calendar_type</type></typedef>
  17. <typedef name="ymd_type"><type>cal_type::ymd_type</type></typedef>
  18. <typedef name="day_type"><type>cal_type::day_type</type></typedef>
  19. <method-group name="public member functions">
  20. <method name="get_offset" cv="const"><type>duration_type</type><parameter name="d"><paramtype>const date_type &amp;</paramtype></parameter></method>
  21. <method name="get_neg_offset" cv="const"><type>duration_type</type><parameter name="d"><paramtype>const date_type &amp;</paramtype></parameter><purpose>Returns a negative duration_type. </purpose></method>
  22. </method-group>
  23. <constructor><parameter name="f"><paramtype>int</paramtype></parameter></constructor>
  24. </class><class name="week_functor"><template>
  25. <template-type-parameter name="date_type"/>
  26. </template><purpose>Functor to iterate a over weeks. </purpose><typedef name="duration_type"><type>date_type::duration_type</type></typedef>
  27. <typedef name="calendar_type"><type>date_type::calendar_type</type></typedef>
  28. <method-group name="public member functions">
  29. <method name="get_offset" cv="const"><type>duration_type</type><parameter name=""><paramtype>const date_type &amp;</paramtype></parameter></method>
  30. <method name="get_neg_offset" cv="const"><type>duration_type</type><parameter name=""><paramtype>const date_type &amp;</paramtype></parameter></method>
  31. </method-group>
  32. <constructor><parameter name="f"><paramtype>int</paramtype></parameter></constructor>
  33. </class><class name="year_functor"><template>
  34. <template-type-parameter name="date_type"/>
  35. </template><purpose>Functor to iterate by a year adjusting for leap years. </purpose><typedef name="duration_type"><type>date_type::duration_type</type></typedef>
  36. <method-group name="public member functions">
  37. <method name="get_offset" cv="const"><type>duration_type</type><parameter name="d"><paramtype>const date_type &amp;</paramtype></parameter></method>
  38. <method name="get_neg_offset" cv="const"><type>duration_type</type><parameter name="d"><paramtype>const date_type &amp;</paramtype></parameter></method>
  39. </method-group>
  40. <constructor><parameter name="f"><paramtype>int</paramtype></parameter></constructor>
  41. </class>
  42. </namespace>
  43. </namespace>
  44. </header>
  45. <header name="boost/date_time/c_local_time_adjustor.hpp">
  46. <para>Time adjustment calculations based on machine </para><namespace name="boost">
  47. <namespace name="date_time">
  48. <class name="c_local_adjustor"><template>
  49. <template-type-parameter name="time_type"/>
  50. </template><purpose>Adjust to / from utc using the C API. </purpose><description><para>Warning!!! This class assumes that timezone settings of the machine are correct. This can be a very dangerous assumption. </para></description><typedef name="time_duration_type"><type>time_type::time_duration_type</type></typedef>
  51. <typedef name="date_type"><type>time_type::date_type</type></typedef>
  52. <typedef name="date_duration_type"><type>date_type::duration_type</type></typedef>
  53. <method-group name="public static functions">
  54. <method name="utc_to_local" specifiers="static"><type>time_type</type><parameter name="t"><paramtype>const time_type &amp;</paramtype></parameter><purpose>Convert a utc time to local time. </purpose></method>
  55. </method-group>
  56. </class>
  57. </namespace>
  58. </namespace>
  59. </header>
  60. <header name="boost/date_time/c_time.hpp">
  61. <para>Provide workarounds related to the ctime header </para><namespace name="std">
  62. </namespace>
  63. <namespace name="boost">
  64. <namespace name="date_time">
  65. <struct name="c_time"><purpose>Provides a uniform interface to some 'ctime' functions. </purpose><description><para>Provides a uniform interface to some ctime functions and their '_r' counterparts. The '_r' functions require a pointer to a user created std::tm struct whereas the regular functions use a staticly created struct and return a pointer to that. These wrapper functions require the user to create a std::tm struct and send in a pointer to it. This struct may be used to store the resulting time. The returned pointer may or may not point to this struct, however, it will point to the result of the corresponding function. All functions do proper checking of the C function results and throw exceptions on error. Therefore the functions will never return NULL. </para></description><method-group name="public static functions">
  66. <method name="localtime" specifiers="static"><type>std::tm *</type><parameter name="t"><paramtype>const std::time_t *</paramtype></parameter><parameter name="result"><paramtype>std::tm *</paramtype></parameter><purpose>requires a pointer to a user created std::tm struct </purpose></method>
  67. <method name="gmtime" specifiers="static"><type>std::tm *</type><parameter name="t"><paramtype>const std::time_t *</paramtype></parameter><parameter name="result"><paramtype>std::tm *</paramtype></parameter><purpose>requires a pointer to a user created std::tm struct </purpose></method>
  68. <method name="localtime" specifiers="static"><type>std::tm *</type><parameter name="t"><paramtype>const std::time_t *</paramtype></parameter><parameter name="result"><paramtype>std::tm *</paramtype></parameter><purpose>requires a pointer to a user created std::tm struct </purpose></method>
  69. <method name="gmtime" specifiers="static"><type>std::tm *</type><parameter name="t"><paramtype>const std::time_t *</paramtype></parameter><parameter name="result"><paramtype>std::tm *</paramtype></parameter><purpose>requires a pointer to a user created std::tm struct </purpose></method>
  70. </method-group>
  71. </struct>
  72. </namespace>
  73. </namespace>
  74. </header>
  75. <header name="boost/date_time/compiler_config.hpp">
  76. <namespace name="std">
  77. </namespace>
  78. </header>
  79. <header name="boost/date_time/constrained_value.hpp">
  80. <namespace name="boost">
  81. <namespace name="CV">
  82. <class name="constrained_value"><template>
  83. <template-type-parameter name="value_policies"/>
  84. </template><purpose>A template to specify a constrained basic value type. </purpose><description><para>This template provides a quick way to generate an integer type with a constrained range. The type provides for the ability to specify the min, max, and and error handling policy.</para><para><emphasis role="bold">value policies</emphasis> A class that provides the range limits via the min and max functions as well as a function on_error that determines how errors are handled. A common strategy would be to assert or throw and exception. The on_error is passed both the current value and the new value that is in error. </para></description><typedef name="value_type"><type>value_policies::value_type</type></typedef>
  85. <method-group name="public member functions">
  86. <method name="conversion-operator" cv="const"><type>value_type</type><purpose>Coerce into the representation type. </purpose></method>
  87. </method-group>
  88. <constructor><parameter name="value"><paramtype>value_type</paramtype></parameter></constructor>
  89. <copy-assignment><type><classname>constrained_value</classname> &amp;</type><parameter name="v"><paramtype>value_type</paramtype></parameter></copy-assignment>
  90. <method-group name="public static functions">
  91. <method name="BOOST_PREVENT_MACRO_SUBSTITUTION" specifiers="static"><type>value_type max</type><purpose>Return the max allowed value (traits method) </purpose></method>
  92. <method name="BOOST_PREVENT_MACRO_SUBSTITUTION" specifiers="static"><type>value_type min</type><purpose>Return the min allowed value (traits method) </purpose></method>
  93. </method-group>
  94. <method-group name="private member functions">
  95. <method name="assign"><type>void</type><parameter name="value"><paramtype>value_type</paramtype></parameter></method>
  96. </method-group>
  97. </class><class name="simple_exception_policy"><template>
  98. <template-type-parameter name="rep_type"/>
  99. <template-nontype-parameter name="min_value"><type>rep_type</type></template-nontype-parameter>
  100. <template-nontype-parameter name="max_value"><type>rep_type</type></template-nontype-parameter>
  101. <template-type-parameter name="exception_type"/>
  102. </template><purpose>Template to shortcut the <classname alt="boost::CV::constrained_value">constrained_value</classname> policy creation process. </purpose><struct name="exception_wrapper"><inherit access="public">exception_type</inherit><method-group name="public member functions">
  103. <method name="conversion-operator" cv="const"><type>std::out_of_range</type></method>
  104. </method-group>
  105. </struct><typedef name="value_type"><type>rep_type</type></typedef>
  106. <method-group name="public static functions">
  107. <method name="BOOST_PREVENT_MACRO_SUBSTITUTION" specifiers="static"><type>rep_type min</type></method>
  108. <method name="BOOST_PREVENT_MACRO_SUBSTITUTION" specifiers="static"><type>rep_type max</type></method>
  109. <method name="on_error" specifiers="static"><type>void</type><parameter name=""><paramtype>rep_type</paramtype></parameter><parameter name=""><paramtype>rep_type</paramtype></parameter><parameter name=""><paramtype>violation_enum</paramtype></parameter></method>
  110. </method-group>
  111. </class><enum name="violation_enum"><enumvalue name="min_violation"/><enumvalue name="max_violation"/><purpose>Represent a min or max violation type. </purpose></enum>
  112. </namespace>
  113. </namespace>
  114. </header>
  115. <header name="boost/date_time/date.hpp">
  116. <namespace name="boost">
  117. <namespace name="date_time">
  118. <class name="date"><template>
  119. <template-type-parameter name="T"/>
  120. <template-type-parameter name="calendar"/>
  121. <template-type-parameter name="duration_type_"/>
  122. </template><inherit access="private">boost::less_than_comparable&lt; T, boost::equality_comparable&lt; T &gt; &gt;</inherit><purpose>Representation of timepoint at the one day level resolution. </purpose><description><para>The date template represents an interface shell for a date class that is based on a year-month-day system such as the gregorian or iso systems. It provides basic operations to enable calculation and comparisons.</para><para><emphasis role="bold">Theory</emphasis></para><para>This date representation fundamentally departs from the C tm struct approach. The goal for this type is to provide efficient date operations (add, subtract) and storage (minimize space to represent) in a concrete class. Thus, the date uses a count internally to represent a particular date. The calendar parameter defines the policies for converting the the year-month-day and internal counted form here. Applications that need to perform heavy formatting of the same date repeatedly will perform better by using the year-month-day representation.</para><para>Internally the date uses a day number to represent the date. This is a monotonic time representation. This representation allows for fast comparison as well as simplifying the creation of writing numeric operations. Essentially, the internal day number is like adjusted julian day. The adjustment is determined by the Epoch date which is represented as day 1 of the calendar. Day 0 is reserved for negative infinity so that any actual date is automatically greater than negative infinity. When a date is constructed from a date or formatted for output, the appropriate conversions are applied to create the year, month, day representations. </para></description><typedef name="date_type"><type>T</type></typedef>
  123. <typedef name="calendar_type"><type>calendar</type></typedef>
  124. <typedef name="traits_type"><type>calendar::date_traits_type</type></typedef>
  125. <typedef name="duration_type"><type>duration_type_</type></typedef>
  126. <typedef name="year_type"><type>calendar::year_type</type></typedef>
  127. <typedef name="month_type"><type>calendar::month_type</type></typedef>
  128. <typedef name="day_type"><type>calendar::day_type</type></typedef>
  129. <typedef name="ymd_type"><type>calendar::ymd_type</type></typedef>
  130. <typedef name="date_rep_type"><type>calendar::date_rep_type</type></typedef>
  131. <typedef name="date_int_type"><type>calendar::date_int_type</type></typedef>
  132. <typedef name="day_of_week_type"><type>calendar::day_of_week_type</type></typedef>
  133. <method-group name="public member functions">
  134. <method name="year" cv="const"><type>year_type</type></method>
  135. <method name="month" cv="const"><type>month_type</type></method>
  136. <method name="day" cv="const"><type>day_type</type></method>
  137. <method name="day_of_week" cv="const"><type>day_of_week_type</type></method>
  138. <method name="year_month_day" cv="const"><type>ymd_type</type></method>
  139. <method name="operator&lt;" cv="const"><type>bool</type><parameter name="rhs"><paramtype>const date_type &amp;</paramtype></parameter></method>
  140. <method name="operator==" cv="const"><type>bool</type><parameter name="rhs"><paramtype>const date_type &amp;</paramtype></parameter></method>
  141. <method name="is_special" cv="const"><type>bool</type><purpose>check to see if date is a special value </purpose></method>
  142. <method name="is_not_a_date" cv="const"><type>bool</type><purpose>check to see if date is not a value </purpose></method>
  143. <method name="is_infinity" cv="const"><type>bool</type><purpose>check to see if date is one of the infinity values </purpose></method>
  144. <method name="is_pos_infinity" cv="const"><type>bool</type><purpose>check to see if date is greater than all possible dates </purpose></method>
  145. <method name="is_neg_infinity" cv="const"><type>bool</type><purpose>check to see if date is greater than all possible dates </purpose></method>
  146. <method name="as_special" cv="const"><type>special_values</type><purpose>return as a special value or a not_special if a normal date </purpose></method>
  147. <method name="operator-" cv="const"><type>duration_type</type><parameter name="d"><paramtype>const date_type &amp;</paramtype></parameter></method>
  148. <method name="operator-" cv="const"><type>date_type</type><parameter name="dd"><paramtype>const duration_type &amp;</paramtype></parameter></method>
  149. <method name="operator-="><type>date_type</type><parameter name="dd"><paramtype>const duration_type &amp;</paramtype></parameter></method>
  150. <method name="day_count" cv="const"><type>date_rep_type</type></method>
  151. <method name="operator+" cv="const"><type>date_type</type><parameter name="dd"><paramtype>const duration_type &amp;</paramtype></parameter></method>
  152. <method name="operator+="><type>date_type</type><parameter name="dd"><paramtype>const duration_type &amp;</paramtype></parameter></method>
  153. </method-group>
  154. <constructor><parameter name="y"><paramtype>year_type</paramtype></parameter><parameter name="m"><paramtype>month_type</paramtype></parameter><parameter name="d"><paramtype>day_type</paramtype></parameter></constructor>
  155. <constructor><parameter name="ymd"><paramtype>const ymd_type &amp;</paramtype></parameter></constructor>
  156. <method-group name="protected member functions">
  157. </method-group>
  158. <constructor specifiers="explicit"><parameter name="days"><paramtype>date_int_type</paramtype></parameter><description><para>This is a private constructor which allows for the creation of new dates. It is not exposed to users since that would require class users to understand the inner workings of the date class. </para></description></constructor>
  159. <constructor specifiers="explicit"><parameter name="days"><paramtype>date_rep_type</paramtype></parameter></constructor>
  160. </class>
  161. </namespace>
  162. </namespace>
  163. </header>
  164. <header name="boost/date_time/date_clock_device.hpp">
  165. <namespace name="boost">
  166. <namespace name="date_time">
  167. <class name="day_clock"><template>
  168. <template-type-parameter name="date_type"/>
  169. </template><purpose>A clock providing day level services based on C time_t capabilities. </purpose><description><para>This clock uses Posix interfaces as its implementation and hence uses the timezone settings of the operating system. Incorrect user settings will result in incorrect results for the calls to local_day. </para></description><typedef name="ymd_type"><type>date_type::ymd_type</type></typedef>
  170. <method-group name="public static functions">
  171. <method name="local_day" specifiers="static"><type>date_type</type><purpose>Get the local day as a date type. </purpose></method>
  172. <method name="local_day_ymd" specifiers="static"><type>date_type::ymd_type</type><purpose>Get the local day as a ymd_type. </purpose></method>
  173. <method name="universal_day_ymd" specifiers="static"><type>date_type::ymd_type</type><purpose>Get the current day in universal date as a ymd_type. </purpose></method>
  174. <method name="universal_day" specifiers="static"><type>date_type</type><purpose>Get the UTC day as a date type. </purpose></method>
  175. </method-group>
  176. <method-group name="private static functions">
  177. <method name="get_local_time" specifiers="static"><type>::std::tm *</type><parameter name="result"><paramtype>std::tm &amp;</paramtype></parameter></method>
  178. <method name="get_universal_time" specifiers="static"><type>::std::tm *</type><parameter name="result"><paramtype>std::tm &amp;</paramtype></parameter></method>
  179. </method-group>
  180. </class>
  181. </namespace>
  182. </namespace>
  183. </header>
  184. <header name="boost/date_time/date_defs.hpp">
  185. <namespace name="boost">
  186. <namespace name="date_time">
  187. <enum name="weekdays"><enumvalue name="Sunday"/><enumvalue name="Monday"/><enumvalue name="Tuesday"/><enumvalue name="Wednesday"/><enumvalue name="Thursday"/><enumvalue name="Friday"/><enumvalue name="Saturday"/><purpose>An enumeration of weekday names. </purpose></enum>
  188. <enum name="months_of_year"><enumvalue name="Jan"><default>=1</default></enumvalue><enumvalue name="Feb"/><enumvalue name="Mar"/><enumvalue name="Apr"/><enumvalue name="May"/><enumvalue name="Jun"/><enumvalue name="Jul"/><enumvalue name="Aug"/><enumvalue name="Sep"/><enumvalue name="Oct"/><enumvalue name="Nov"/><enumvalue name="Dec"/><enumvalue name="NotAMonth"/><enumvalue name="NumMonths"/><purpose>Simple enum to allow for nice programming with Jan, Feb, etc. </purpose></enum>
  189. </namespace>
  190. </namespace>
  191. </header>
  192. <header name="boost/date_time/date_duration.hpp">
  193. <namespace name="boost">
  194. <namespace name="date_time">
  195. <class name="date_duration"><template>
  196. <template-type-parameter name="duration_rep_traits"/>
  197. </template><inherit access="private">boost::less_than_comparable1&lt; date_duration&lt; duration_rep_traits &gt;, boost::equality_comparable1&lt; date_duration&lt; duration_rep_traits &gt;, boost::addable1&lt; date_duration&lt; duration_rep_traits &gt;, boost::subtractable1&lt; date_duration&lt; duration_rep_traits &gt;, boost::dividable2&lt; date_duration&lt; duration_rep_traits &gt;, int &gt; &gt; &gt; &gt; &gt;</inherit><purpose>Duration type with date level resolution. </purpose><typedef name="duration_rep_type"><type>duration_rep_traits::int_type</type></typedef>
  198. <typedef name="duration_rep"><type>duration_rep_traits::impl_type</type></typedef>
  199. <method-group name="public member functions">
  200. <method name="get_rep" cv="const"><type>duration_rep</type><purpose>returns days_ as it's instantiated type - used for streaming </purpose></method>
  201. <method name="as_special" cv="const"><type>special_values</type></method>
  202. <method name="is_special" cv="const"><type>bool</type></method>
  203. <method name="days" cv="const"><type>duration_rep_type</type><purpose>returns days as value, not object. </purpose></method>
  204. <method name="operator==" cv="const"><type>bool</type><parameter name="rhs"><paramtype>const <classname>date_duration</classname> &amp;</paramtype></parameter><purpose>Equality. </purpose></method>
  205. <method name="operator&lt;" cv="const"><type>bool</type><parameter name="rhs"><paramtype>const <classname>date_duration</classname> &amp;</paramtype></parameter><purpose>Less. </purpose></method>
  206. <method name="operator-="><type><classname>date_duration</classname> &amp;</type><parameter name="rhs"><paramtype>const <classname>date_duration</classname> &amp;</paramtype></parameter><purpose>Subtract another duration – result is signed. </purpose></method>
  207. <method name="operator+="><type><classname>date_duration</classname> &amp;</type><parameter name="rhs"><paramtype>const <classname>date_duration</classname> &amp;</paramtype></parameter><purpose>Add a duration – result is signed. </purpose></method>
  208. <method name="operator-" cv="const"><type><classname>date_duration</classname></type><purpose>unary- Allows for dd = -date_duration(2); -&gt; dd == -2 </purpose></method>
  209. <method name="operator/="><type><classname>date_duration</classname> &amp;</type><parameter name="divisor"><paramtype>int</paramtype></parameter><purpose>Division operations on a duration with an integer. </purpose></method>
  210. <method name="is_negative" cv="const"><type>bool</type><purpose>return sign information </purpose></method>
  211. </method-group>
  212. <constructor specifiers="explicit"><parameter name="day_count"><paramtype>duration_rep</paramtype></parameter><purpose>Construct from a day count. </purpose></constructor>
  213. <constructor><parameter name="sv"><paramtype>special_values</paramtype></parameter><description><para>construct from special_values - only works when instantiated with <classname alt="boost::date_time::duration_traits_adapted">duration_traits_adapted</classname> </para></description></constructor>
  214. <constructor><parameter name="other"><paramtype>const <classname>date_duration</classname>&lt; duration_rep_traits &gt; &amp;</paramtype></parameter><purpose>Construct from another <classname alt="boost::date_time::date_duration">date_duration</classname> (Copy Constructor) </purpose></constructor>
  215. <method-group name="public static functions">
  216. <method name="unit" specifiers="static"><type><classname>date_duration</classname></type><purpose>Returns the smallest duration – used by to calculate 'end'. </purpose></method>
  217. </method-group>
  218. </class><struct name="duration_traits_adapted"><description><para>Struct for instantiating <classname alt="boost::date_time::date_duration">date_duration</classname> <emphasis role="bold">WITH</emphasis> special values functionality. Allows for transparent implementation of either date_duration&lt;long&gt; or <classname alt="boost::date_time::date_duration">date_duration</classname>&lt;int_adapter&lt;long&gt; &gt; </para></description><typedef name="int_type"><type>long</type></typedef>
  219. <typedef name="impl_type"><type><classname>boost::date_time::int_adapter</classname>&lt; long &gt;</type></typedef>
  220. <method-group name="public static functions">
  221. <method name="as_number" specifiers="static"><type>int_type</type><parameter name="i"><paramtype><classname>impl_type</classname></paramtype></parameter></method>
  222. </method-group>
  223. </struct><struct name="duration_traits_long"><description><para>Struct for instantiating <classname alt="boost::date_time::date_duration">date_duration</classname> with <emphasis role="bold">NO</emphasis> special values functionality. Allows for transparent implementation of either date_duration&lt;long&gt; or <classname alt="boost::date_time::date_duration">date_duration</classname>&lt;int_adapter&lt;long&gt; &gt; </para></description><typedef name="int_type"><type>long</type></typedef>
  224. <typedef name="impl_type"><type>long</type></typedef>
  225. <method-group name="public static functions">
  226. <method name="as_number" specifiers="static"><type>int_type</type><parameter name="i"><paramtype>impl_type</paramtype></parameter></method>
  227. </method-group>
  228. </struct>
  229. </namespace>
  230. </namespace>
  231. </header>
  232. <header name="boost/date_time/date_duration_types.hpp">
  233. <namespace name="boost">
  234. <namespace name="date_time">
  235. <class name="months_duration"><template>
  236. <template-type-parameter name="base_config"/>
  237. </template><purpose>additional duration type that represents a logical month </purpose><description><para>A logical month enables things like: "date(2002,Mar,2) + months(2) -&gt;
  238. 2002-May2". If the date is a last day-of-the-month, the result will also be a last-day-of-the-month. </para></description><method-group name="public member functions">
  239. <method name="number_of_months" cv="const"><type>int_rep</type></method>
  240. <method name="get_neg_offset" cv="const"><type>duration_type</type><parameter name="d"><paramtype>const date_type &amp;</paramtype></parameter><purpose>returns a negative duration </purpose></method>
  241. <method name="get_offset" cv="const"><type>duration_type</type><parameter name="d"><paramtype>const date_type &amp;</paramtype></parameter></method>
  242. <method name="operator==" cv="const"><type>bool</type><parameter name="rhs"><paramtype>const <classname>months_type</classname> &amp;</paramtype></parameter></method>
  243. <method name="operator!=" cv="const"><type>bool</type><parameter name="rhs"><paramtype>const <classname>months_type</classname> &amp;</paramtype></parameter></method>
  244. <method name="operator+" cv="const"><type><classname>months_type</classname></type><parameter name="rhs"><paramtype>const <classname>months_type</classname> &amp;</paramtype></parameter></method>
  245. <method name="operator+="><type><classname>months_type</classname> &amp;</type><parameter name="rhs"><paramtype>const <classname>months_type</classname> &amp;</paramtype></parameter></method>
  246. <method name="operator-" cv="const"><type><classname>months_type</classname></type><parameter name="rhs"><paramtype>const <classname>months_type</classname> &amp;</paramtype></parameter></method>
  247. <method name="operator-="><type><classname>months_type</classname> &amp;</type><parameter name="rhs"><paramtype>const <classname>months_type</classname> &amp;</paramtype></parameter></method>
  248. <method name="operator *" cv="const"><type><classname>months_type</classname></type><parameter name="rhs"><paramtype>const int_type</paramtype></parameter></method>
  249. <method name="operator *="><type><classname>months_type</classname> &amp;</type><parameter name="rhs"><paramtype>const int_type</paramtype></parameter></method>
  250. <method name="operator/" cv="const"><type><classname>months_type</classname></type><parameter name="rhs"><paramtype>const int_type</paramtype></parameter></method>
  251. <method name="operator/="><type><classname>months_type</classname> &amp;</type><parameter name="rhs"><paramtype>const int_type</paramtype></parameter></method>
  252. <method name="operator+" cv="const"><type><classname>months_type</classname></type><parameter name="y"><paramtype>const <classname>years_type</classname> &amp;</paramtype></parameter></method>
  253. <method name="operator+="><type><classname>months_type</classname> &amp;</type><parameter name="y"><paramtype>const <classname>years_type</classname> &amp;</paramtype></parameter></method>
  254. <method name="operator-" cv="const"><type><classname>months_type</classname></type><parameter name="y"><paramtype>const <classname>years_type</classname> &amp;</paramtype></parameter></method>
  255. <method name="operator-="><type><classname>months_type</classname> &amp;</type><parameter name="y"><paramtype>const <classname>years_type</classname> &amp;</paramtype></parameter></method>
  256. </method-group>
  257. <constructor><parameter name="num"><paramtype>int_rep</paramtype></parameter></constructor>
  258. <constructor><parameter name="sv"><paramtype>special_values</paramtype></parameter></constructor>
  259. </class><class name="weeks_duration"><template>
  260. <template-type-parameter name="duration_config"/>
  261. </template><inherit access="public">boost::date_time::date_duration&lt; duration_config &gt;</inherit><purpose>Additional duration type that represents a number of n*7 days. </purpose><method-group name="public member functions">
  262. </method-group>
  263. <constructor><parameter name="w"><paramtype>typename duration_config::impl_type</paramtype></parameter></constructor>
  264. <constructor><parameter name="sv"><paramtype>special_values</paramtype></parameter></constructor>
  265. </class><class name="years_duration"><template>
  266. <template-type-parameter name="base_config"/>
  267. </template><purpose>additional duration type that represents a logical year </purpose><description><para>A logical year enables things like: "date(2002,Mar,2) + years(2) -&gt;
  268. 2004-Mar-2". If the date is a last day-of-the-month, the result will also be a last-day-of-the-month (ie date(2001-Feb-28) + years(3) -&gt; 2004-Feb-29). </para></description><method-group name="public member functions">
  269. <method name="number_of_years" cv="const"><type>int_rep</type></method>
  270. <method name="get_neg_offset" cv="const"><type>duration_type</type><parameter name="d"><paramtype>const date_type &amp;</paramtype></parameter><purpose>returns a negative duration </purpose></method>
  271. <method name="get_offset" cv="const"><type>duration_type</type><parameter name="d"><paramtype>const date_type &amp;</paramtype></parameter></method>
  272. <method name="operator==" cv="const"><type>bool</type><parameter name="rhs"><paramtype>const <classname>years_type</classname> &amp;</paramtype></parameter></method>
  273. <method name="operator!=" cv="const"><type>bool</type><parameter name="rhs"><paramtype>const <classname>years_type</classname> &amp;</paramtype></parameter></method>
  274. <method name="operator+" cv="const"><type><classname>years_type</classname></type><parameter name="rhs"><paramtype>const <classname>years_type</classname> &amp;</paramtype></parameter></method>
  275. <method name="operator+="><type><classname>years_type</classname> &amp;</type><parameter name="rhs"><paramtype>const <classname>years_type</classname> &amp;</paramtype></parameter></method>
  276. <method name="operator-" cv="const"><type><classname>years_type</classname></type><parameter name="rhs"><paramtype>const <classname>years_type</classname> &amp;</paramtype></parameter></method>
  277. <method name="operator-="><type><classname>years_type</classname> &amp;</type><parameter name="rhs"><paramtype>const <classname>years_type</classname> &amp;</paramtype></parameter></method>
  278. <method name="operator *" cv="const"><type><classname>years_type</classname></type><parameter name="rhs"><paramtype>const int_type</paramtype></parameter></method>
  279. <method name="operator *="><type><classname>years_type</classname> &amp;</type><parameter name="rhs"><paramtype>const int_type</paramtype></parameter></method>
  280. <method name="operator/" cv="const"><type><classname>years_type</classname></type><parameter name="rhs"><paramtype>const int_type</paramtype></parameter></method>
  281. <method name="operator/="><type><classname>years_type</classname> &amp;</type><parameter name="rhs"><paramtype>const int_type</paramtype></parameter></method>
  282. <method name="operator+" cv="const"><type><classname>months_type</classname></type><parameter name="m"><paramtype>const <classname>months_type</classname> &amp;</paramtype></parameter></method>
  283. <method name="operator-" cv="const"><type><classname>months_type</classname></type><parameter name="m"><paramtype>const <classname>months_type</classname> &amp;</paramtype></parameter></method>
  284. </method-group>
  285. <constructor><parameter name="num"><paramtype>int_rep</paramtype></parameter></constructor>
  286. <constructor><parameter name="sv"><paramtype>special_values</paramtype></parameter></constructor>
  287. </class><data-member name="years_duration"><type>class BOOST_SYMBOL_VISIBLE</type></data-member>
  288. </namespace>
  289. </namespace>
  290. </header>
  291. <header name="boost/date_time/date_facet.hpp">
  292. <namespace name="boost">
  293. <namespace name="date_time">
  294. <class name="date_facet"><template>
  295. <template-type-parameter name="date_type"/>
  296. <template-type-parameter name="CharT"/>
  297. <template-type-parameter name="OutItrT"><default>std::ostreambuf_iterator&lt;CharT, std::char_traits&lt;CharT&gt; &gt;</default></template-type-parameter>
  298. </template><inherit access="public">facet</inherit><description><para>Class that provides format based I/O facet for date types.</para><para>This class allows the formatting of dates by using format string. Format strings are:</para><para><itemizedlist>
  299. <listitem><para>A =&gt; long_weekday_format - Full name Ex: Tuesday</para>
  300. </listitem><listitem><para>a =&gt; short_weekday_format - Three letter abbreviation Ex: Tue</para>
  301. </listitem><listitem><para>B =&gt; long_month_format - Full name Ex: October</para>
  302. </listitem><listitem><para>b =&gt; short_month_format - Three letter abbreviation Ex: Oct</para>
  303. </listitem><listitem><para>x =&gt; standard_format_specifier - defined by the locale</para>
  304. </listitem><listitem><para>Y-b-d =&gt; default_date_format - YYYY-Mon-dd</para>
  305. </listitem></itemizedlist>
  306. </para><para>Default month format == b Default weekday format == a </para></description><typedef name="duration_type"><type>date_type::duration_type</type></typedef>
  307. <typedef name="day_of_week_type"><type>date_type::day_of_week_type</type></typedef>
  308. <typedef name="day_type"><type>date_type::day_type</type></typedef>
  309. <typedef name="month_type"><type>date_type::month_type</type></typedef>
  310. <typedef name="period_type"><type><classname>boost::date_time::period</classname>&lt; date_type, duration_type &gt;</type></typedef>
  311. <typedef name="string_type"><type>std::basic_string&lt; CharT &gt;</type></typedef>
  312. <typedef name="char_type"><type>CharT</type></typedef>
  313. <typedef name="period_formatter_type"><type><classname>boost::date_time::period_formatter</classname>&lt; CharT &gt;</type></typedef>
  314. <typedef name="special_values_formatter_type"><type><classname>boost::date_time::special_values_formatter</classname>&lt; CharT &gt;</type></typedef>
  315. <typedef name="input_collection_type"><type>std::vector&lt; std::basic_string&lt; CharT &gt; &gt;</type></typedef>
  316. <typedef name="date_gen_formatter_type"><type><classname>date_generator_formatter</classname>&lt; date_type, CharT &gt;</type></typedef>
  317. <typedef name="partial_date_type"><type><classname>partial_date</classname>&lt; date_type &gt;</type></typedef>
  318. <typedef name="nth_kday_type"><type><classname>nth_kday_of_month</classname>&lt; date_type &gt;</type></typedef>
  319. <typedef name="first_kday_type"><type><classname>first_kday_of_month</classname>&lt; date_type &gt;</type></typedef>
  320. <typedef name="last_kday_type"><type><classname>last_kday_of_month</classname>&lt; date_type &gt;</type></typedef>
  321. <typedef name="kday_after_type"><type><classname>first_kday_after</classname>&lt; date_type &gt;</type></typedef>
  322. <typedef name="kday_before_type"><type><classname>first_kday_before</classname>&lt; date_type &gt;</type></typedef>
  323. <data-member name="long_weekday_format" specifiers="static"><type>const char_type</type></data-member>
  324. <data-member name="short_weekday_format" specifiers="static"><type>const char_type</type></data-member>
  325. <data-member name="long_month_format" specifiers="static"><type>const char_type</type></data-member>
  326. <data-member name="short_month_format" specifiers="static"><type>const char_type</type></data-member>
  327. <data-member name="default_period_separator" specifiers="static"><type>const char_type</type></data-member>
  328. <data-member name="standard_format_specifier" specifiers="static"><type>const char_type</type></data-member>
  329. <data-member name="iso_format_specifier" specifiers="static"><type>const char_type</type></data-member>
  330. <data-member name="iso_format_extended_specifier" specifiers="static"><type>const char_type</type></data-member>
  331. <data-member name="default_date_format" specifiers="static"><type>const char_type</type></data-member>
  332. <data-member name="id" specifiers="static"><type>std::locale::id</type></data-member>
  333. <method-group name="public member functions">
  334. <method name="__get_id" cv="const"><type>std::locale::id &amp;</type><parameter name=""><paramtype>void</paramtype></parameter></method>
  335. <method name="format"><type>void</type><parameter name="format_str"><paramtype>const char_type *const</paramtype></parameter></method>
  336. <method name="set_iso_format" specifiers="virtual"><type>void</type></method>
  337. <method name="set_iso_extended_format" specifiers="virtual"><type>void</type></method>
  338. <method name="month_format"><type>void</type><parameter name="format_str"><paramtype>const char_type *const</paramtype></parameter></method>
  339. <method name="weekday_format"><type>void</type><parameter name="format_str"><paramtype>const char_type *const</paramtype></parameter></method>
  340. <method name="period_formatter"><type>void</type><parameter name="per_formatter"><paramtype><classname>period_formatter_type</classname></paramtype></parameter></method>
  341. <method name="special_values_formatter"><type>void</type><parameter name="svf"><paramtype>const <classname>special_values_formatter_type</classname> &amp;</paramtype></parameter></method>
  342. <method name="short_weekday_names"><type>void</type><parameter name="short_names"><paramtype>const input_collection_type &amp;</paramtype></parameter></method>
  343. <method name="long_weekday_names"><type>void</type><parameter name="long_names"><paramtype>const input_collection_type &amp;</paramtype></parameter></method>
  344. <method name="short_month_names"><type>void</type><parameter name="short_names"><paramtype>const input_collection_type &amp;</paramtype></parameter></method>
  345. <method name="long_month_names"><type>void</type><parameter name="long_names"><paramtype>const input_collection_type &amp;</paramtype></parameter></method>
  346. <method name="date_gen_phrase_strings"><type>void</type><parameter name="new_strings"><paramtype>const input_collection_type &amp;</paramtype></parameter><parameter name="beg_pos"><paramtype>typename date_gen_formatter_type::phrase_elements</paramtype><default>date_gen_formatter_type::first</default></parameter></method>
  347. <method name="put" cv="const"><type>OutItrT</type><parameter name="next"><paramtype>OutItrT</paramtype></parameter><parameter name="a_ios"><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="fill_char"><paramtype>char_type</paramtype></parameter><parameter name="d"><paramtype>const date_type &amp;</paramtype></parameter></method>
  348. <method name="put" cv="const"><type>OutItrT</type><parameter name="next"><paramtype>OutItrT</paramtype></parameter><parameter name="a_ios"><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="fill_char"><paramtype>char_type</paramtype></parameter><parameter name="dd"><paramtype>const duration_type &amp;</paramtype></parameter></method>
  349. <method name="put" cv="const"><type>OutItrT</type><parameter name="next"><paramtype>OutItrT</paramtype></parameter><parameter name="a_ios"><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="fill_char"><paramtype>char_type</paramtype></parameter><parameter name="m"><paramtype>const month_type &amp;</paramtype></parameter></method>
  350. <method name="put" cv="const"><type>OutItrT</type><parameter name="next"><paramtype>OutItrT</paramtype></parameter><parameter name="a_ios"><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="fill_char"><paramtype>char_type</paramtype></parameter><parameter name="day"><paramtype>const day_type &amp;</paramtype></parameter><purpose>puts the day of month </purpose></method>
  351. <method name="put" cv="const"><type>OutItrT</type><parameter name="next"><paramtype>OutItrT</paramtype></parameter><parameter name="a_ios"><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="fill_char"><paramtype>char_type</paramtype></parameter><parameter name="dow"><paramtype>const day_of_week_type &amp;</paramtype></parameter></method>
  352. <method name="put" cv="const"><type>OutItrT</type><parameter name="next"><paramtype>OutItrT</paramtype></parameter><parameter name="a_ios"><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="fill_char"><paramtype>char_type</paramtype></parameter><parameter name="p"><paramtype>const <classname>period_type</classname> &amp;</paramtype></parameter></method>
  353. <method name="put" cv="const"><type>OutItrT</type><parameter name="next"><paramtype>OutItrT</paramtype></parameter><parameter name="a_ios"><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="fill_char"><paramtype>char_type</paramtype></parameter><parameter name="pd"><paramtype>const <classname>partial_date_type</classname> &amp;</paramtype></parameter></method>
  354. <method name="put" cv="const"><type>OutItrT</type><parameter name="next"><paramtype>OutItrT</paramtype></parameter><parameter name="a_ios"><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="fill_char"><paramtype>char_type</paramtype></parameter><parameter name="nkd"><paramtype>const <classname>nth_kday_type</classname> &amp;</paramtype></parameter></method>
  355. <method name="put" cv="const"><type>OutItrT</type><parameter name="next"><paramtype>OutItrT</paramtype></parameter><parameter name="a_ios"><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="fill_char"><paramtype>char_type</paramtype></parameter><parameter name="fkd"><paramtype>const <classname>first_kday_type</classname> &amp;</paramtype></parameter></method>
  356. <method name="put" cv="const"><type>OutItrT</type><parameter name="next"><paramtype>OutItrT</paramtype></parameter><parameter name="a_ios"><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="fill_char"><paramtype>char_type</paramtype></parameter><parameter name="lkd"><paramtype>const <classname>last_kday_type</classname> &amp;</paramtype></parameter></method>
  357. <method name="put" cv="const"><type>OutItrT</type><parameter name="next"><paramtype>OutItrT</paramtype></parameter><parameter name="a_ios"><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="fill_char"><paramtype>char_type</paramtype></parameter><parameter name="fkb"><paramtype>const <classname>kday_before_type</classname> &amp;</paramtype></parameter></method>
  358. <method name="put" cv="const"><type>OutItrT</type><parameter name="next"><paramtype>OutItrT</paramtype></parameter><parameter name="a_ios"><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="fill_char"><paramtype>char_type</paramtype></parameter><parameter name="fka"><paramtype>const <classname>kday_after_type</classname> &amp;</paramtype></parameter></method>
  359. </method-group>
  360. <constructor specifiers="explicit"><parameter name="a_ref"><paramtype>::size_t</paramtype><default>0</default></parameter></constructor>
  361. <constructor specifiers="explicit"><parameter name="format_str"><paramtype>const char_type *</paramtype></parameter><parameter name="short_names"><paramtype>const input_collection_type &amp;</paramtype></parameter><parameter name="ref_count"><paramtype>::size_t</paramtype><default>0</default></parameter></constructor>
  362. <constructor specifiers="explicit"><parameter name="format_str"><paramtype>const char_type *</paramtype></parameter><parameter name="per_formatter"><paramtype><classname>period_formatter_type</classname></paramtype><default><classname alt="boost::date_time::period_formatter">period_formatter_type</classname>()</default></parameter><parameter name="sv_formatter"><paramtype><classname>special_values_formatter_type</classname></paramtype><default><classname alt="boost::date_time::special_values_formatter">special_values_formatter_type</classname>()</default></parameter><parameter name="dg_formatter"><paramtype><classname>date_gen_formatter_type</classname></paramtype><default><classname alt="boost::date_time::date_generator_formatter">date_gen_formatter_type</classname>()</default></parameter><parameter name="ref_count"><paramtype>::size_t</paramtype><default>0</default></parameter></constructor>
  363. <method-group name="protected member functions">
  364. <method name="do_put_special" cv="const" specifiers="virtual"><type>OutItrT</type><parameter name="next"><paramtype>OutItrT</paramtype></parameter><parameter name=""><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name=""><paramtype>char_type</paramtype></parameter><parameter name="sv"><paramtype>const boost::date_time::special_values</paramtype></parameter></method>
  365. <method name="do_put_tm" cv="const" specifiers="virtual"><type>OutItrT</type><parameter name="next"><paramtype>OutItrT</paramtype></parameter><parameter name="a_ios"><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="fill_char"><paramtype>char_type</paramtype></parameter><parameter name="tm_value"><paramtype>const tm &amp;</paramtype></parameter><parameter name="a_format"><paramtype>string_type</paramtype></parameter></method>
  366. </method-group>
  367. </class><class name="date_input_facet"><template>
  368. <template-type-parameter name="date_type"/>
  369. <template-type-parameter name="CharT"/>
  370. <template-type-parameter name="InItrT"><default>std::istreambuf_iterator&lt;CharT, std::char_traits&lt;CharT&gt; &gt;</default></template-type-parameter>
  371. </template><inherit access="public">facet</inherit><purpose>Input facet. </purpose><typedef name="duration_type"><type>date_type::duration_type</type></typedef>
  372. <typedef name="day_of_week_type"><type>date_type::day_of_week_type</type></typedef>
  373. <typedef name="day_type"><type>date_type::day_type</type></typedef>
  374. <typedef name="month_type"><type>date_type::month_type</type></typedef>
  375. <typedef name="year_type"><type>date_type::year_type</type></typedef>
  376. <typedef name="period_type"><type><classname>boost::date_time::period</classname>&lt; date_type, duration_type &gt;</type></typedef>
  377. <typedef name="string_type"><type>std::basic_string&lt; CharT &gt;</type></typedef>
  378. <typedef name="char_type"><type>CharT</type></typedef>
  379. <typedef name="period_parser_type"><type><classname>boost::date_time::period_parser</classname>&lt; date_type, CharT &gt;</type></typedef>
  380. <typedef name="special_values_parser_type"><type><classname>boost::date_time::special_values_parser</classname>&lt; date_type, CharT &gt;</type></typedef>
  381. <typedef name="input_collection_type"><type>std::vector&lt; std::basic_string&lt; CharT &gt; &gt;</type></typedef>
  382. <typedef name="format_date_parser_type"><type><classname>format_date_parser</classname>&lt; date_type, CharT &gt;</type></typedef>
  383. <typedef name="date_gen_parser_type"><type><classname>date_generator_parser</classname>&lt; date_type, CharT &gt;</type></typedef>
  384. <typedef name="partial_date_type"><type><classname>partial_date</classname>&lt; date_type &gt;</type></typedef>
  385. <typedef name="nth_kday_type"><type><classname>nth_kday_of_month</classname>&lt; date_type &gt;</type></typedef>
  386. <typedef name="first_kday_type"><type><classname>first_kday_of_month</classname>&lt; date_type &gt;</type></typedef>
  387. <typedef name="last_kday_type"><type><classname>last_kday_of_month</classname>&lt; date_type &gt;</type></typedef>
  388. <typedef name="kday_after_type"><type><classname>first_kday_after</classname>&lt; date_type &gt;</type></typedef>
  389. <typedef name="kday_before_type"><type><classname>first_kday_before</classname>&lt; date_type &gt;</type></typedef>
  390. <data-member name="long_weekday_format" specifiers="static"><type>const char_type</type></data-member>
  391. <data-member name="short_weekday_format" specifiers="static"><type>const char_type</type></data-member>
  392. <data-member name="long_month_format" specifiers="static"><type>const char_type</type></data-member>
  393. <data-member name="short_month_format" specifiers="static"><type>const char_type</type></data-member>
  394. <data-member name="four_digit_year_format" specifiers="static"><type>const char_type</type></data-member>
  395. <data-member name="two_digit_year_format" specifiers="static"><type>const char_type</type></data-member>
  396. <data-member name="default_period_separator" specifiers="static"><type>const char_type</type></data-member>
  397. <data-member name="standard_format_specifier" specifiers="static"><type>const char_type</type></data-member>
  398. <data-member name="iso_format_specifier" specifiers="static"><type>const char_type</type></data-member>
  399. <data-member name="iso_format_extended_specifier" specifiers="static"><type>const char_type</type></data-member>
  400. <data-member name="default_date_format" specifiers="static"><type>const char_type</type></data-member>
  401. <data-member name="id" specifiers="static"><type>std::locale::id</type></data-member>
  402. <method-group name="public member functions">
  403. <method name="format"><type>void</type><parameter name="format_str"><paramtype>const char_type *const</paramtype></parameter></method>
  404. <method name="set_iso_format" specifiers="virtual"><type>void</type></method>
  405. <method name="set_iso_extended_format" specifiers="virtual"><type>void</type></method>
  406. <method name="month_format"><type>void</type><parameter name="format_str"><paramtype>const char_type *const</paramtype></parameter></method>
  407. <method name="weekday_format"><type>void</type><parameter name="format_str"><paramtype>const char_type *const</paramtype></parameter></method>
  408. <method name="year_format"><type>void</type><parameter name="format_str"><paramtype>const char_type *const</paramtype></parameter></method>
  409. <method name="period_parser"><type>void</type><parameter name="per_parser"><paramtype><classname>period_parser_type</classname></paramtype></parameter></method>
  410. <method name="short_weekday_names"><type>void</type><parameter name="weekday_names"><paramtype>const input_collection_type &amp;</paramtype></parameter></method>
  411. <method name="long_weekday_names"><type>void</type><parameter name="weekday_names"><paramtype>const input_collection_type &amp;</paramtype></parameter></method>
  412. <method name="short_month_names"><type>void</type><parameter name="month_names"><paramtype>const input_collection_type &amp;</paramtype></parameter></method>
  413. <method name="long_month_names"><type>void</type><parameter name="month_names"><paramtype>const input_collection_type &amp;</paramtype></parameter></method>
  414. <method name="date_gen_element_strings"><type>void</type><parameter name="col"><paramtype>const input_collection_type &amp;</paramtype></parameter></method>
  415. <method name="date_gen_element_strings"><type>void</type><parameter name="first"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="second"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="third"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="fourth"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="fifth"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="last"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="before"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="after"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="of"><paramtype>const string_type &amp;</paramtype></parameter></method>
  416. <method name="special_values_parser"><type>void</type><parameter name="sv_parser"><paramtype><classname>special_values_parser_type</classname></paramtype></parameter></method>
  417. <method name="get" cv="const"><type>InItrT</type><parameter name="from"><paramtype>InItrT &amp;</paramtype></parameter><parameter name="to"><paramtype>InItrT &amp;</paramtype></parameter><parameter name=""><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="d"><paramtype>date_type &amp;</paramtype></parameter></method>
  418. <method name="get" cv="const"><type>InItrT</type><parameter name="from"><paramtype>InItrT &amp;</paramtype></parameter><parameter name="to"><paramtype>InItrT &amp;</paramtype></parameter><parameter name=""><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="m"><paramtype>month_type &amp;</paramtype></parameter></method>
  419. <method name="get" cv="const"><type>InItrT</type><parameter name="from"><paramtype>InItrT &amp;</paramtype></parameter><parameter name="to"><paramtype>InItrT &amp;</paramtype></parameter><parameter name=""><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="wd"><paramtype>day_of_week_type &amp;</paramtype></parameter></method>
  420. <method name="get" cv="const"><type>InItrT</type><parameter name="from"><paramtype>InItrT &amp;</paramtype></parameter><parameter name="to"><paramtype>InItrT &amp;</paramtype></parameter><parameter name=""><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="d"><paramtype>day_type &amp;</paramtype></parameter><purpose>Expects 1 or 2 digit day range: 1-31. </purpose></method>
  421. <method name="get" cv="const"><type>InItrT</type><parameter name="from"><paramtype>InItrT &amp;</paramtype></parameter><parameter name="to"><paramtype>InItrT &amp;</paramtype></parameter><parameter name=""><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="y"><paramtype>year_type &amp;</paramtype></parameter></method>
  422. <method name="get" cv="const"><type>InItrT</type><parameter name="from"><paramtype>InItrT &amp;</paramtype></parameter><parameter name="to"><paramtype>InItrT &amp;</paramtype></parameter><parameter name="a_ios"><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="dd"><paramtype>duration_type &amp;</paramtype></parameter></method>
  423. <method name="get" cv="const"><type>InItrT</type><parameter name="from"><paramtype>InItrT &amp;</paramtype></parameter><parameter name="to"><paramtype>InItrT &amp;</paramtype></parameter><parameter name="a_ios"><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="p"><paramtype><classname>period_type</classname> &amp;</paramtype></parameter></method>
  424. <method name="get" cv="const"><type>InItrT</type><parameter name="from"><paramtype>InItrT &amp;</paramtype></parameter><parameter name="to"><paramtype>InItrT &amp;</paramtype></parameter><parameter name="a_ios"><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="nkd"><paramtype><classname>nth_kday_type</classname> &amp;</paramtype></parameter></method>
  425. <method name="get" cv="const"><type>InItrT</type><parameter name="from"><paramtype>InItrT &amp;</paramtype></parameter><parameter name="to"><paramtype>InItrT &amp;</paramtype></parameter><parameter name="a_ios"><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="pd"><paramtype><classname>partial_date_type</classname> &amp;</paramtype></parameter></method>
  426. <method name="get" cv="const"><type>InItrT</type><parameter name="from"><paramtype>InItrT &amp;</paramtype></parameter><parameter name="to"><paramtype>InItrT &amp;</paramtype></parameter><parameter name="a_ios"><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="fkd"><paramtype><classname>first_kday_type</classname> &amp;</paramtype></parameter></method>
  427. <method name="get" cv="const"><type>InItrT</type><parameter name="from"><paramtype>InItrT &amp;</paramtype></parameter><parameter name="to"><paramtype>InItrT &amp;</paramtype></parameter><parameter name="a_ios"><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="lkd"><paramtype><classname>last_kday_type</classname> &amp;</paramtype></parameter></method>
  428. <method name="get" cv="const"><type>InItrT</type><parameter name="from"><paramtype>InItrT &amp;</paramtype></parameter><parameter name="to"><paramtype>InItrT &amp;</paramtype></parameter><parameter name="a_ios"><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="fkb"><paramtype><classname>kday_before_type</classname> &amp;</paramtype></parameter></method>
  429. <method name="get" cv="const"><type>InItrT</type><parameter name="from"><paramtype>InItrT &amp;</paramtype></parameter><parameter name="to"><paramtype>InItrT &amp;</paramtype></parameter><parameter name="a_ios"><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="fka"><paramtype><classname>kday_after_type</classname> &amp;</paramtype></parameter></method>
  430. </method-group>
  431. <constructor specifiers="explicit"><parameter name="a_ref"><paramtype>::size_t</paramtype><default>0</default></parameter></constructor>
  432. <constructor specifiers="explicit"><parameter name="format_str"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="a_ref"><paramtype>::size_t</paramtype><default>0</default></parameter></constructor>
  433. <constructor specifiers="explicit"><parameter name="format_str"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="date_parser"><paramtype>const <classname>format_date_parser_type</classname> &amp;</paramtype></parameter><parameter name="sv_parser"><paramtype>const <classname>special_values_parser_type</classname> &amp;</paramtype></parameter><parameter name="per_parser"><paramtype>const <classname>period_parser_type</classname> &amp;</paramtype></parameter><parameter name="date_gen_parser"><paramtype>const <classname>date_gen_parser_type</classname> &amp;</paramtype></parameter><parameter name="ref_count"><paramtype>::size_t</paramtype><default>0</default></parameter></constructor>
  434. </class>
  435. </namespace>
  436. </namespace>
  437. </header>
  438. <header name="boost/date_time/date_format_simple.hpp">
  439. <namespace name="boost">
  440. <namespace name="date_time">
  441. <class name="simple_format"><template>
  442. <template-type-parameter name="charT"/>
  443. </template><purpose>Class to provide simple basic formatting rules. </purpose><method-group name="public static functions">
  444. <method name="not_a_date" specifiers="static"><type>const charT *</type><purpose>String used printed is date is invalid. </purpose></method>
  445. <method name="pos_infinity" specifiers="static"><type>const charT *</type><purpose>String used to for positive infinity value. </purpose></method>
  446. <method name="neg_infinity" specifiers="static"><type>const charT *</type><purpose>String used to for positive infinity value. </purpose></method>
  447. <method name="month_format" specifiers="static"><type>month_format_spec</type><purpose>Describe month format. </purpose></method>
  448. <method name="date_order" specifiers="static"><type>ymd_order_spec</type></method>
  449. <method name="has_date_sep_chars" specifiers="static"><type>bool</type><purpose>This format uses '-' to separate date elements. </purpose></method>
  450. <method name="year_sep_char" specifiers="static"><type>charT</type><purpose>Char to sep? </purpose></method>
  451. <method name="month_sep_char" specifiers="static"><type>charT</type><purpose>char between year-month </purpose></method>
  452. <method name="day_sep_char" specifiers="static"><type>charT</type><purpose>Char to separate month-day. </purpose></method>
  453. <method name="hour_sep_char" specifiers="static"><type>charT</type><purpose>char between date-hours </purpose></method>
  454. <method name="minute_sep_char" specifiers="static"><type>charT</type><purpose>char between hour and minute </purpose></method>
  455. <method name="second_sep_char" specifiers="static"><type>charT</type><purpose>char for second </purpose></method>
  456. </method-group>
  457. </class><class-specialization name="simple_format"><template>
  458. </template><specialization><template-arg>wchar_t</template-arg></specialization><purpose>Specialization of formmating rules for wchar_t. </purpose><method-group name="public static functions">
  459. <method name="not_a_date" specifiers="static"><type>const wchar_t *</type><purpose>String used printed is date is invalid. </purpose></method>
  460. <method name="pos_infinity" specifiers="static"><type>const wchar_t *</type><purpose>String used to for positive infinity value. </purpose></method>
  461. <method name="neg_infinity" specifiers="static"><type>const wchar_t *</type><purpose>String used to for positive infinity value. </purpose></method>
  462. <method name="month_format" specifiers="static"><type>month_format_spec</type><purpose>Describe month format. </purpose></method>
  463. <method name="date_order" specifiers="static"><type>ymd_order_spec</type></method>
  464. <method name="has_date_sep_chars" specifiers="static"><type>bool</type><purpose>This format uses '-' to separate date elements. </purpose></method>
  465. <method name="year_sep_char" specifiers="static"><type>wchar_t</type><purpose>Char to sep? </purpose></method>
  466. <method name="month_sep_char" specifiers="static"><type>wchar_t</type><purpose>char between year-month </purpose></method>
  467. <method name="day_sep_char" specifiers="static"><type>wchar_t</type><purpose>Char to separate month-day. </purpose></method>
  468. <method name="hour_sep_char" specifiers="static"><type>wchar_t</type><purpose>char between date-hours </purpose></method>
  469. <method name="minute_sep_char" specifiers="static"><type>wchar_t</type><purpose>char between hour and minute </purpose></method>
  470. <method name="second_sep_char" specifiers="static"><type>wchar_t</type><purpose>char for second </purpose></method>
  471. </method-group>
  472. </class-specialization>
  473. </namespace>
  474. </namespace>
  475. </header>
  476. <header name="boost/date_time/date_formatting.hpp">
  477. <namespace name="boost">
  478. <namespace name="date_time">
  479. </namespace>
  480. </namespace>
  481. </header>
  482. <header name="boost/date_time/date_formatting_limited.hpp">
  483. <namespace name="boost">
  484. <namespace name="date_time">
  485. <class name="date_formatter"><template>
  486. <template-type-parameter name="date_type"/>
  487. <template-type-parameter name="format_type"/>
  488. </template><purpose>Convert a date to string using format policies. </purpose><method-group name="public static functions">
  489. <method name="date_to_string" specifiers="static"><type>std::string</type><parameter name="d"><paramtype>date_type</paramtype></parameter><purpose>Convert to a date to standard string using format policies. </purpose></method>
  490. <method name="date_to_string" specifiers="static"><type>string_type</type><parameter name="d"><paramtype>date_type</paramtype></parameter><purpose>Convert to a date to standard string using format policies. </purpose></method>
  491. </method-group>
  492. </class><class name="month_formatter"><template>
  493. <template-type-parameter name="month_type"/>
  494. <template-type-parameter name="format_type"/>
  495. </template><purpose>Formats a month as as string into an ostream. </purpose><method-group name="public static functions">
  496. <method name="format_month" specifiers="static"><type>std::ostream &amp;</type><parameter name="month"><paramtype>const month_type &amp;</paramtype></parameter><parameter name="os"><paramtype>std::ostream &amp;</paramtype></parameter><purpose>Formats a month as as string into an ostream. </purpose><description><para>This function demands that month_type provide functions for converting to short and long strings if that capability is used. </para></description></method>
  497. <method name="format_month" specifiers="static"><type>ostream_type &amp;</type><parameter name="month"><paramtype>const month_type &amp;</paramtype></parameter><parameter name="os"><paramtype>ostream_type &amp;</paramtype></parameter><purpose>Formats a month as as string into an ostream. </purpose><description><para>This function demands that month_type provide functions for converting to short and long strings if that capability is used. </para></description></method>
  498. </method-group>
  499. </class><class name="ymd_formatter"><template>
  500. <template-type-parameter name="ymd_type"/>
  501. <template-type-parameter name="format_type"/>
  502. </template><purpose>Convert ymd to a standard string formatting policies. </purpose><method-group name="public static functions">
  503. <method name="ymd_to_string" specifiers="static"><type>std::string</type><parameter name="ymd"><paramtype>ymd_type</paramtype></parameter><purpose>Convert ymd to a standard string formatting policies. </purpose><description><para>This is standard code for handling date formatting with year-month-day based date information. This function uses the format_type to control whether the string will contain separator characters, and if so what the character will be. In addtion, it can format the month as either an integer or a string as controled by the formatting policy </para></description></method>
  504. <method name="ymd_to_string" specifiers="static"><type>std::basic_string&lt; charT &gt;</type><parameter name="ymd"><paramtype>ymd_type</paramtype></parameter><purpose>Convert ymd to a standard string formatting policies. </purpose><description><para>This is standard code for handling date formatting with year-month-day based date information. This function uses the format_type to control whether the string will contain separator characters, and if so what the character will be. In addtion, it can format the month as either an integer or a string as controled by the formatting policy </para></description></method>
  505. </method-group>
  506. </class>
  507. </namespace>
  508. </namespace>
  509. </header>
  510. <header name="boost/date_time/date_formatting_locales.hpp">
  511. <namespace name="boost">
  512. <namespace name="date_time">
  513. <class name="ostream_date_formatter"><template>
  514. <template-type-parameter name="date_type"/>
  515. <template-type-parameter name="facet_type"/>
  516. <template-type-parameter name="charT"><default>char</default></template-type-parameter>
  517. </template><purpose>Convert a date to string using format policies. </purpose><typedef name="ostream_type"><type>std::basic_ostream&lt; charT &gt;</type></typedef>
  518. <typedef name="ymd_type"><type>date_type::ymd_type</type></typedef>
  519. <method-group name="public static functions">
  520. <method name="date_put" specifiers="static"><type>void</type><parameter name="d"><paramtype>const date_type &amp;</paramtype></parameter><parameter name="os"><paramtype>ostream_type &amp;</paramtype></parameter><parameter name="f"><paramtype>const facet_type &amp;</paramtype></parameter><purpose>Put date into an ostream. </purpose></method>
  521. <method name="date_put" specifiers="static"><type>void</type><parameter name="d"><paramtype>const date_type &amp;</paramtype></parameter><parameter name="os"><paramtype>ostream_type &amp;</paramtype></parameter><purpose>Put date into an ostream. </purpose></method>
  522. </method-group>
  523. </class><class name="ostream_month_formatter"><template>
  524. <template-type-parameter name="facet_type"/>
  525. <template-type-parameter name="charT"><default>char</default></template-type-parameter>
  526. </template><purpose>Formats a month as as string into an ostream. </purpose><typedef name="month_type"><type>facet_type::month_type</type></typedef>
  527. <typedef name="ostream_type"><type>std::basic_ostream&lt; charT &gt;</type></typedef>
  528. <method-group name="public static functions">
  529. <method name="format_month" specifiers="static"><type>void</type><parameter name="month"><paramtype>const month_type &amp;</paramtype></parameter><parameter name="os"><paramtype>ostream_type &amp;</paramtype></parameter><parameter name="f"><paramtype>const facet_type &amp;</paramtype></parameter><purpose>Formats a month as as string into an output iterator. </purpose></method>
  530. </method-group>
  531. </class><class name="ostream_weekday_formatter"><template>
  532. <template-type-parameter name="weekday_type"/>
  533. <template-type-parameter name="facet_type"/>
  534. <template-type-parameter name="charT"><default>char</default></template-type-parameter>
  535. </template><purpose>Formats a weekday. </purpose><typedef name="month_type"><type>facet_type::month_type</type></typedef>
  536. <typedef name="ostream_type"><type>std::basic_ostream&lt; charT &gt;</type></typedef>
  537. <method-group name="public static functions">
  538. <method name="format_weekday" specifiers="static"><type>void</type><parameter name="wd"><paramtype>const weekday_type &amp;</paramtype></parameter><parameter name="os"><paramtype>ostream_type &amp;</paramtype></parameter><parameter name="f"><paramtype>const facet_type &amp;</paramtype></parameter><parameter name="as_long_string"><paramtype>bool</paramtype></parameter><purpose>Formats a month as as string into an output iterator. </purpose></method>
  539. </method-group>
  540. </class><class name="ostream_ymd_formatter"><template>
  541. <template-type-parameter name="ymd_type"/>
  542. <template-type-parameter name="facet_type"/>
  543. <template-type-parameter name="charT"><default>char</default></template-type-parameter>
  544. </template><purpose>Convert ymd to a standard string formatting policies. </purpose><typedef name="month_type"><type>ymd_type::month_type</type></typedef>
  545. <typedef name="month_formatter_type"><type><classname>ostream_month_formatter</classname>&lt; facet_type, charT &gt;</type></typedef>
  546. <typedef name="ostream_type"><type>std::basic_ostream&lt; charT &gt;</type></typedef>
  547. <typedef name="foo_type"><type>std::basic_string&lt; charT &gt;</type></typedef>
  548. <method-group name="public static functions">
  549. <method name="ymd_put" specifiers="static"><type>void</type><parameter name="ymd"><paramtype>ymd_type</paramtype></parameter><parameter name="os"><paramtype>ostream_type &amp;</paramtype></parameter><parameter name="f"><paramtype>const facet_type &amp;</paramtype></parameter><purpose>Convert ymd to a standard string formatting policies. </purpose><description><para>This is standard code for handling date formatting with year-month-day based date information. This function uses the format_type to control whether the string will contain separator characters, and if so what the character will be. In addtion, it can format the month as either an integer or a string as controled by the formatting policy </para></description></method>
  550. </method-group>
  551. </class>
  552. </namespace>
  553. </namespace>
  554. </header>
  555. <header name="boost/date_time/date_generator_formatter.hpp">
  556. <namespace name="boost">
  557. <namespace name="date_time">
  558. <class name="date_generator_formatter"><template>
  559. <template-type-parameter name="date_type"/>
  560. <template-type-parameter name="CharT"/>
  561. <template-type-parameter name="OutItrT"><default>std::ostreambuf_iterator&lt;CharT, std::char_traits&lt;CharT&gt; &gt;</default></template-type-parameter>
  562. </template><purpose>Formats date_generators for output. </purpose><description><para>Formatting of date_generators follows specific orders for the various types of date_generators.<itemizedlist>
  563. <listitem><para><classname alt="boost::date_time::partial_date">partial_date</classname> =&gt; "dd Month"</para>
  564. </listitem><listitem><para>nth_day_of_the_week_in_month =&gt; "nth weekday of month"</para>
  565. </listitem><listitem><para>first_day_of_the_week_in_month =&gt; "first weekday of month"</para>
  566. </listitem><listitem><para>last_day_of_the_week_in_month =&gt; "last weekday of month"</para>
  567. </listitem><listitem><para>first_day_of_the_week_after =&gt; "weekday after"</para>
  568. </listitem><listitem><para>first_day_of_the_week_before =&gt; "weekday before" While the order of the elements in these phrases cannot be changed, the elements themselves can be. Weekday and Month get their formats and names from the <classname alt="boost::date_time::date_facet">date_facet</classname>. The remaining elements are stored in the <classname alt="boost::date_time::date_generator_formatter">date_generator_formatter</classname> and can be customized upon construction or via a member function. The default elements are those shown in the examples above. </para>
  569. </listitem></itemizedlist>
  570. </para></description><enum name="phrase_elements"><enumvalue name="first"><default>=0</default></enumvalue><enumvalue name="second"/><enumvalue name="third"/><enumvalue name="fourth"/><enumvalue name="fifth"/><enumvalue name="last"/><enumvalue name="before"/><enumvalue name="after"/><enumvalue name="of"/><enumvalue name="number_of_phrase_elements"/></enum>
  571. <typedef name="partial_date_type"><type><classname>partial_date</classname>&lt; date_type &gt;</type></typedef>
  572. <typedef name="nth_kday_type"><type><classname>nth_kday_of_month</classname>&lt; date_type &gt;</type></typedef>
  573. <typedef name="first_kday_type"><type><classname>first_kday_of_month</classname>&lt; date_type &gt;</type></typedef>
  574. <typedef name="last_kday_type"><type><classname>last_kday_of_month</classname>&lt; date_type &gt;</type></typedef>
  575. <typedef name="kday_after_type"><type><classname>first_kday_after</classname>&lt; date_type &gt;</type></typedef>
  576. <typedef name="kday_before_type"><type><classname>first_kday_before</classname>&lt; date_type &gt;</type></typedef>
  577. <typedef name="char_type"><type>CharT</type></typedef>
  578. <typedef name="string_type"><type>std::basic_string&lt; char_type &gt;</type></typedef>
  579. <typedef name="collection_type"><type>std::vector&lt; string_type &gt;</type></typedef>
  580. <data-member name="first_string" specifiers="static"><type>const char_type</type></data-member>
  581. <data-member name="second_string" specifiers="static"><type>const char_type</type></data-member>
  582. <data-member name="third_string" specifiers="static"><type>const char_type</type></data-member>
  583. <data-member name="fourth_string" specifiers="static"><type>const char_type</type></data-member>
  584. <data-member name="fifth_string" specifiers="static"><type>const char_type</type></data-member>
  585. <data-member name="last_string" specifiers="static"><type>const char_type</type></data-member>
  586. <data-member name="before_string" specifiers="static"><type>const char_type</type></data-member>
  587. <data-member name="after_string" specifiers="static"><type>const char_type</type></data-member>
  588. <data-member name="of_string" specifiers="static"><type>const char_type</type></data-member>
  589. <method-group name="public member functions">
  590. <method name="elements"><type>void</type><parameter name="new_strings"><paramtype>const collection_type &amp;</paramtype></parameter><parameter name="beg_pos"><paramtype>phrase_elements</paramtype><default>first</default></parameter><purpose>Replace the set of phrase elements with those contained in new_strings. </purpose><description><para>The order of the strings in the given collection is important. They must follow:<itemizedlist>
  591. <listitem><para>first, second, third, fourth, fifth, last, before, after, of.</para>
  592. </listitem></itemizedlist>
  593. </para><para>It is not necessary to send in a complete set if only a few elements are to be replaced as long as the correct beg_pos is used.</para><para>Ex: To keep the default first through fifth elements, but replace the rest with a collection of:<itemizedlist>
  594. <listitem><para>"final", "prior", "following", "in". The beg_pos of date_generator_formatter::last would be used. </para>
  595. </listitem></itemizedlist>
  596. </para></description></method>
  597. <method name="put_partial_date" cv="const"><type>OutItrT</type><template>
  598. <template-type-parameter name="facet_type"/>
  599. </template><parameter name="next"><paramtype>OutItrT</paramtype></parameter><parameter name="a_ios"><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="a_fill"><paramtype>CharT</paramtype></parameter><parameter name="pd"><paramtype>const <classname>partial_date_type</classname> &amp;</paramtype></parameter><parameter name="facet"><paramtype>const facet_type &amp;</paramtype></parameter><purpose>Put a <classname alt="boost::date_time::partial_date">partial_date</classname> =&gt; "dd Month". </purpose></method>
  600. <method name="put_nth_kday" cv="const"><type>OutItrT</type><template>
  601. <template-type-parameter name="facet_type"/>
  602. </template><parameter name="next"><paramtype>OutItrT</paramtype></parameter><parameter name="a_ios"><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="a_fill"><paramtype>CharT</paramtype></parameter><parameter name="nkd"><paramtype>const <classname>nth_kday_type</classname> &amp;</paramtype></parameter><parameter name="facet"><paramtype>const facet_type &amp;</paramtype></parameter><purpose>Put an nth_day_of_the_week_in_month =&gt; "nth weekday of month". </purpose></method>
  603. <method name="put_first_kday" cv="const"><type>OutItrT</type><template>
  604. <template-type-parameter name="facet_type"/>
  605. </template><parameter name="next"><paramtype>OutItrT</paramtype></parameter><parameter name="a_ios"><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="a_fill"><paramtype>CharT</paramtype></parameter><parameter name="fkd"><paramtype>const <classname>first_kday_type</classname> &amp;</paramtype></parameter><parameter name="facet"><paramtype>const facet_type &amp;</paramtype></parameter><purpose>Put a first_day_of_the_week_in_month =&gt; "first weekday of month". </purpose></method>
  606. <method name="put_last_kday" cv="const"><type>OutItrT</type><template>
  607. <template-type-parameter name="facet_type"/>
  608. </template><parameter name="next"><paramtype>OutItrT</paramtype></parameter><parameter name="a_ios"><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="a_fill"><paramtype>CharT</paramtype></parameter><parameter name="lkd"><paramtype>const <classname>last_kday_type</classname> &amp;</paramtype></parameter><parameter name="facet"><paramtype>const facet_type &amp;</paramtype></parameter><purpose>Put a last_day_of_the_week_in_month =&gt; "last weekday of month". </purpose></method>
  609. <method name="put_kday_before" cv="const"><type>OutItrT</type><template>
  610. <template-type-parameter name="facet_type"/>
  611. </template><parameter name="next"><paramtype>OutItrT</paramtype></parameter><parameter name="a_ios"><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="a_fill"><paramtype>CharT</paramtype></parameter><parameter name="fkb"><paramtype>const <classname>kday_before_type</classname> &amp;</paramtype></parameter><parameter name="facet"><paramtype>const facet_type &amp;</paramtype></parameter><purpose>Put a first_day_of_the_week_before =&gt; "weekday before". </purpose></method>
  612. <method name="put_kday_after" cv="const"><type>OutItrT</type><template>
  613. <template-type-parameter name="facet_type"/>
  614. </template><parameter name="next"><paramtype>OutItrT</paramtype></parameter><parameter name="a_ios"><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="a_fill"><paramtype>CharT</paramtype></parameter><parameter name="fka"><paramtype>const <classname>kday_after_type</classname> &amp;</paramtype></parameter><parameter name="facet"><paramtype>const facet_type &amp;</paramtype></parameter><purpose>Put a first_day_of_the_week_after =&gt; "weekday after". </purpose></method>
  615. </method-group>
  616. <constructor><purpose>Default format elements used. </purpose></constructor>
  617. <constructor><parameter name="first_str"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="second_str"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="third_str"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="fourth_str"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="fifth_str"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="last_str"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="before_str"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="after_str"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="of_str"><paramtype>const string_type &amp;</paramtype></parameter><purpose>Constructor that allows for a custom set of phrase elements. </purpose></constructor>
  618. <method-group name="private member functions">
  619. <method name="put_string" cv="const"><type>OutItrT</type><parameter name="next"><paramtype>OutItrT</paramtype></parameter><parameter name="str"><paramtype>const string_type &amp;</paramtype></parameter><purpose>helper function to put the various member string into stream </purpose></method>
  620. </method-group>
  621. </class>
  622. </namespace>
  623. </namespace>
  624. </header>
  625. <header name="boost/date_time/date_generator_parser.hpp">
  626. <namespace name="boost">
  627. <namespace name="date_time">
  628. <class name="date_generator_parser"><template>
  629. <template-type-parameter name="date_type"/>
  630. <template-type-parameter name="charT"/>
  631. </template><purpose>Class for date_generator parsing. </purpose><description><para>The elements of a date_generator "phrase" are parsed from the input stream in a particular order. All elements are required and the order in which they appear cannot change, however, the elements themselves can be changed. The default elements and their order are as follows:</para><para><itemizedlist>
  632. <listitem><para><classname alt="boost::date_time::partial_date">partial_date</classname> =&gt; "dd Month"</para>
  633. </listitem><listitem><para>nth_day_of_the_week_in_month =&gt; "nth weekday of month"</para>
  634. </listitem><listitem><para>first_day_of_the_week_in_month =&gt; "first weekday of month"</para>
  635. </listitem><listitem><para>last_day_of_the_week_in_month =&gt; "last weekday of month"</para>
  636. </listitem><listitem><para>first_day_of_the_week_after =&gt; "weekday after"</para>
  637. </listitem><listitem><para>first_day_of_the_week_before =&gt; "weekday before"</para>
  638. </listitem></itemizedlist>
  639. </para><para>Weekday and Month names and formats are handled via the <classname alt="boost::date_time::date_input_facet">date_input_facet</classname>. </para></description><enum name="phrase_elements"><enumvalue name="first"><default>=0</default></enumvalue><enumvalue name="second"/><enumvalue name="third"/><enumvalue name="fourth"/><enumvalue name="fifth"/><enumvalue name="last"/><enumvalue name="before"/><enumvalue name="after"/><enumvalue name="of"/><enumvalue name="number_of_phrase_elements"/></enum>
  640. <typedef name="string_type"><type>std::basic_string&lt; charT &gt;</type></typedef>
  641. <typedef name="stream_itr_type"><type>std::istreambuf_iterator&lt; charT &gt;</type></typedef>
  642. <typedef name="month_type"><type>date_type::month_type</type></typedef>
  643. <typedef name="day_of_week_type"><type>date_type::day_of_week_type</type></typedef>
  644. <typedef name="day_type"><type>date_type::day_type</type></typedef>
  645. <typedef name="parse_tree_type"><type><classname>string_parse_tree</classname>&lt; charT &gt;</type></typedef>
  646. <typedef name="match_results"><type><classname>parse_tree_type::parse_match_result_type</classname></type></typedef>
  647. <typedef name="collection_type"><type>std::vector&lt; std::basic_string&lt; charT &gt; &gt;</type></typedef>
  648. <typedef name="partial_date_type"><type><classname>partial_date</classname>&lt; date_type &gt;</type></typedef>
  649. <typedef name="nth_kday_type"><type><classname>nth_kday_of_month</classname>&lt; date_type &gt;</type></typedef>
  650. <typedef name="first_kday_type"><type><classname>first_kday_of_month</classname>&lt; date_type &gt;</type></typedef>
  651. <typedef name="last_kday_type"><type><classname>last_kday_of_month</classname>&lt; date_type &gt;</type></typedef>
  652. <typedef name="kday_after_type"><type><classname>first_kday_after</classname>&lt; date_type &gt;</type></typedef>
  653. <typedef name="kday_before_type"><type><classname>first_kday_before</classname>&lt; date_type &gt;</type></typedef>
  654. <typedef name="char_type"><type>charT</type></typedef>
  655. <data-member name="first_string" specifiers="static"><type>const char_type</type></data-member>
  656. <data-member name="second_string" specifiers="static"><type>const char_type</type></data-member>
  657. <data-member name="third_string" specifiers="static"><type>const char_type</type></data-member>
  658. <data-member name="fourth_string" specifiers="static"><type>const char_type</type></data-member>
  659. <data-member name="fifth_string" specifiers="static"><type>const char_type</type></data-member>
  660. <data-member name="last_string" specifiers="static"><type>const char_type</type></data-member>
  661. <data-member name="before_string" specifiers="static"><type>const char_type</type></data-member>
  662. <data-member name="after_string" specifiers="static"><type>const char_type</type></data-member>
  663. <data-member name="of_string" specifiers="static"><type>const char_type</type></data-member>
  664. <method-group name="public member functions">
  665. <method name="element_strings"><type>void</type><parameter name="first_str"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="second_str"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="third_str"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="fourth_str"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="fifth_str"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="last_str"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="before_str"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="after_str"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="of_str"><paramtype>const string_type &amp;</paramtype></parameter><purpose>Replace strings that determine nth week for generator. </purpose></method>
  666. <method name="element_strings"><type>void</type><parameter name="col"><paramtype>const collection_type &amp;</paramtype></parameter></method>
  667. <method name="get_partial_date_type" cv="const"><type><classname>partial_date_type</classname></type><template>
  668. <template-type-parameter name="facet_type"/>
  669. </template><parameter name="sitr"><paramtype>stream_itr_type &amp;</paramtype></parameter><parameter name="stream_end"><paramtype>stream_itr_type &amp;</paramtype></parameter><parameter name="a_ios"><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="facet"><paramtype>const facet_type &amp;</paramtype></parameter><purpose>returns <classname alt="boost::date_time::partial_date">partial_date</classname> parsed from stream </purpose></method>
  670. <method name="get_nth_kday_type" cv="const"><type><classname>nth_kday_type</classname></type><template>
  671. <template-type-parameter name="facet_type"/>
  672. </template><parameter name="sitr"><paramtype>stream_itr_type &amp;</paramtype></parameter><parameter name="stream_end"><paramtype>stream_itr_type &amp;</paramtype></parameter><parameter name="a_ios"><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="facet"><paramtype>const facet_type &amp;</paramtype></parameter><purpose>returns nth_kday_of_week parsed from stream </purpose></method>
  673. <method name="get_first_kday_type" cv="const"><type><classname>first_kday_type</classname></type><template>
  674. <template-type-parameter name="facet_type"/>
  675. </template><parameter name="sitr"><paramtype>stream_itr_type &amp;</paramtype></parameter><parameter name="stream_end"><paramtype>stream_itr_type &amp;</paramtype></parameter><parameter name="a_ios"><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="facet"><paramtype>const facet_type &amp;</paramtype></parameter><purpose>returns first_kday_of_week parsed from stream </purpose></method>
  676. <method name="get_last_kday_type" cv="const"><type><classname>last_kday_type</classname></type><template>
  677. <template-type-parameter name="facet_type"/>
  678. </template><parameter name="sitr"><paramtype>stream_itr_type &amp;</paramtype></parameter><parameter name="stream_end"><paramtype>stream_itr_type &amp;</paramtype></parameter><parameter name="a_ios"><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="facet"><paramtype>const facet_type &amp;</paramtype></parameter><purpose>returns last_kday_of_week parsed from stream </purpose></method>
  679. <method name="get_kday_before_type" cv="const"><type><classname>kday_before_type</classname></type><template>
  680. <template-type-parameter name="facet_type"/>
  681. </template><parameter name="sitr"><paramtype>stream_itr_type &amp;</paramtype></parameter><parameter name="stream_end"><paramtype>stream_itr_type &amp;</paramtype></parameter><parameter name="a_ios"><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="facet"><paramtype>const facet_type &amp;</paramtype></parameter><purpose>returns first_kday_of_week parsed from stream </purpose></method>
  682. <method name="get_kday_after_type" cv="const"><type><classname>kday_after_type</classname></type><template>
  683. <template-type-parameter name="facet_type"/>
  684. </template><parameter name="sitr"><paramtype>stream_itr_type &amp;</paramtype></parameter><parameter name="stream_end"><paramtype>stream_itr_type &amp;</paramtype></parameter><parameter name="a_ios"><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="facet"><paramtype>const facet_type &amp;</paramtype></parameter><purpose>returns first_kday_of_week parsed from stream </purpose></method>
  685. </method-group>
  686. <constructor><purpose>Creates a <classname alt="boost::date_time::date_generator_parser">date_generator_parser</classname> with the default set of "element_strings". </purpose></constructor>
  687. <constructor><parameter name="first_str"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="second_str"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="third_str"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="fourth_str"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="fifth_str"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="last_str"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="before_str"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="after_str"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="of_str"><paramtype>const string_type &amp;</paramtype></parameter><purpose>Creates a <classname alt="boost::date_time::date_generator_parser">date_generator_parser</classname> using a user defined set of element strings. </purpose></constructor>
  688. <method-group name="private member functions">
  689. <method name="extract_element" cv="const"><type>void</type><parameter name="sitr"><paramtype>stream_itr_type &amp;</paramtype></parameter><parameter name="stream_end"><paramtype>stream_itr_type &amp;</paramtype></parameter><parameter name="ele"><paramtype>typename date_generator_parser::phrase_elements</paramtype></parameter><purpose>Extracts phrase element from input. Throws ios_base::failure on error. </purpose></method>
  690. </method-group>
  691. </class>
  692. </namespace>
  693. </namespace>
  694. </header>
  695. <header name="boost/date_time/date_generators.hpp">
  696. <para>Definition and implementation of date algorithm templates </para><namespace name="boost">
  697. <namespace name="date_time">
  698. <class name="first_kday_after"><template>
  699. <template-type-parameter name="date_type"/>
  700. </template><purpose>Calculate something like "First Sunday after Jan 1,2002. </purpose><description><para>Date generator that takes a date and finds kday after <programlisting language="c++">typedef boost::date_time::first_kday_after&lt;date&gt; firstkdayafter;
  701. firstkdayafter fkaf(Monday);
  702. fkaf.get_date(date(2002,Feb,1));
  703. </programlisting> </para></description><typedef name="calendar_type"><type>date_type::calendar_type</type></typedef>
  704. <typedef name="day_of_week_type"><type>calendar_type::day_of_week_type</type></typedef>
  705. <typedef name="duration_type"><type>date_type::duration_type</type></typedef>
  706. <method-group name="public member functions">
  707. <method name="get_date" cv="const"><type>date_type</type><parameter name="start_day"><paramtype>date_type</paramtype></parameter><purpose>Return next kday given. </purpose></method>
  708. <method name="day_of_week" cv="const"><type>day_of_week_type</type></method>
  709. </method-group>
  710. <constructor><parameter name="dow"><paramtype>day_of_week_type</paramtype></parameter></constructor>
  711. </class><class name="first_kday_before"><template>
  712. <template-type-parameter name="date_type"/>
  713. </template><purpose>Calculate something like "First Sunday before Jan 1,2002. </purpose><description><para>Date generator that takes a date and finds kday after <programlisting language="c++">typedef boost::date_time::first_kday_before&lt;date&gt; firstkdaybefore;
  714. firstkdaybefore fkbf(Monday);
  715. fkbf.get_date(date(2002,Feb,1));
  716. </programlisting> </para></description><typedef name="calendar_type"><type>date_type::calendar_type</type></typedef>
  717. <typedef name="day_of_week_type"><type>calendar_type::day_of_week_type</type></typedef>
  718. <typedef name="duration_type"><type>date_type::duration_type</type></typedef>
  719. <method-group name="public member functions">
  720. <method name="get_date" cv="const"><type>date_type</type><parameter name="start_day"><paramtype>date_type</paramtype></parameter><purpose>Return next kday given. </purpose></method>
  721. <method name="day_of_week" cv="const"><type>day_of_week_type</type></method>
  722. </method-group>
  723. <constructor><parameter name="dow"><paramtype>day_of_week_type</paramtype></parameter></constructor>
  724. </class><class name="first_kday_of_month"><template>
  725. <template-type-parameter name="date_type"/>
  726. </template><inherit access="public">boost::date_time::year_based_generator&lt; date_type &gt;</inherit><purpose>Useful generator functor for finding holidays and daylight savings. </purpose><description><para>Similar to <classname alt="boost::date_time::nth_kday_of_month">nth_kday_of_month</classname>, but requires less paramters </para></description><typedef name="calendar_type"><type>date_type::calendar_type</type></typedef>
  727. <typedef name="day_of_week_type"><type>calendar_type::day_of_week_type</type></typedef>
  728. <typedef name="month_type"><type>calendar_type::month_type</type></typedef>
  729. <typedef name="year_type"><type>calendar_type::year_type</type></typedef>
  730. <typedef name="duration_type"><type>date_type::duration_type</type></typedef>
  731. <method-group name="public member functions">
  732. <method name="get_date" cv="const" specifiers="virtual"><type>date_type</type><parameter name="year"><paramtype>year_type</paramtype></parameter><purpose>Return a concrete date when provided with a year specific year. </purpose></method>
  733. <method name="month" cv="const"><type>month_type</type></method>
  734. <method name="day_of_week" cv="const"><type>day_of_week_type</type></method>
  735. <method name="to_string" cv="const" specifiers="virtual"><type>std::string</type><purpose>Returns string suitable for use in POSIX time zone string. </purpose><description><para>Returns a string formatted as "M4.1.0" ==&gt; 1st Sunday in April. </para></description></method>
  736. </method-group>
  737. <constructor><parameter name="dow"><paramtype>day_of_week_type</paramtype><description><para>The day of week, eg: Sunday, Monday, etc </para></description></parameter><parameter name="m"><paramtype>month_type</paramtype><description><para>The month of the year, eg: Jan, Feb, Mar, etc </para></description></parameter><purpose>Specify the first 'Sunday' in 'April' spec. </purpose><description><para>
  738. </para></description></constructor>
  739. </class><class name="last_kday_of_month"><template>
  740. <template-type-parameter name="date_type"><purpose><para>A date class that exports day_of_week, month_type, etc. </para></purpose></template-type-parameter>
  741. </template><inherit access="public">boost::date_time::year_based_generator&lt; date_type &gt;</inherit><purpose>Calculate something like Last Sunday of January. </purpose><description><para>Useful generator functor for finding holidays and daylight savings Get the last day of the month and then calculate the difference to the last previous day.
  742. </para></description><typedef name="calendar_type"><type>date_type::calendar_type</type></typedef>
  743. <typedef name="day_of_week_type"><type>calendar_type::day_of_week_type</type></typedef>
  744. <typedef name="month_type"><type>calendar_type::month_type</type></typedef>
  745. <typedef name="year_type"><type>calendar_type::year_type</type></typedef>
  746. <typedef name="duration_type"><type>date_type::duration_type</type></typedef>
  747. <method-group name="public member functions">
  748. <method name="get_date" cv="const" specifiers="virtual"><type>date_type</type><parameter name="year"><paramtype>year_type</paramtype></parameter><purpose>Return a concrete date when provided with a year specific year. </purpose></method>
  749. <method name="month" cv="const"><type>month_type</type></method>
  750. <method name="day_of_week" cv="const"><type>day_of_week_type</type></method>
  751. <method name="to_string" cv="const" specifiers="virtual"><type>std::string</type><purpose>Returns string suitable for use in POSIX time zone string. </purpose><description><para>Returns a string formatted as "M4.5.0" ==&gt; last Sunday in April. </para></description></method>
  752. </method-group>
  753. <constructor><parameter name="dow"><paramtype>day_of_week_type</paramtype><description><para>The day of week, eg: Sunday, Monday, etc </para></description></parameter><parameter name="m"><paramtype>month_type</paramtype><description><para>The month of the year, eg: Jan, Feb, Mar, etc </para></description></parameter><purpose>Specify the date spec like last 'Sunday' in 'April' spec. </purpose><description><para>
  754. </para></description></constructor>
  755. </class><class name="nth_kday_of_month"><template>
  756. <template-type-parameter name="date_type"/>
  757. </template><inherit access="public">boost::date_time::year_based_generator&lt; date_type &gt;</inherit><purpose>Useful generator functor for finding holidays. </purpose><description><para>Based on the idea in Cal. Calc. for finding holidays that are the 'first Monday of September'. When instantiated with 'fifth' kday of month, the result will be the last kday of month which can be the fourth or fifth depending on the structure of the month.</para><para>The algorithm here basically guesses for the first day of the month. Then finds the first day of the correct type. That is, if the first of the month is a Tuesday and it needs Wenesday then we simply increment by a day and then we can add the length of a week until we get to the 'nth kday'. There are probably more efficient algorithms based on using a mod 7, but this one works reasonably well for basic applications. </para></description><enum name="week_num"><enumvalue name="first"><default>=1</default></enumvalue><enumvalue name="second"/><enumvalue name="third"/><enumvalue name="fourth"/><enumvalue name="fifth"/></enum>
  758. <typedef name="calendar_type"><type>date_type::calendar_type</type></typedef>
  759. <typedef name="day_of_week_type"><type>calendar_type::day_of_week_type</type></typedef>
  760. <typedef name="month_type"><type>calendar_type::month_type</type></typedef>
  761. <typedef name="year_type"><type>calendar_type::year_type</type></typedef>
  762. <typedef name="duration_type"><type>date_type::duration_type</type></typedef>
  763. <method-group name="public member functions">
  764. <method name="get_date" cv="const" specifiers="virtual"><type>date_type</type><parameter name="y"><paramtype>year_type</paramtype></parameter><purpose>Return a concrete date when provided with a year specific year. </purpose></method>
  765. <method name="month" cv="const"><type>month_type</type></method>
  766. <method name="nth_week" cv="const"><type>week_num</type></method>
  767. <method name="day_of_week" cv="const"><type>day_of_week_type</type></method>
  768. <method name="nth_week_as_str" cv="const"><type>const char *</type></method>
  769. <method name="to_string" cv="const" specifiers="virtual"><type>std::string</type><purpose>Returns string suitable for use in POSIX time zone string. </purpose><description><para>Returns a string formatted as "M4.3.0" ==&gt; 3rd Sunday in April. </para></description></method>
  770. </method-group>
  771. <constructor><parameter name="week_no"><paramtype>week_num</paramtype></parameter><parameter name="dow"><paramtype>day_of_week_type</paramtype></parameter><parameter name="m"><paramtype>month_type</paramtype></parameter></constructor>
  772. </class><class name="partial_date"><template>
  773. <template-type-parameter name="date_type"/>
  774. </template><inherit access="public">boost::date_time::year_based_generator&lt; date_type &gt;</inherit><purpose>Generates a date by applying the year to the given month and day. </purpose><description><para>Example usage: <programlisting language="c++">partial_date pd(1, Jan);
  775. partial_date pd2(70);
  776. date d = pd.get_date(2002); //2002-Jan-01
  777. date d2 = pd2.get_date(2002); //2002-Mar-10
  778. </programlisting> </para></description><typedef name="calendar_type"><type>date_type::calendar_type</type></typedef>
  779. <typedef name="day_type"><type>calendar_type::day_type</type></typedef>
  780. <typedef name="month_type"><type>calendar_type::month_type</type></typedef>
  781. <typedef name="year_type"><type>calendar_type::year_type</type></typedef>
  782. <typedef name="duration_type"><type>date_type::duration_type</type></typedef>
  783. <typedef name="duration_rep"><type>duration_type::duration_rep</type></typedef>
  784. <method-group name="public member functions">
  785. <method name="get_date" cv="const" specifiers="virtual"><type>date_type</type><parameter name="y"><paramtype>year_type</paramtype></parameter><purpose>Return a concrete date when provided with a year specific year. </purpose><description><para>Will throw an 'invalid_argument' exception if a <classname alt="boost::date_time::partial_date">partial_date</classname> object, instantiated with Feb-29, has get_date called with a non-leap year. Example: <programlisting language="c++">partial_date pd(29, Feb);
  786. pd.get_date(2003); // throws invalid_argument exception
  787. pg.get_date(2000); // returns 2000-2-29
  788. </programlisting> </para></description></method>
  789. <method name="operator()" cv="const"><type>date_type</type><parameter name="y"><paramtype>year_type</paramtype></parameter></method>
  790. <method name="operator==" cv="const"><type>bool</type><parameter name="rhs"><paramtype>const <classname>partial_date</classname> &amp;</paramtype></parameter></method>
  791. <method name="operator&lt;" cv="const"><type>bool</type><parameter name="rhs"><paramtype>const <classname>partial_date</classname> &amp;</paramtype></parameter></method>
  792. <method name="month" cv="const"><type>month_type</type></method>
  793. <method name="day" cv="const"><type>day_type</type></method>
  794. <method name="to_string" cv="const" specifiers="virtual"><type>std::string</type><purpose>Returns string suitable for use in POSIX time zone string. </purpose><description><para>Returns string formatted with up to 3 digits: Jan-01 == "0" Feb-29 == "58" Dec-31 == "365" </para></description></method>
  795. </method-group>
  796. <constructor><parameter name="d"><paramtype>day_type</paramtype></parameter><parameter name="m"><paramtype>month_type</paramtype></parameter></constructor>
  797. <constructor><parameter name="days"><paramtype>duration_rep</paramtype></parameter><purpose>Partial date created from number of days into year. Range 1-366. </purpose><description><para>Allowable values range from 1 to 366. 1=Jan1, 366=Dec31. If argument exceeds range, <classname alt="boost::date_time::partial_date">partial_date</classname> will be created with closest in-range value. 60 will always be Feb29, if get_date() is called with a non-leap year an exception will be thrown </para></description></constructor>
  798. </class><class name="year_based_generator"><template>
  799. <template-type-parameter name="date_type"><purpose><para>The type representing a date. This type must export a calender_type which defines a year_type. </para></purpose></template-type-parameter>
  800. </template><purpose>Base class for all generators that take a year and produce a date. </purpose><description><para>This class is a base class for polymorphic function objects that take a year and produce a concrete date.
  801. </para></description><typedef name="calendar_type"><type>date_type::calendar_type</type></typedef>
  802. <typedef name="year_type"><type>calendar_type::year_type</type></typedef>
  803. <method-group name="public member functions">
  804. <method name="get_date" cv="const = 0" specifiers="virtual"><type>date_type</type><parameter name="y"><paramtype>year_type</paramtype></parameter></method>
  805. <method name="to_string" cv="const = 0" specifiers="virtual"><type>std::string</type><purpose>Returns a string for use in a POSIX time_zone string. </purpose></method>
  806. </method-group>
  807. <constructor/>
  808. <destructor/>
  809. </class>
  810. <function name="nth_as_str"><type>BOOST_DATE_TIME_DECL const char *</type><parameter name="n"><paramtype>int</paramtype></parameter><purpose>Returns nth arg as string. 1 -&gt; "first", 2 -&gt; "second", max is 5. </purpose></function>
  811. <function name="days_until_weekday"><type>date_type::duration_type</type><template>
  812. <template-type-parameter name="date_type"/>
  813. <template-type-parameter name="weekday_type"/>
  814. </template><parameter name="d"><paramtype>const date_type &amp;</paramtype></parameter><parameter name="wd"><paramtype>const weekday_type &amp;</paramtype></parameter><purpose>Calculates the number of days until the next weekday. </purpose><description><para>Calculates the number of days until the next weekday. If the date given falls on a Sunday and the given weekday is Tuesday the result will be 2 days </para></description></function>
  815. <function name="days_before_weekday"><type>date_type::duration_type</type><template>
  816. <template-type-parameter name="date_type"/>
  817. <template-type-parameter name="weekday_type"/>
  818. </template><parameter name="d"><paramtype>const date_type &amp;</paramtype></parameter><parameter name="wd"><paramtype>const weekday_type &amp;</paramtype></parameter><purpose>Calculates the number of days since the previous weekday. </purpose><description><para>Calculates the number of days since the previous weekday If the date given falls on a Sunday and the given weekday is Tuesday the result will be 5 days. The answer will be a positive number because Tuesday is 5 days before Sunday, not -5 days before. </para></description></function>
  819. <function name="next_weekday"><type>date_type</type><template>
  820. <template-type-parameter name="date_type"/>
  821. <template-type-parameter name="weekday_type"/>
  822. </template><parameter name="d"><paramtype>const date_type &amp;</paramtype></parameter><parameter name="wd"><paramtype>const weekday_type &amp;</paramtype></parameter><purpose>Generates a date object representing the date of the following weekday from the given date. </purpose><description><para>Generates a date object representing the date of the following weekday from the given date. If the date given is 2004-May-9 (a Sunday) and the given weekday is Tuesday then the resulting date will be 2004-May-11. </para></description></function>
  823. <function name="previous_weekday"><type>date_type</type><template>
  824. <template-type-parameter name="date_type"/>
  825. <template-type-parameter name="weekday_type"/>
  826. </template><parameter name="d"><paramtype>const date_type &amp;</paramtype></parameter><parameter name="wd"><paramtype>const weekday_type &amp;</paramtype></parameter><purpose>Generates a date object representing the date of the previous weekday from the given date. </purpose><description><para>Generates a date object representing the date of the previous weekday from the given date. If the date given is 2004-May-9 (a Sunday) and the given weekday is Tuesday then the resulting date will be 2004-May-4. </para></description></function>
  827. </namespace>
  828. </namespace>
  829. </header>
  830. <header name="boost/date_time/date_iterator.hpp">
  831. <namespace name="boost">
  832. <namespace name="date_time">
  833. <class name="date_itr"><template>
  834. <template-type-parameter name="offset_functor"/>
  835. <template-type-parameter name="date_type"/>
  836. </template><inherit access="public">boost::date_time::date_itr_base&lt; date_type &gt;</inherit><purpose>Overrides the base date iterator providing hook for functors. </purpose><typedef name="duration_type"><type>date_type::duration_type</type></typedef>
  837. <method-group name="public member functions">
  838. </method-group>
  839. <constructor><parameter name="d"><paramtype>date_type</paramtype></parameter><parameter name="factor"><paramtype>int</paramtype><default>1</default></parameter></constructor>
  840. <method-group name="private member functions">
  841. <method name="get_offset" cv="const" specifiers="virtual"><type>duration_type</type><parameter name="current"><paramtype>const date_type &amp;</paramtype></parameter></method>
  842. <method name="get_neg_offset" cv="const" specifiers="virtual"><type>duration_type</type><parameter name="current"><paramtype>const date_type &amp;</paramtype></parameter></method>
  843. </method-group>
  844. </class><class name="date_itr_base"><template>
  845. <template-type-parameter name="date_type"/>
  846. </template><purpose>Base date iterator type. </purpose><description><para>This class provides the skeleton for the creation of iterators. New and interesting interators can be created by plugging in a new function that derives the next value from the current state. generation of various types of -based information.</para><para><emphasis role="bold">Template Parameters</emphasis></para><para><emphasis role="bold">date_type</emphasis></para><para>The date_type is a concrete date_type. The date_type must define a duration_type and a calendar_type. </para></description><typedef name="duration_type"><type>date_type::duration_type</type></typedef>
  847. <typedef name="value_type"><type>date_type</type></typedef>
  848. <typedef name="iterator_category"><type>std::input_iterator_tag</type></typedef>
  849. <method-group name="public member functions">
  850. <method name="operator++"><type><classname>date_itr_base</classname> &amp;</type></method>
  851. <method name="operator--"><type><classname>date_itr_base</classname> &amp;</type></method>
  852. <method name="get_offset" cv="const = 0" specifiers="virtual"><type>duration_type</type><parameter name="current"><paramtype>const date_type &amp;</paramtype></parameter></method>
  853. <method name="get_neg_offset" cv="const = 0" specifiers="virtual"><type>duration_type</type><parameter name="current"><paramtype>const date_type &amp;</paramtype></parameter></method>
  854. <method name="operator *"><type>date_type</type></method>
  855. <method name="operator-&gt;"><type>date_type *</type></method>
  856. <method name="operator&lt;"><type>bool</type><parameter name="d"><paramtype>const date_type &amp;</paramtype></parameter></method>
  857. <method name="operator&lt;="><type>bool</type><parameter name="d"><paramtype>const date_type &amp;</paramtype></parameter></method>
  858. <method name="operator&gt;"><type>bool</type><parameter name="d"><paramtype>const date_type &amp;</paramtype></parameter></method>
  859. <method name="operator&gt;="><type>bool</type><parameter name="d"><paramtype>const date_type &amp;</paramtype></parameter></method>
  860. <method name="operator=="><type>bool</type><parameter name="d"><paramtype>const date_type &amp;</paramtype></parameter></method>
  861. <method name="operator!="><type>bool</type><parameter name="d"><paramtype>const date_type &amp;</paramtype></parameter></method>
  862. </method-group>
  863. <constructor><parameter name="d"><paramtype>date_type</paramtype></parameter></constructor>
  864. <destructor/>
  865. </class><enum name="date_resolutions"><enumvalue name="day"/><enumvalue name="week"/><enumvalue name="months"/><enumvalue name="year"/><enumvalue name="decade"/><enumvalue name="century"/><enumvalue name="NumDateResolutions"/><purpose>An iterator over dates with varying resolution (day, week, month, year, etc) </purpose></enum>
  866. </namespace>
  867. </namespace>
  868. </header>
  869. <header name="boost/date_time/date_names_put.hpp">
  870. <namespace name="boost">
  871. <namespace name="date_time">
  872. <class name="all_date_names_put"><template>
  873. <template-type-parameter name="Config"/>
  874. <template-type-parameter name="charT"><default>char</default></template-type-parameter>
  875. <template-type-parameter name="OutputIterator"><default>std::ostreambuf_iterator&lt;charT&gt;</default></template-type-parameter>
  876. </template><inherit access="public">boost::date_time::date_names_put&lt; Config, charT, OutputIterator &gt;</inherit><purpose>A date name output facet that takes an array of char* to define strings. </purpose><typedef name="iter_type"><type>OutputIterator</type></typedef>
  877. <typedef name="month_enum"><type>Config::month_enum</type></typedef>
  878. <typedef name="weekday_enum"><type>Config::weekday_enum</type></typedef>
  879. <typedef name="special_value_enum"><type>Config::special_value_enum</type></typedef>
  880. <method-group name="public member functions">
  881. <method name="get_short_month_names" cv="const"><type>const charT *const *</type></method>
  882. <method name="get_long_month_names" cv="const"><type>const charT *const *</type></method>
  883. <method name="get_special_value_names" cv="const"><type>const charT *const *</type></method>
  884. <method name="get_short_weekday_names" cv="const"><type>const charT *const *</type></method>
  885. <method name="get_long_weekday_names" cv="const"><type>const charT *const *</type></method>
  886. </method-group>
  887. <constructor><parameter name="month_short_names"><paramtype>const charT *const</paramtype></parameter><parameter name="month_long_names"><paramtype>const charT *const</paramtype></parameter><parameter name="special_value_names"><paramtype>const charT *const</paramtype></parameter><parameter name="weekday_short_names"><paramtype>const charT *const</paramtype></parameter><parameter name="weekday_long_names"><paramtype>const charT *const</paramtype></parameter><parameter name="separator_char"><paramtype>charT</paramtype><default>'-'</default></parameter><parameter name="order_spec"><paramtype>ymd_order_spec</paramtype><default>ymd_order_iso</default></parameter><parameter name="month_format"><paramtype>month_format_spec</paramtype><default>month_as_short_string</default></parameter></constructor>
  888. <method-group name="protected member functions">
  889. <method name="do_put_month_short" cv="const" specifiers="virtual"><type>void</type><parameter name="oitr"><paramtype>iter_type &amp;</paramtype></parameter><parameter name="moy"><paramtype>month_enum</paramtype></parameter><purpose>Generic facet that takes array of chars. </purpose></method>
  890. <method name="do_put_month_long" cv="const" specifiers="virtual"><type>void</type><parameter name="oitr"><paramtype>iter_type &amp;</paramtype></parameter><parameter name="moy"><paramtype>month_enum</paramtype></parameter><purpose>Long month names. </purpose></method>
  891. <method name="do_put_special_value" cv="const" specifiers="virtual"><type>void</type><parameter name="oitr"><paramtype>iter_type &amp;</paramtype></parameter><parameter name="sv"><paramtype>special_value_enum</paramtype></parameter><purpose>Special values names. </purpose></method>
  892. <method name="do_put_weekday_short" cv="const" specifiers="virtual"><type>void</type><parameter name="oitr"><paramtype>iter_type &amp;</paramtype></parameter><parameter name="wd"><paramtype>weekday_enum</paramtype></parameter></method>
  893. <method name="do_put_weekday_long" cv="const" specifiers="virtual"><type>void</type><parameter name="oitr"><paramtype>iter_type &amp;</paramtype></parameter><parameter name="wd"><paramtype>weekday_enum</paramtype></parameter></method>
  894. <method name="do_month_sep_char" cv="const" specifiers="virtual"><type>void</type><parameter name="oitr"><paramtype>iter_type &amp;</paramtype></parameter><purpose>char between year-month </purpose></method>
  895. <method name="do_day_sep_char" cv="const" specifiers="virtual"><type>void</type><parameter name="oitr"><paramtype>iter_type &amp;</paramtype></parameter><purpose>Char to separate month-day. </purpose></method>
  896. <method name="do_date_order" cv="const" specifiers="virtual"><type>ymd_order_spec</type><purpose>Set the date ordering. </purpose></method>
  897. <method name="do_month_format" cv="const" specifiers="virtual"><type>month_format_spec</type><purpose>Set the date ordering. </purpose></method>
  898. </method-group>
  899. </class><class name="date_names_put"><template>
  900. <template-type-parameter name="Config"/>
  901. <template-type-parameter name="charT"><default>char</default></template-type-parameter>
  902. <template-type-parameter name="OutputIterator"><default>std::ostreambuf_iterator&lt;charT&gt;</default></template-type-parameter>
  903. </template><inherit access="public">facet</inherit><purpose>Output facet base class for gregorian dates. </purpose><description><para>This class is a base class for date facets used to localize the names of months and the names of days in the week.</para><para>Requirements of Config<itemizedlist>
  904. <listitem><para>define an enumeration month_enum that enumerates the months. The enumeration should be '1' based eg: Jan==1</para>
  905. </listitem><listitem><para>define as_short_string and as_long_string</para>
  906. </listitem></itemizedlist>
  907. </para><para>(see langer &amp; kreft p334). </para></description><typedef name="iter_type"><type>OutputIterator</type></typedef>
  908. <typedef name="month_type"><type>Config::month_type</type></typedef>
  909. <typedef name="month_enum"><type>Config::month_enum</type></typedef>
  910. <typedef name="weekday_enum"><type>Config::weekday_enum</type></typedef>
  911. <typedef name="special_value_enum"><type>Config::special_value_enum</type></typedef>
  912. <typedef name="string_type"><type>std::basic_string&lt; charT &gt;</type></typedef>
  913. <typedef name="char_type"><type>charT</type></typedef>
  914. <data-member name="default_special_value_names" specifiers="static"><type>const char_type</type></data-member>
  915. <data-member name="separator" specifiers="static"><type>const char_type</type></data-member>
  916. <data-member name="id" specifiers="static"><type>std::locale::id</type><purpose>Generate storage location for a std::locale::id. </purpose></data-member>
  917. <method-group name="public member functions">
  918. <method name="__get_id" cv="const"><type>std::locale::id &amp;</type><parameter name=""><paramtype>void</paramtype></parameter></method>
  919. <method name="put_special_value" cv="const"><type>void</type><parameter name="oitr"><paramtype>iter_type &amp;</paramtype></parameter><parameter name="sv"><paramtype>special_value_enum</paramtype></parameter></method>
  920. <method name="put_month_short" cv="const"><type>void</type><parameter name="oitr"><paramtype>iter_type &amp;</paramtype></parameter><parameter name="moy"><paramtype>month_enum</paramtype></parameter></method>
  921. <method name="put_month_long" cv="const"><type>void</type><parameter name="oitr"><paramtype>iter_type &amp;</paramtype></parameter><parameter name="moy"><paramtype>month_enum</paramtype></parameter></method>
  922. <method name="put_weekday_short" cv="const"><type>void</type><parameter name="oitr"><paramtype>iter_type &amp;</paramtype></parameter><parameter name="wd"><paramtype>weekday_enum</paramtype></parameter></method>
  923. <method name="put_weekday_long" cv="const"><type>void</type><parameter name="oitr"><paramtype>iter_type &amp;</paramtype></parameter><parameter name="wd"><paramtype>weekday_enum</paramtype></parameter></method>
  924. <method name="has_date_sep_chars" cv="const"><type>bool</type></method>
  925. <method name="year_sep_char" cv="const"><type>void</type><parameter name="oitr"><paramtype>iter_type &amp;</paramtype></parameter></method>
  926. <method name="month_sep_char" cv="const"><type>void</type><parameter name="oitr"><paramtype>iter_type &amp;</paramtype></parameter><purpose>char between year-month </purpose></method>
  927. <method name="day_sep_char" cv="const"><type>void</type><parameter name="oitr"><paramtype>iter_type &amp;</paramtype></parameter><purpose>Char to separate month-day. </purpose></method>
  928. <method name="date_order" cv="const"><type>ymd_order_spec</type><purpose>Determines the order to put the date elements. </purpose></method>
  929. <method name="month_format" cv="const"><type>month_format_spec</type><purpose>Determines if month is displayed as integer, short or long string. </purpose></method>
  930. </method-group>
  931. <constructor/>
  932. <method-group name="protected member functions">
  933. <method name="do_put_month_short" cv="const" specifiers="virtual"><type>void</type><parameter name="oitr"><paramtype>iter_type &amp;</paramtype></parameter><parameter name="moy"><paramtype>month_enum</paramtype></parameter><purpose>Default facet implementation uses month_type defaults. </purpose></method>
  934. <method name="do_put_month_long" cv="const" specifiers="virtual"><type>void</type><parameter name="oitr"><paramtype>iter_type &amp;</paramtype></parameter><parameter name="moy"><paramtype>month_enum</paramtype></parameter><purpose>Default facet implementation uses month_type defaults. </purpose></method>
  935. <method name="do_put_special_value" cv="const" specifiers="virtual"><type>void</type><parameter name="oitr"><paramtype>iter_type &amp;</paramtype></parameter><parameter name="sv"><paramtype>special_value_enum</paramtype></parameter><purpose>Default facet implementation for special value types. </purpose></method>
  936. <method name="do_put_weekday_short" cv="const" specifiers="virtual"><type>void</type><parameter name=""><paramtype>iter_type &amp;</paramtype></parameter><parameter name=""><paramtype>weekday_enum</paramtype></parameter></method>
  937. <method name="do_put_weekday_long" cv="const" specifiers="virtual"><type>void</type><parameter name=""><paramtype>iter_type &amp;</paramtype></parameter><parameter name=""><paramtype>weekday_enum</paramtype></parameter></method>
  938. <method name="do_has_date_sep_chars" cv="const" specifiers="virtual"><type>bool</type></method>
  939. <method name="do_year_sep_char" cv="const" specifiers="virtual"><type>void</type><parameter name="oitr"><paramtype>iter_type &amp;</paramtype></parameter></method>
  940. <method name="do_month_sep_char" cv="const" specifiers="virtual"><type>void</type><parameter name="oitr"><paramtype>iter_type &amp;</paramtype></parameter><purpose>char between year-month </purpose></method>
  941. <method name="do_day_sep_char" cv="const" specifiers="virtual"><type>void</type><parameter name="oitr"><paramtype>iter_type &amp;</paramtype></parameter><purpose>Char to separate month-day. </purpose></method>
  942. <method name="do_date_order" cv="const" specifiers="virtual"><type>ymd_order_spec</type><purpose>Default for date order. </purpose></method>
  943. <method name="do_month_format" cv="const" specifiers="virtual"><type>month_format_spec</type><purpose>Default month format. </purpose></method>
  944. <method name="put_string" cv="const"><type>void</type><parameter name="oi"><paramtype>iter_type &amp;</paramtype></parameter><parameter name="s"><paramtype>const charT *const</paramtype></parameter></method>
  945. <method name="put_string" cv="const"><type>void</type><parameter name="oi"><paramtype>iter_type &amp;</paramtype></parameter><parameter name="s1"><paramtype>const string_type &amp;</paramtype></parameter></method>
  946. </method-group>
  947. </class>
  948. </namespace>
  949. </namespace>
  950. </header>
  951. <header name="boost/date_time/date_parsing.hpp">
  952. <namespace name="boost">
  953. <namespace name="date_time">
  954. <function name="convert_to_lower"><type>std::string</type><parameter name="inp"><paramtype>std::string</paramtype></parameter><purpose>A function to replace the std::transform( , , ,tolower) construct. </purpose><description><para>This function simply takes a string, and changes all the characters in that string to lowercase (according to the default system locale). In the event that a compiler does not support locales, the old C style tolower() is used. </para></description></function>
  955. <function name="month_str_to_ushort"><type>unsigned short</type><template>
  956. <template-type-parameter name="month_type"/>
  957. </template><parameter name="s"><paramtype>std::string const &amp;</paramtype></parameter><purpose>Helper function for parse_date. </purpose></function>
  958. <function name="find_match"><type>short</type><template>
  959. <template-type-parameter name="charT"/>
  960. </template><parameter name="short_names"><paramtype>const charT *const *</paramtype></parameter><parameter name="long_names"><paramtype>const charT *const *</paramtype></parameter><parameter name="size"><paramtype>short</paramtype></parameter><parameter name="s"><paramtype>const std::basic_string&lt; charT &gt; &amp;</paramtype></parameter><purpose>Find index of a string in either of 2 arrays. </purpose><description><para>find_match searches both arrays for a match to 's'. Both arrays must contain 'size' elements. The index of the match is returned. If no match is found, 'size' is returned. Ex. "Jan" returns 0, "Dec" returns 11, "Tue" returns 2. 'size' can be sent in with: (greg_month::max)() (which 12), (greg_weekday::max)() + 1 (which is 7) or date_time::NumSpecialValues </para></description></function>
  961. <function name="parse_date"><type>date_type</type><template>
  962. <template-type-parameter name="date_type"/>
  963. </template><parameter name="s"><paramtype>const std::string &amp;</paramtype></parameter><parameter name="order_spec"><paramtype>int</paramtype><default>ymd_order_iso</default></parameter><purpose>Generic function to parse a delimited date (eg: 2002-02-10) </purpose><description><para>Accepted formats are: "2003-02-10" or " 2003-Feb-10" or "2003-Feburary-10" The order in which the Month, Day, &amp; Year appear in the argument string can be accomodated by passing in the appropriate ymd_order_spec </para></description></function>
  964. <function name="parse_undelimited_date"><type>date_type</type><template>
  965. <template-type-parameter name="date_type"/>
  966. </template><parameter name="s"><paramtype>const std::string &amp;</paramtype></parameter><purpose>Generic function to parse undelimited date (eg: 20020201) </purpose></function>
  967. <function name="from_stream_type"><type>date_type</type><template>
  968. <template-type-parameter name="date_type"/>
  969. <template-type-parameter name="iterator_type"/>
  970. </template><parameter name="beg"><paramtype>iterator_type &amp;</paramtype></parameter><parameter name="end"><paramtype>iterator_type const &amp;</paramtype></parameter><parameter name=""><paramtype>char</paramtype></parameter><purpose>Helper function for 'date gregorian::from_stream()'. </purpose><description><para>Creates a string from the iterators that reference the begining &amp; end of a char[] or string. All elements are used in output string </para></description></function>
  971. <function name="from_stream_type"><type>date_type</type><template>
  972. <template-type-parameter name="date_type"/>
  973. <template-type-parameter name="iterator_type"/>
  974. </template><parameter name="beg"><paramtype>iterator_type &amp;</paramtype></parameter><parameter name=""><paramtype>iterator_type const &amp;</paramtype></parameter><parameter name=""><paramtype>std::string const &amp;</paramtype></parameter><purpose>Helper function for 'date gregorian::from_stream()'. </purpose><description><para>Returns the first string found in the stream referenced by the begining &amp; end iterators </para></description></function>
  975. <function name="from_stream_type"><type>date_type</type><template>
  976. <template-type-parameter name="date_type"/>
  977. <template-type-parameter name="iterator_type"/>
  978. </template><parameter name="beg"><paramtype>iterator_type &amp;</paramtype></parameter><parameter name="end"><paramtype>iterator_type const &amp;</paramtype></parameter><parameter name=""><paramtype>wchar_t</paramtype></parameter><purpose>Helper function for 'date gregorian::from_stream()'. </purpose><description><para>Creates a string from the iterators that reference the begining &amp; end of a wstring. All elements are used in output string </para></description></function>
  979. <function name="from_stream_type"><type>date_type</type><template>
  980. <template-type-parameter name="date_type"/>
  981. <template-type-parameter name="iterator_type"/>
  982. </template><parameter name="beg"><paramtype>iterator_type &amp;</paramtype></parameter><parameter name=""><paramtype>iterator_type const &amp;</paramtype></parameter><parameter name=""><paramtype>std::wstring const &amp;</paramtype></parameter><purpose>Helper function for 'date gregorian::from_stream()'. </purpose><description><para>Creates a string from the first wstring found in the stream referenced by the begining &amp; end iterators </para></description></function>
  983. <function name="from_simple_string_type"><type><classname>period</classname>&lt; date_type, typename date_type::duration_type &gt;</type><template>
  984. <template-type-parameter name="date_type"/>
  985. <template-type-parameter name="charT"/>
  986. </template><parameter name="s"><paramtype>const std::basic_string&lt; charT &gt; &amp;</paramtype></parameter><purpose>function called by wrapper functions: date_period_from_(w)string() </purpose></function>
  987. </namespace>
  988. </namespace>
  989. </header>
  990. <header name="boost/date_time/dst_rules.hpp">
  991. <para>Contains template class to provide static dst rule calculations </para><namespace name="boost">
  992. <namespace name="date_time">
  993. <class name="dst_calc_engine"><template>
  994. <template-type-parameter name="date_type"/>
  995. <template-type-parameter name="time_duration_type"/>
  996. <template-type-parameter name="dst_traits"/>
  997. </template><purpose>Compile-time configurable daylight savings time calculation engine. </purpose><typedef name="year_type"><type>date_type::year_type</type></typedef>
  998. <typedef name="calendar_type"><type>date_type::calendar_type</type></typedef>
  999. <typedef name="dstcalc"><type><classname>dst_calculator</classname>&lt; date_type, time_duration_type &gt;</type></typedef>
  1000. <method-group name="public static functions">
  1001. <method name="local_is_dst" specifiers="static"><type>time_is_dst_result</type><parameter name="d"><paramtype>const date_type &amp;</paramtype></parameter><parameter name="td"><paramtype>const time_duration_type &amp;</paramtype></parameter><purpose>Calculates if the given local time is dst or not. </purpose><description><para>Determines if the time is really in DST or not. Also checks for invalid and ambiguous.
  1002. </para></description></method>
  1003. <method name="is_dst_boundary_day" specifiers="static"><type>bool</type><parameter name="d"><paramtype>date_type</paramtype></parameter></method>
  1004. <method name="dst_offset" specifiers="static"><type>time_duration_type</type><purpose>The time of day for the dst transition (eg: typically 01:00:00 or 02:00:00) </purpose></method>
  1005. <method name="local_dst_start_day" specifiers="static"><type>date_type</type><parameter name="year"><paramtype>year_type</paramtype></parameter></method>
  1006. <method name="local_dst_end_day" specifiers="static"><type>date_type</type><parameter name="year"><paramtype>year_type</paramtype></parameter></method>
  1007. </method-group>
  1008. </class><class name="dst_calculator"><template>
  1009. <template-type-parameter name="date_type_"/>
  1010. <template-type-parameter name="time_duration_type_"/>
  1011. </template><purpose>Dynamic class used to caluclate dst transition information. </purpose><typedef name="time_duration_type"><type>time_duration_type_</type></typedef>
  1012. <typedef name="date_type"><type>date_type_</type></typedef>
  1013. <method-group name="public static functions">
  1014. <method name="process_local_dst_start_day" specifiers="static"><type>time_is_dst_result</type><parameter name="time_of_day"><paramtype>const time_duration_type &amp;</paramtype><description><para>Time offset in the day for the local time </para></description></parameter><parameter name="dst_start_offset_minutes"><paramtype>unsigned int</paramtype><description><para>Local day offset for start of dst </para></description></parameter><parameter name="dst_length_minutes"><paramtype>long</paramtype><description><para>Number of minutes to adjust clock forward </para></description></parameter><purpose>Check the local time offset when on dst start day. </purpose><description><para>On this dst transition, the time label between the transition boundary and the boudary + the offset are invalid times. If before the boundary then still not in dst.</para><para>
  1015. </para></description></method>
  1016. <method name="process_local_dst_end_day" specifiers="static"><type>time_is_dst_result</type><parameter name="time_of_day"><paramtype>const time_duration_type &amp;</paramtype><description><para>Time offset in the day for the local time </para></description></parameter><parameter name="dst_end_offset_minutes"><paramtype>unsigned int</paramtype><description><para>Local time of day for end of dst </para></description></parameter><parameter name="dst_length_minutes"><paramtype>long</paramtype></parameter><purpose>Check the local time offset when on the last day of dst. </purpose><description><para>This is the calculation for the DST end day. On that day times prior to the conversion time - dst_length (1 am in US) are still in dst. Times between the above and the switch time are ambiguous. Times after the start_offset are not in dst.
  1017. </para></description></method>
  1018. <method name="local_is_dst" specifiers="static"><type>time_is_dst_result</type><parameter name="current_day"><paramtype>const date_type &amp;</paramtype><description><para>The day to check for dst </para></description></parameter><parameter name="time_of_day"><paramtype>const time_duration_type &amp;</paramtype><description><para>Time offset within the day to check </para></description></parameter><parameter name="dst_start_day"><paramtype>const date_type &amp;</paramtype><description><para>Starting day of dst for the given locality </para></description></parameter><parameter name="dst_start_offset"><paramtype>const time_duration_type &amp;</paramtype><description><para>Time offset within day for dst boundary </para></description></parameter><parameter name="dst_end_day"><paramtype>const date_type &amp;</paramtype><description><para>Ending day of dst for the given locality </para></description></parameter><parameter name="dst_end_offset"><paramtype>const time_duration_type &amp;</paramtype><description><para>Time offset within day given in dst for dst boundary </para></description></parameter><parameter name="dst_length"><paramtype>const time_duration_type &amp;</paramtype></parameter><purpose>Calculates if the given local time is dst or not. </purpose><description><para>Determines if the time is really in DST or not. Also checks for invalid and ambiguous.
  1019. </para></description></method>
  1020. <method name="local_is_dst" specifiers="static"><type>time_is_dst_result</type><parameter name="current_day"><paramtype>const date_type &amp;</paramtype><description><para>The day to check for dst </para></description></parameter><parameter name="time_of_day"><paramtype>const time_duration_type &amp;</paramtype><description><para>Time offset within the day to check </para></description></parameter><parameter name="dst_start_day"><paramtype>const date_type &amp;</paramtype><description><para>Starting day of dst for the given locality </para></description></parameter><parameter name="dst_start_offset_minutes"><paramtype>unsigned int</paramtype><description><para>Offset within day for dst boundary (eg 120 for US which is 02:00:00) </para></description></parameter><parameter name="dst_end_day"><paramtype>const date_type &amp;</paramtype><description><para>Ending day of dst for the given locality </para></description></parameter><parameter name="dst_end_offset_minutes"><paramtype>unsigned int</paramtype><description><para>Offset within day given in dst for dst boundary (eg 120 for US which is 02:00:00) </para></description></parameter><parameter name="dst_length_minutes"><paramtype>long</paramtype><description><para>Length of dst adjusment (eg: 60 for US) </para></description></parameter><purpose>Calculates if the given local time is dst or not. </purpose><description><para>Determines if the time is really in DST or not. Also checks for invalid and ambiguous.
  1021. </para></description></method>
  1022. </method-group>
  1023. </class><class name="null_dst_rules"><template>
  1024. <template-type-parameter name="date_type_"/>
  1025. <template-type-parameter name="time_duration_type_"/>
  1026. </template><purpose>Used for local time adjustments in places that don't use dst. </purpose><typedef name="time_duration_type"><type>time_duration_type_</type></typedef>
  1027. <typedef name="date_type"><type>date_type_</type></typedef>
  1028. <method-group name="public static functions">
  1029. <method name="local_is_dst" specifiers="static"><type>time_is_dst_result</type><parameter name=""><paramtype>const date_type &amp;</paramtype></parameter><parameter name=""><paramtype>const time_duration_type &amp;</paramtype></parameter><purpose>Calculates if the given local time is dst or not. </purpose><description><para>
  1030. </para></description></method>
  1031. <method name="utc_is_dst" specifiers="static"><type>time_is_dst_result</type><parameter name=""><paramtype>const date_type &amp;</paramtype></parameter><parameter name=""><paramtype>const time_duration_type &amp;</paramtype></parameter><purpose>Calculates if the given utc time is in dst. </purpose></method>
  1032. <method name="is_dst_boundary_day" specifiers="static"><type>bool</type><parameter name=""><paramtype>date_type</paramtype></parameter></method>
  1033. <method name="dst_offset" specifiers="static"><type>time_duration_type</type></method>
  1034. </method-group>
  1035. </class><class name="us_dst_rules"><template>
  1036. <template-type-parameter name="date_type_"/>
  1037. <template-type-parameter name="time_duration_type_"/>
  1038. <template-nontype-parameter name="dst_start_offset_minutes"><type>unsigned int</type><default>120</default></template-nontype-parameter>
  1039. <template-nontype-parameter name="dst_length_minutes"><type>short</type><default>60</default></template-nontype-parameter>
  1040. </template><purpose>Depricated: Class to calculate dst boundaries for US time zones. </purpose><typedef name="time_duration_type"><type>time_duration_type_</type></typedef>
  1041. <typedef name="date_type"><type>date_type_</type></typedef>
  1042. <typedef name="year_type"><type>date_type::year_type</type></typedef>
  1043. <typedef name="calendar_type"><type>date_type::calendar_type</type></typedef>
  1044. <typedef name="lkday"><type><classname>date_time::last_kday_of_month</classname>&lt; date_type &gt;</type></typedef>
  1045. <typedef name="fkday"><type><classname>date_time::first_kday_of_month</classname>&lt; date_type &gt;</type></typedef>
  1046. <typedef name="nkday"><type><classname>date_time::nth_kday_of_month</classname>&lt; date_type &gt;</type></typedef>
  1047. <typedef name="dstcalc"><type><classname>dst_calculator</classname>&lt; date_type, time_duration_type &gt;</type></typedef>
  1048. <method-group name="public static functions">
  1049. <method name="local_is_dst" specifiers="static"><type>time_is_dst_result</type><parameter name="d"><paramtype>const date_type &amp;</paramtype></parameter><parameter name="td"><paramtype>const time_duration_type &amp;</paramtype></parameter><purpose>Calculates if the given local time is dst or not. </purpose><description><para>Determines if the time is really in DST or not. Also checks for invalid and ambiguous.
  1050. </para></description></method>
  1051. <method name="is_dst_boundary_day" specifiers="static"><type>bool</type><parameter name="d"><paramtype>date_type</paramtype></parameter></method>
  1052. <method name="local_dst_start_day" specifiers="static"><type>date_type</type><parameter name="year"><paramtype>year_type</paramtype></parameter></method>
  1053. <method name="local_dst_end_day" specifiers="static"><type>date_type</type><parameter name="year"><paramtype>year_type</paramtype></parameter></method>
  1054. <method name="dst_offset" specifiers="static"><type>time_duration_type</type></method>
  1055. </method-group>
  1056. </class><enum name="time_is_dst_result"><enumvalue name="is_not_in_dst"/><enumvalue name="is_in_dst"/><enumvalue name="ambiguous"/><enumvalue name="invalid_time_label"/></enum>
  1057. </namespace>
  1058. </namespace>
  1059. </header>
  1060. <header name="boost/date_time/dst_transition_generators.hpp">
  1061. <namespace name="boost">
  1062. <namespace name="date_time">
  1063. <class name="day_calc_dst_rule"><template>
  1064. <template-type-parameter name="spec"><purpose><para>Provides a specifiction of the function object types used to generate start and end days of daylight savings as well as the date type. </para></purpose></template-type-parameter>
  1065. </template><inherit access="public">boost::date_time::dst_day_calc_rule&lt; spec::date_type &gt;</inherit><purpose>Canonical form for a class that provides day rule calculation. </purpose><description><para>This class is used to generate specific sets of dst rules</para><para>
  1066. </para></description><typedef name="date_type"><type>spec::date_type</type></typedef>
  1067. <typedef name="year_type"><type>date_type::year_type</type></typedef>
  1068. <typedef name="start_rule"><type>spec::start_rule</type></typedef>
  1069. <typedef name="end_rule"><type>spec::end_rule</type></typedef>
  1070. <method-group name="public member functions">
  1071. <method name="start_day" cv="const" specifiers="virtual"><type>date_type</type><parameter name="y"><paramtype>year_type</paramtype></parameter></method>
  1072. <method name="start_rule_as_string" cv="const" specifiers="virtual"><type>std::string</type></method>
  1073. <method name="end_day" cv="const" specifiers="virtual"><type>date_type</type><parameter name="y"><paramtype>year_type</paramtype></parameter></method>
  1074. <method name="end_rule_as_string" cv="const" specifiers="virtual"><type>std::string</type></method>
  1075. </method-group>
  1076. <constructor><parameter name="dst_start"><paramtype>start_rule</paramtype></parameter><parameter name="dst_end"><paramtype>end_rule</paramtype></parameter></constructor>
  1077. </class><class name="dst_day_calc_rule"><template>
  1078. <template-type-parameter name="date_type"/>
  1079. </template><purpose>Defines base interface for calculating start and end date of daylight savings. </purpose><typedef name="year_type"><type>date_type::year_type</type></typedef>
  1080. <method-group name="public member functions">
  1081. <method name="start_day" cv="const = 0" specifiers="virtual"><type>date_type</type><parameter name="y"><paramtype>year_type</paramtype></parameter></method>
  1082. <method name="start_rule_as_string" cv="const = 0" specifiers="virtual"><type>std::string</type></method>
  1083. <method name="end_day" cv="const = 0" specifiers="virtual"><type>date_type</type><parameter name="y"><paramtype>year_type</paramtype></parameter></method>
  1084. <method name="end_rule_as_string" cv="const = 0" specifiers="virtual"><type>std::string</type></method>
  1085. </method-group>
  1086. <destructor/>
  1087. </class>
  1088. </namespace>
  1089. </namespace>
  1090. </header>
  1091. <header name="boost/date_time/filetime_functions.hpp">
  1092. <para>Function(s) for converting between a FILETIME structure and a time object. This file is only available on systems that have BOOST_HAS_FTIME defined. </para><namespace name="boost">
  1093. <namespace name="date_time">
  1094. <function name="time_from_ftime"><type>TimeT</type><template>
  1095. <template-type-parameter name="TimeT"/>
  1096. <template-type-parameter name="FileTimeT"/>
  1097. </template><parameter name="ft"><paramtype>const FileTimeT &amp;</paramtype></parameter><purpose>Create a time object from an initialized FILETIME struct. </purpose><description><para>Create a time object from an initialized FILETIME struct. A FILETIME struct holds 100-nanosecond units (0.0000001). When built with microsecond resolution the file_time's sub second value will be truncated. Nanosecond resolution has no truncation.</para><para><note><para>The function is templated on the FILETIME type, so that it can be used with both native FILETIME and the ad-hoc boost::detail::winapi::FILETIME_ type. </para>
  1098. </note>
  1099. </para></description></function>
  1100. </namespace>
  1101. </namespace>
  1102. </header>
  1103. <header name="boost/date_time/format_date_parser.hpp">
  1104. <namespace name="std">
  1105. </namespace>
  1106. <namespace name="boost">
  1107. <namespace name="date_time">
  1108. <class name="format_date_parser"><template>
  1109. <template-type-parameter name="date_type"/>
  1110. <template-type-parameter name="charT"/>
  1111. </template><purpose>Class with generic date parsing using a format string. </purpose><description><para>The following is the set of recognized format specifiers<itemizedlist>
  1112. <listitem><para>a - Short weekday name</para>
  1113. </listitem><listitem><para>A - Long weekday name</para>
  1114. </listitem><listitem><para>b - Abbreviated month name</para>
  1115. </listitem><listitem><para>B - Full month name</para>
  1116. </listitem><listitem><para>d - Day of the month as decimal 01 to 31</para>
  1117. </listitem><listitem><para>j - Day of year as decimal from 001 to 366</para>
  1118. </listitem><listitem><para>m - Month name as a decimal 01 to 12</para>
  1119. </listitem><listitem><para>U - Week number 00 to 53 with first Sunday as the first day of week 1?</para>
  1120. </listitem><listitem><para>w - Weekday as decimal number 0 to 6 where Sunday == 0</para>
  1121. </listitem><listitem><para>W - Week number 00 to 53 where Monday is first day of week 1</para>
  1122. </listitem><listitem><para>x - facet default date representation</para>
  1123. </listitem><listitem><para>y - Year without the century - eg: 04 for 2004</para>
  1124. </listitem><listitem><para>Y - Year with century</para>
  1125. </listitem></itemizedlist>
  1126. </para><para>The weekday specifiers (a and A) do not add to the date construction, but they provide a way to skip over the weekday names for formats that provide them.</para><para>todo – Another interesting feature that this approach could provide is an option to fill in any missing fields with the current values from the clock. So if you have m-d the parser would detect the missing year value and fill it in using the clock.</para><para>todo – What to do with the x. x in the classic facet is just bad... </para></description><typedef name="string_type"><type>std::basic_string&lt; charT &gt;</type></typedef>
  1127. <typedef name="stringstream_type"><type>std::basic_istringstream&lt; charT &gt;</type></typedef>
  1128. <typedef name="stream_itr_type"><type>std::istreambuf_iterator&lt; charT &gt;</type></typedef>
  1129. <typedef name="const_itr"><type>string_type::const_iterator</type></typedef>
  1130. <typedef name="year_type"><type>date_type::year_type</type></typedef>
  1131. <typedef name="month_type"><type>date_type::month_type</type></typedef>
  1132. <typedef name="day_type"><type>date_type::day_type</type></typedef>
  1133. <typedef name="duration_type"><type>date_type::duration_type</type></typedef>
  1134. <typedef name="day_of_week_type"><type>date_type::day_of_week_type</type></typedef>
  1135. <typedef name="day_of_year_type"><type>date_type::day_of_year_type</type></typedef>
  1136. <typedef name="parse_tree_type"><type><classname>string_parse_tree</classname>&lt; charT &gt;</type></typedef>
  1137. <typedef name="match_results"><type><classname>parse_tree_type::parse_match_result_type</classname></type></typedef>
  1138. <typedef name="input_collection_type"><type>std::vector&lt; std::basic_string&lt; charT &gt; &gt;</type></typedef>
  1139. <method-group name="public member functions">
  1140. <method name="format" cv="const"><type>string_type</type></method>
  1141. <method name="format"><type>void</type><parameter name="format_str"><paramtype>string_type</paramtype></parameter></method>
  1142. <method name="short_month_names"><type>void</type><parameter name="month_names"><paramtype>const input_collection_type &amp;</paramtype></parameter></method>
  1143. <method name="long_month_names"><type>void</type><parameter name="month_names"><paramtype>const input_collection_type &amp;</paramtype></parameter></method>
  1144. <method name="short_weekday_names"><type>void</type><parameter name="weekday_names"><paramtype>const input_collection_type &amp;</paramtype></parameter></method>
  1145. <method name="long_weekday_names"><type>void</type><parameter name="weekday_names"><paramtype>const input_collection_type &amp;</paramtype></parameter></method>
  1146. <method name="parse_date" cv="const"><type>date_type</type><parameter name="value"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="format_str"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="sv_parser"><paramtype>const <classname>special_values_parser</classname>&lt; date_type, charT &gt; &amp;</paramtype></parameter></method>
  1147. <method name="parse_date" cv="const"><type>date_type</type><parameter name="sitr"><paramtype>std::istreambuf_iterator&lt; charT &gt; &amp;</paramtype></parameter><parameter name="stream_end"><paramtype>std::istreambuf_iterator&lt; charT &gt; &amp;</paramtype></parameter><parameter name="sv_parser"><paramtype>const <classname>special_values_parser</classname>&lt; date_type, charT &gt; &amp;</paramtype></parameter></method>
  1148. <method name="parse_date" cv="const"><type>date_type</type><parameter name="sitr"><paramtype>std::istreambuf_iterator&lt; charT &gt; &amp;</paramtype></parameter><parameter name="stream_end"><paramtype>std::istreambuf_iterator&lt; charT &gt; &amp;</paramtype></parameter><parameter name="format_str"><paramtype>string_type</paramtype></parameter><parameter name="sv_parser"><paramtype>const <classname>special_values_parser</classname>&lt; date_type, charT &gt; &amp;</paramtype></parameter><description><para>Of all the objects that the <classname alt="boost::date_time::format_date_parser">format_date_parser</classname> can parse, only a date can be a special value. Therefore, only parse_date checks for special_values. </para></description></method>
  1149. <method name="parse_month" cv="const"><type>month_type</type><parameter name="sitr"><paramtype>std::istreambuf_iterator&lt; charT &gt; &amp;</paramtype></parameter><parameter name="stream_end"><paramtype>std::istreambuf_iterator&lt; charT &gt; &amp;</paramtype></parameter><parameter name="format_str"><paramtype>string_type</paramtype></parameter><purpose>Throws bad_month if unable to parse. </purpose></method>
  1150. <method name="parse_month" cv="const"><type>month_type</type><parameter name="sitr"><paramtype>std::istreambuf_iterator&lt; charT &gt; &amp;</paramtype></parameter><parameter name="stream_end"><paramtype>std::istreambuf_iterator&lt; charT &gt; &amp;</paramtype></parameter><parameter name="format_str"><paramtype>string_type</paramtype></parameter><parameter name="mr"><paramtype><classname>match_results</classname> &amp;</paramtype></parameter><purpose>Throws bad_month if unable to parse. </purpose></method>
  1151. <method name="parse_var_day_of_month" cv="const"><type>day_type</type><parameter name="sitr"><paramtype>std::istreambuf_iterator&lt; charT &gt; &amp;</paramtype></parameter><parameter name="stream_end"><paramtype>std::istreambuf_iterator&lt; charT &gt; &amp;</paramtype></parameter><purpose>Expects 1 or 2 digits 1-31. Throws bad_day_of_month if unable to parse. </purpose></method>
  1152. <method name="parse_day_of_month" cv="const"><type>day_type</type><parameter name="sitr"><paramtype>std::istreambuf_iterator&lt; charT &gt; &amp;</paramtype></parameter><parameter name="stream_end"><paramtype>std::istreambuf_iterator&lt; charT &gt; &amp;</paramtype></parameter><purpose>Expects 2 digits 01-31. Throws bad_day_of_month if unable to parse. </purpose></method>
  1153. <method name="parse_weekday" cv="const"><type>day_of_week_type</type><parameter name="sitr"><paramtype>std::istreambuf_iterator&lt; charT &gt; &amp;</paramtype></parameter><parameter name="stream_end"><paramtype>std::istreambuf_iterator&lt; charT &gt; &amp;</paramtype></parameter><parameter name="format_str"><paramtype>string_type</paramtype></parameter></method>
  1154. <method name="parse_weekday" cv="const"><type>day_of_week_type</type><parameter name="sitr"><paramtype>std::istreambuf_iterator&lt; charT &gt; &amp;</paramtype></parameter><parameter name="stream_end"><paramtype>std::istreambuf_iterator&lt; charT &gt; &amp;</paramtype></parameter><parameter name="format_str"><paramtype>string_type</paramtype></parameter><parameter name="mr"><paramtype><classname>match_results</classname> &amp;</paramtype></parameter></method>
  1155. <method name="parse_year" cv="const"><type>year_type</type><parameter name="sitr"><paramtype>std::istreambuf_iterator&lt; charT &gt; &amp;</paramtype></parameter><parameter name="stream_end"><paramtype>std::istreambuf_iterator&lt; charT &gt; &amp;</paramtype></parameter><parameter name="format_str"><paramtype>string_type</paramtype></parameter><purpose>throws bad_year if unable to parse </purpose></method>
  1156. <method name="parse_year" cv="const"><type>year_type</type><parameter name="sitr"><paramtype>std::istreambuf_iterator&lt; charT &gt; &amp;</paramtype></parameter><parameter name="stream_end"><paramtype>std::istreambuf_iterator&lt; charT &gt; &amp;</paramtype></parameter><parameter name="format_str"><paramtype>string_type</paramtype></parameter><parameter name="mr"><paramtype><classname>match_results</classname> &amp;</paramtype></parameter><purpose>throws bad_year if unable to parse </purpose></method>
  1157. </method-group>
  1158. <constructor><parameter name="format_str"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="month_short_names"><paramtype>const input_collection_type &amp;</paramtype></parameter><parameter name="month_long_names"><paramtype>const input_collection_type &amp;</paramtype></parameter><parameter name="weekday_short_names"><paramtype>const input_collection_type &amp;</paramtype></parameter><parameter name="weekday_long_names"><paramtype>const input_collection_type &amp;</paramtype></parameter></constructor>
  1159. <constructor><parameter name="format_str"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="locale"><paramtype>const std::locale &amp;</paramtype></parameter></constructor>
  1160. <constructor><parameter name="fdp"><paramtype>const <classname>format_date_parser</classname>&lt; date_type, charT &gt; &amp;</paramtype></parameter></constructor>
  1161. </class>
  1162. <function name="fixed_string_to_int"><type>int_type</type><template>
  1163. <template-type-parameter name="int_type"/>
  1164. <template-type-parameter name="charT"/>
  1165. </template><parameter name="itr"><paramtype>std::istreambuf_iterator&lt; charT &gt; &amp;</paramtype></parameter><parameter name="stream_end"><paramtype>std::istreambuf_iterator&lt; charT &gt; &amp;</paramtype></parameter><parameter name="mr"><paramtype><classname>parse_match_result</classname>&lt; charT &gt; &amp;</paramtype></parameter><parameter name="length"><paramtype>unsigned int</paramtype></parameter><parameter name="fill_char"><paramtype>const charT &amp;</paramtype></parameter><purpose>Helper function for parsing fixed length strings into integers. </purpose><description><para>Will consume 'length' number of characters from stream. Consumed character are transfered to <classname alt="boost::date_time::parse_match_result">parse_match_result</classname> struct. Returns '-1' if no number can be parsed or incorrect number of digits in stream. </para></description></function>
  1166. <function name="fixed_string_to_int"><type>int_type</type><template>
  1167. <template-type-parameter name="int_type"/>
  1168. <template-type-parameter name="charT"/>
  1169. </template><parameter name="itr"><paramtype>std::istreambuf_iterator&lt; charT &gt; &amp;</paramtype></parameter><parameter name="stream_end"><paramtype>std::istreambuf_iterator&lt; charT &gt; &amp;</paramtype></parameter><parameter name="mr"><paramtype><classname>parse_match_result</classname>&lt; charT &gt; &amp;</paramtype></parameter><parameter name="length"><paramtype>unsigned int</paramtype></parameter><purpose>Helper function for parsing fixed length strings into integers. </purpose><description><para>Will consume 'length' number of characters from stream. Consumed character are transfered to <classname alt="boost::date_time::parse_match_result">parse_match_result</classname> struct. Returns '-1' if no number can be parsed or incorrect number of digits in stream. </para></description></function>
  1170. <function name="var_string_to_int"><type>int_type</type><template>
  1171. <template-type-parameter name="int_type"/>
  1172. <template-type-parameter name="charT"/>
  1173. </template><parameter name="itr"><paramtype>std::istreambuf_iterator&lt; charT &gt; &amp;</paramtype></parameter><parameter name="stream_end"><paramtype>const std::istreambuf_iterator&lt; charT &gt; &amp;</paramtype></parameter><parameter name="max_length"><paramtype>unsigned int</paramtype></parameter><purpose>Helper function for parsing varied length strings into integers. </purpose><description><para>Will consume 'max_length' characters from stream only if those characters are digits. Returns '-1' if no number can be parsed. Will not parse a number preceeded by a '+' or '-'. </para></description></function>
  1174. </namespace>
  1175. </namespace>
  1176. </header>
  1177. <header name="boost/date_time/gregorian_calendar.hpp">
  1178. <namespace name="boost">
  1179. <namespace name="date_time">
  1180. <class name="gregorian_calendar_base"><template>
  1181. <template-type-parameter name="ymd_type_"><purpose><para>Struct type representing the year, month, day. The ymd_type must define a of types for the year, month, and day. These types need to be arithmetic types. </para></purpose></template-type-parameter>
  1182. <template-type-parameter name="date_int_type_"><purpose><para>Underlying type for the date count. Must be an arithmetic type. </para></purpose></template-type-parameter>
  1183. </template><purpose>An implementation of the Gregorian calendar. </purpose><description><para>This is a parameterized implementation of a proleptic Gregorian Calendar that can be used in the creation of date systems or just to perform calculations. All the methods of this class are static functions, so the intent is to never create instances of this class.
  1184. </para></description><typedef name="ymd_type"><purpose>define a type a date split into components </purpose><type>ymd_type_</type></typedef>
  1185. <typedef name="month_type"><purpose>define a type for representing months </purpose><type>ymd_type::month_type</type></typedef>
  1186. <typedef name="day_type"><purpose>define a type for representing days </purpose><type>ymd_type::day_type</type></typedef>
  1187. <typedef name="year_type"><purpose>Type to hold a stand alone year value (eg: 2002) </purpose><type>ymd_type::year_type</type></typedef>
  1188. <typedef name="date_int_type"><purpose>Define the integer type to use for internal calculations. </purpose><type>date_int_type_</type></typedef>
  1189. <method-group name="public static functions">
  1190. <method name="day_of_week" specifiers="static"><type>unsigned short</type><parameter name="ymd"><paramtype>const ymd_type &amp;</paramtype></parameter></method>
  1191. <method name="week_number" specifiers="static"><type>int</type><parameter name="ymd"><paramtype>const ymd_type &amp;</paramtype></parameter></method>
  1192. <method name="day_number" specifiers="static"><type>date_int_type</type><parameter name="ymd"><paramtype>const ymd_type &amp;</paramtype></parameter></method>
  1193. <method name="julian_day_number" specifiers="static"><type>date_int_type</type><parameter name="ymd"><paramtype>const ymd_type &amp;</paramtype></parameter></method>
  1194. <method name="modjulian_day_number" specifiers="static"><type>date_int_type</type><parameter name="ymd"><paramtype>const ymd_type &amp;</paramtype></parameter></method>
  1195. <method name="from_day_number" specifiers="static"><type>ymd_type</type><parameter name=""><paramtype>date_int_type</paramtype></parameter></method>
  1196. <method name="from_julian_day_number" specifiers="static"><type>ymd_type</type><parameter name=""><paramtype>date_int_type</paramtype></parameter></method>
  1197. <method name="from_modjulian_day_number" specifiers="static"><type>ymd_type</type><parameter name=""><paramtype>date_int_type</paramtype></parameter></method>
  1198. <method name="is_leap_year" specifiers="static"><type>bool</type><parameter name=""><paramtype>year_type</paramtype></parameter></method>
  1199. <method name="end_of_month_day" specifiers="static"><type>unsigned short</type><parameter name="y"><paramtype>year_type</paramtype></parameter><parameter name="m"><paramtype>month_type</paramtype></parameter></method>
  1200. <method name="epoch" specifiers="static"><type>ymd_type</type></method>
  1201. <method name="days_in_week" specifiers="static"><type>unsigned short</type></method>
  1202. </method-group>
  1203. </class>
  1204. </namespace>
  1205. </namespace>
  1206. </header>
  1207. <header name="boost/date_time/int_adapter.hpp">
  1208. <namespace name="boost">
  1209. <namespace name="date_time">
  1210. <class name="int_adapter"><template>
  1211. <template-type-parameter name="int_type_"/>
  1212. </template><purpose>Adapter to create integer types with +-infinity, and not a value. </purpose><description><para>This class is used internally in counted date/time representations. It adds the floating point like features of infinities and not a number. It also provides mathmatical operations with consideration to special values following these rules: <programlisting language="c++">+infinity - infinity == Not A Number (NAN)
  1213. infinity * non-zero == infinity
  1214. infinity * zero == NAN
  1215. +infinity * -integer == -infinity
  1216. infinity / infinity == NAN
  1217. infinity * infinity == infinity
  1218. </programlisting> </para></description><typedef name="int_type"><type>int_type_</type></typedef>
  1219. <method-group name="public member functions">
  1220. <method name="is_infinity" cv="const"><type>bool</type></method>
  1221. <method name="is_pos_infinity" cv="const"><type>bool</type></method>
  1222. <method name="is_neg_infinity" cv="const"><type>bool</type></method>
  1223. <method name="is_nan" cv="const"><type>bool</type></method>
  1224. <method name="is_special" cv="const"><type>bool</type></method>
  1225. <method name="operator==" cv="const"><type>bool</type><parameter name="rhs"><paramtype>const <classname>int_adapter</classname> &amp;</paramtype></parameter></method>
  1226. <method name="operator==" cv="const"><type>bool</type><parameter name="rhs"><paramtype>const int &amp;</paramtype></parameter></method>
  1227. <method name="operator!=" cv="const"><type>bool</type><parameter name="rhs"><paramtype>const <classname>int_adapter</classname> &amp;</paramtype></parameter></method>
  1228. <method name="operator!=" cv="const"><type>bool</type><parameter name="rhs"><paramtype>const int &amp;</paramtype></parameter></method>
  1229. <method name="operator&lt;" cv="const"><type>bool</type><parameter name="rhs"><paramtype>const <classname>int_adapter</classname> &amp;</paramtype></parameter></method>
  1230. <method name="operator&lt;" cv="const"><type>bool</type><parameter name="rhs"><paramtype>const int &amp;</paramtype></parameter></method>
  1231. <method name="operator&gt;" cv="const"><type>bool</type><parameter name="rhs"><paramtype>const <classname>int_adapter</classname> &amp;</paramtype></parameter></method>
  1232. <method name="as_number" cv="const"><type>int_type</type></method>
  1233. <method name="as_special" cv="const"><type>special_values</type><purpose>Returns either special value type or is_not_special. </purpose></method>
  1234. <method name="operator+" cv="const"><type><classname>int_adapter</classname></type><template>
  1235. <template-type-parameter name="rhs_type"/>
  1236. </template><parameter name="rhs"><paramtype>const <classname>int_adapter</classname>&lt; rhs_type &gt; &amp;</paramtype></parameter><description><para>Operator allows for adding dissimilar <classname alt="boost::date_time::int_adapter">int_adapter</classname> types. The return type will match that of the the calling object's type </para></description></method>
  1237. <method name="operator+" cv="const"><type><classname>int_adapter</classname></type><parameter name="rhs"><paramtype>const int_type</paramtype></parameter></method>
  1238. <method name="operator-" cv="const"><type><classname>int_adapter</classname></type><template>
  1239. <template-type-parameter name="rhs_type"/>
  1240. </template><parameter name="rhs"><paramtype>const <classname>int_adapter</classname>&lt; rhs_type &gt; &amp;</paramtype></parameter><description><para>Operator allows for subtracting dissimilar <classname alt="boost::date_time::int_adapter">int_adapter</classname> types. The return type will match that of the the calling object's type </para></description></method>
  1241. <method name="operator-" cv="const"><type><classname>int_adapter</classname></type><parameter name="rhs"><paramtype>const int_type</paramtype></parameter></method>
  1242. <method name="operator *" cv="const"><type><classname>int_adapter</classname></type><parameter name="rhs"><paramtype>const <classname>int_adapter</classname> &amp;</paramtype></parameter></method>
  1243. <method name="operator *" cv="const"><type><classname>int_adapter</classname></type><parameter name="rhs"><paramtype>const int</paramtype></parameter><description><para>Provided for cases when automatic conversion from 'int' to '<classname alt="boost::date_time::int_adapter">int_adapter</classname>' causes incorrect results. </para></description></method>
  1244. <method name="operator/" cv="const"><type><classname>int_adapter</classname></type><parameter name="rhs"><paramtype>const <classname>int_adapter</classname> &amp;</paramtype></parameter></method>
  1245. <method name="operator/" cv="const"><type><classname>int_adapter</classname></type><parameter name="rhs"><paramtype>const int</paramtype></parameter><description><para>Provided for cases when automatic conversion from 'int' to '<classname alt="boost::date_time::int_adapter">int_adapter</classname>' causes incorrect results. </para></description></method>
  1246. <method name="operator%" cv="const"><type><classname>int_adapter</classname></type><parameter name="rhs"><paramtype>const <classname>int_adapter</classname> &amp;</paramtype></parameter></method>
  1247. <method name="operator%" cv="const"><type><classname>int_adapter</classname></type><parameter name="rhs"><paramtype>const int</paramtype></parameter><description><para>Provided for cases when automatic conversion from 'int' to '<classname alt="boost::date_time::int_adapter">int_adapter</classname>' causes incorrect results. </para></description></method>
  1248. </method-group>
  1249. <constructor><parameter name="v"><paramtype>int_type</paramtype></parameter></constructor>
  1250. <method-group name="public static functions">
  1251. <method name="has_infinity" specifiers="static"><type>bool</type></method>
  1252. <method name="pos_infinity" specifiers="static"><type>const <classname>int_adapter</classname></type></method>
  1253. <method name="neg_infinity" specifiers="static"><type>const <classname>int_adapter</classname></type></method>
  1254. <method name="not_a_number" specifiers="static"><type>const <classname>int_adapter</classname></type></method>
  1255. <method name="BOOST_PREVENT_MACRO_SUBSTITUTION" specifiers="static"><type><classname>int_adapter</classname> max</type></method>
  1256. <method name="BOOST_PREVENT_MACRO_SUBSTITUTION" specifiers="static"><type><classname>int_adapter</classname> min</type></method>
  1257. <method name="from_special" specifiers="static"><type><classname>int_adapter</classname></type><parameter name="sv"><paramtype>special_values</paramtype></parameter></method>
  1258. <method name="is_inf" specifiers="static"><type>bool</type><parameter name="v"><paramtype>int_type</paramtype></parameter></method>
  1259. <method name="is_neg_inf" specifiers="static"><type>bool</type><parameter name="v"><paramtype>int_type</paramtype></parameter></method>
  1260. <method name="is_pos_inf" specifiers="static"><type>bool</type><parameter name="v"><paramtype>int_type</paramtype></parameter></method>
  1261. <method name="is_not_a_number" specifiers="static"><type>bool</type><parameter name="v"><paramtype>int_type</paramtype></parameter></method>
  1262. <method name="to_special" specifiers="static"><type>special_values</type><parameter name="v"><paramtype>int_type</paramtype></parameter><purpose>Returns either special value type or is_not_special. </purpose></method>
  1263. <method name="maxcount" specifiers="static"><type>int_type</type></method>
  1264. </method-group>
  1265. <method-group name="private member functions">
  1266. <method name="compare" cv="const"><type>int</type><parameter name="rhs"><paramtype>const <classname>int_adapter</classname> &amp;</paramtype></parameter><purpose>returns -1, 0, 1, or 2 if 'this' is &lt;, ==, &gt;, or 'nan comparison' rhs </purpose></method>
  1267. <method name="mult_div_specials" cv="const"><type><classname>int_adapter</classname></type><parameter name="rhs"><paramtype>const <classname>int_adapter</classname> &amp;</paramtype></parameter><purpose>Assumes at least 'this' or 'rhs' is a special value. </purpose></method>
  1268. <method name="mult_div_specials" cv="const"><type><classname>int_adapter</classname></type><parameter name="rhs"><paramtype>const int &amp;</paramtype></parameter><purpose>Assumes 'this' is a special value. </purpose></method>
  1269. </method-group>
  1270. </class>
  1271. <function name="operator&lt;&lt;"><type>std::basic_ostream&lt; charT, traits &gt; &amp;</type><template>
  1272. <template-type-parameter name="charT"/>
  1273. <template-type-parameter name="traits"/>
  1274. <template-type-parameter name="int_type"/>
  1275. </template><parameter name="os"><paramtype>std::basic_ostream&lt; charT, traits &gt; &amp;</paramtype></parameter><parameter name="ia"><paramtype>const <classname>int_adapter</classname>&lt; int_type &gt; &amp;</paramtype></parameter><description><para>Expected output is either a numeric representation or a special values representation.<sbr/>
  1276. Ex. "12", "+infinity", "not-a-number", etc. </para></description></function>
  1277. </namespace>
  1278. </namespace>
  1279. </header>
  1280. <header name="boost/date_time/iso_format.hpp">
  1281. <namespace name="boost">
  1282. <namespace name="date_time">
  1283. <class name="iso_extended_format"><template>
  1284. <template-type-parameter name="charT"/>
  1285. </template><inherit access="public">boost::date_time::iso_format_base&lt; charT &gt;</inherit><purpose>Extended format uses seperators YYYY-MM-DD. </purpose><method-group name="public static functions">
  1286. <method name="has_date_sep_chars" specifiers="static"><type>bool</type><purpose>Extended format needs char separators. </purpose></method>
  1287. </method-group>
  1288. </class><class name="iso_format"><template>
  1289. <template-type-parameter name="charT"/>
  1290. </template><inherit access="public">boost::date_time::iso_format_base&lt; charT &gt;</inherit><purpose>Format description for iso normal YYYYMMDD. </purpose><method-group name="public static functions">
  1291. <method name="has_date_sep_chars" specifiers="static"><type>bool</type><purpose>The ios standard format doesn't use char separators. </purpose></method>
  1292. </method-group>
  1293. </class><class name="iso_format_base"><template>
  1294. <template-type-parameter name="charT"/>
  1295. </template><purpose>Class to provide common iso formatting spec. </purpose><method-group name="public static functions">
  1296. <method name="month_format" specifiers="static"><type>month_format_spec</type><purpose>Describe month format – its an integer in iso format. </purpose></method>
  1297. <method name="not_a_date" specifiers="static"><type>const charT *</type><purpose>String used printed is date is invalid. </purpose></method>
  1298. <method name="pos_infinity" specifiers="static"><type>const charT *</type><purpose>String used to for positive infinity value. </purpose></method>
  1299. <method name="neg_infinity" specifiers="static"><type>const charT *</type><purpose>String used to for positive infinity value. </purpose></method>
  1300. <method name="year_sep_char" specifiers="static"><type>charT</type><purpose>ISO char for a year – used in durations. </purpose></method>
  1301. <method name="month_sep_char" specifiers="static"><type>charT</type><purpose>ISO char for a month. </purpose></method>
  1302. <method name="day_sep_char" specifiers="static"><type>charT</type><purpose>ISO char for a day. </purpose></method>
  1303. <method name="hour_sep_char" specifiers="static"><type>charT</type><purpose>char for minute </purpose></method>
  1304. <method name="minute_sep_char" specifiers="static"><type>charT</type><purpose>char for minute </purpose></method>
  1305. <method name="second_sep_char" specifiers="static"><type>charT</type><purpose>char for second </purpose></method>
  1306. <method name="period_start_char" specifiers="static"><type>charT</type><purpose>ISO char for a period. </purpose></method>
  1307. <method name="time_start_char" specifiers="static"><type>charT</type><purpose>Used in time in mixed strings to set start of time. </purpose></method>
  1308. <method name="week_start_char" specifiers="static"><type>charT</type><purpose>Used in mixed strings to identify start of a week number. </purpose></method>
  1309. <method name="period_sep_char" specifiers="static"><type>charT</type><purpose>Separators for periods. </purpose></method>
  1310. <method name="time_sep_char" specifiers="static"><type>charT</type><purpose>Separator for hh:mm:ss. </purpose></method>
  1311. <method name="fractional_time_sep_char" specifiers="static"><type>charT</type><purpose>Preferred Separator for hh:mm:ss,decimal_fraction. </purpose></method>
  1312. <method name="is_component_sep" specifiers="static"><type>bool</type><parameter name="sep"><paramtype>charT</paramtype></parameter></method>
  1313. <method name="is_fractional_time_sep" specifiers="static"><type>bool</type><parameter name="sep"><paramtype>charT</paramtype></parameter></method>
  1314. <method name="is_timezone_sep" specifiers="static"><type>bool</type><parameter name="sep"><paramtype>charT</paramtype></parameter></method>
  1315. <method name="element_sep_char" specifiers="static"><type>charT</type></method>
  1316. </method-group>
  1317. </class><class-specialization name="iso_format_base"><template>
  1318. </template><specialization><template-arg>wchar_t</template-arg></specialization><purpose>Class to provide common iso formatting spec. </purpose><method-group name="public static functions">
  1319. <method name="month_format" specifiers="static"><type>month_format_spec</type><purpose>Describe month format – its an integer in iso format. </purpose></method>
  1320. <method name="not_a_date" specifiers="static"><type>const wchar_t *</type><purpose>String used printed is date is invalid. </purpose></method>
  1321. <method name="pos_infinity" specifiers="static"><type>const wchar_t *</type><purpose>String used to for positive infinity value. </purpose></method>
  1322. <method name="neg_infinity" specifiers="static"><type>const wchar_t *</type><purpose>String used to for positive infinity value. </purpose></method>
  1323. <method name="year_sep_char" specifiers="static"><type>wchar_t</type><purpose>ISO char for a year – used in durations. </purpose></method>
  1324. <method name="month_sep_char" specifiers="static"><type>wchar_t</type><purpose>ISO char for a month. </purpose></method>
  1325. <method name="day_sep_char" specifiers="static"><type>wchar_t</type><purpose>ISO char for a day. </purpose></method>
  1326. <method name="hour_sep_char" specifiers="static"><type>wchar_t</type><purpose>char for minute </purpose></method>
  1327. <method name="minute_sep_char" specifiers="static"><type>wchar_t</type><purpose>char for minute </purpose></method>
  1328. <method name="second_sep_char" specifiers="static"><type>wchar_t</type><purpose>char for second </purpose></method>
  1329. <method name="period_start_char" specifiers="static"><type>wchar_t</type><purpose>ISO char for a period. </purpose></method>
  1330. <method name="time_start_char" specifiers="static"><type>wchar_t</type><purpose>Used in time in mixed strings to set start of time. </purpose></method>
  1331. <method name="week_start_char" specifiers="static"><type>wchar_t</type><purpose>Used in mixed strings to identify start of a week number. </purpose></method>
  1332. <method name="period_sep_char" specifiers="static"><type>wchar_t</type><purpose>Separators for periods. </purpose></method>
  1333. <method name="time_sep_char" specifiers="static"><type>wchar_t</type><purpose>Separator for hh:mm:ss. </purpose></method>
  1334. <method name="fractional_time_sep_char" specifiers="static"><type>wchar_t</type><purpose>Preferred Separator for hh:mm:ss,decimal_fraction. </purpose></method>
  1335. <method name="is_component_sep" specifiers="static"><type>bool</type><parameter name="sep"><paramtype>wchar_t</paramtype></parameter></method>
  1336. <method name="is_fractional_time_sep" specifiers="static"><type>bool</type><parameter name="sep"><paramtype>wchar_t</paramtype></parameter></method>
  1337. <method name="is_timezone_sep" specifiers="static"><type>bool</type><parameter name="sep"><paramtype>wchar_t</paramtype></parameter></method>
  1338. <method name="element_sep_char" specifiers="static"><type>wchar_t</type></method>
  1339. </method-group>
  1340. </class-specialization>
  1341. </namespace>
  1342. </namespace>
  1343. </header>
  1344. <header name="boost/date_time/local_time_adjustor.hpp">
  1345. <para>Time adjustment calculations for local times </para><namespace name="boost">
  1346. <namespace name="date_time">
  1347. <class name="dynamic_local_time_adjustor"><template>
  1348. <template-type-parameter name="time_type"/>
  1349. <template-type-parameter name="dst_rules"/>
  1350. </template><inherit access="public">dst_rules</inherit><purpose>Allow sliding utc adjustment with fixed dst rules. </purpose><typedef name="time_duration_type"><type>time_type::time_duration_type</type></typedef>
  1351. <typedef name="date_type"><type>time_type::date_type</type></typedef>
  1352. <method-group name="public member functions">
  1353. <method name="utc_offset"><type>time_duration_type</type><parameter name="is_dst"><paramtype>bool</paramtype></parameter><purpose>Presumes local time. </purpose></method>
  1354. </method-group>
  1355. <constructor><parameter name="utc_offset"><paramtype>time_duration_type</paramtype></parameter></constructor>
  1356. </class><class name="local_adjustor"><template>
  1357. <template-type-parameter name="time_type"/>
  1358. <template-nontype-parameter name="utc_offset"><type>short</type></template-nontype-parameter>
  1359. <template-type-parameter name="dst_rule"/>
  1360. </template><purpose>Template that simplifies the creation of local time calculator. </purpose><description><para>Use this template to create the timezone to utc convertors as required.</para><para>This class will also work for other regions that don't use dst and have a utc offset which is an integral number of hours.</para><para><emphasis role="bold">Template Parameters</emphasis> -time_type – Time class to use -utc_offset – Number hours local time is adjust from utc -use_dst – true (default) if region uses dst, false otherwise For example: <programlisting language="c++"> //eastern timezone is utc-5
  1361. typedef date_time::local_adjustor&lt;ptime, -5, us_dst&gt; us_eastern;
  1362. typedef date_time::local_adjustor&lt;ptime, -6, us_dst&gt; us_central;
  1363. typedef date_time::local_adjustor&lt;ptime, -7, us_dst&gt; us_mountain;
  1364. typedef date_time::local_adjustor&lt;ptime, -8, us_dst&gt; us_pacific;
  1365. typedef date_time::local_adjustor&lt;ptime, -7, no_dst&gt; us_arizona;
  1366. </programlisting> </para></description><typedef name="time_duration_type"><type>time_type::time_duration_type</type></typedef>
  1367. <typedef name="date_type"><type>time_type::date_type</type></typedef>
  1368. <typedef name="dst_adjustor"><type><classname>static_local_time_adjustor</classname>&lt; time_type, dst_rule, <classname>utc_adjustment</classname>&lt; time_duration_type, utc_offset &gt; &gt;</type></typedef>
  1369. <method-group name="public static functions">
  1370. <method name="utc_to_local" specifiers="static"><type>time_type</type><parameter name="t"><paramtype>const time_type &amp;</paramtype></parameter><purpose>Convert a utc time to local time. </purpose></method>
  1371. <method name="local_to_utc" specifiers="static"><type>time_type</type><parameter name="t"><paramtype>const time_type &amp;</paramtype></parameter><parameter name="dst"><paramtype>date_time::dst_flags</paramtype><default>date_time::calculate</default></parameter><purpose>Convert a local time to utc. </purpose></method>
  1372. </method-group>
  1373. </class><class name="static_local_time_adjustor"><template>
  1374. <template-type-parameter name="time_type"/>
  1375. <template-type-parameter name="dst_rules"/>
  1376. <template-type-parameter name="utc_offset_rules"/>
  1377. </template><inherit access="public">dst_rules</inherit><inherit access="public">utc_offset_rules</inherit><purpose>Embed the rules for local time adjustments at compile time. </purpose><typedef name="time_duration_type"><type>time_type::time_duration_type</type></typedef>
  1378. <typedef name="date_type"><type>time_type::date_type</type></typedef>
  1379. <method-group name="public static functions">
  1380. <method name="utc_to_local_offset" specifiers="static"><type>time_duration_type</type><parameter name="t"><paramtype>const time_type &amp;</paramtype><description><para>UTC time to calculate offset to local time This adjustment depends on the following observations about the workings of the DST boundary offset. Since UTC time labels are monotonically increasing we can determine if a given local time is in DST or not and therefore adjust the offset appropriately.</para></description></parameter><purpose>Calculates the offset from a utc time to local based on dst and utc offset. </purpose><description><para>
  1381. The logic is as follows. Starting with UTC time use the offset to create a label for an non-dst adjusted local time. Then call dst_rules::local_is_dst with the non adjust local time. The results of this function will either unabiguously decide that the initial local time is in dst or return an illegal or ambiguous result. An illegal result only occurs at the end of dst (where labels are skipped) and indicates that dst has ended. An ambiguous result means that we need to recheck by making a dst adjustment and then rechecking. If the dst offset is added to the utc time and the recheck proves non-ambiguous then we are past the boundary. If it is still ambiguous then we are ahead of the boundary and dst is still in effect.</para><para>TODO – check if all dst offsets are positive. If not then the algorithm needs to check for this and reverse the illegal/ambiguous logic. </para></description></method>
  1382. <method name="local_to_utc_offset" specifiers="static"><type>time_duration_type</type><parameter name="t"><paramtype>const time_type &amp;</paramtype></parameter><parameter name="dst"><paramtype>date_time::dst_flags</paramtype><default>date_time::calculate</default></parameter><purpose>Get the offset to UTC given a local time. </purpose></method>
  1383. </method-group>
  1384. </class><class name="utc_adjustment"><template>
  1385. <template-type-parameter name="time_duration_type"/>
  1386. <template-nontype-parameter name="hours"><type>short</type></template-nontype-parameter>
  1387. <template-nontype-parameter name="minutes"><type>unsigned short</type><default>0</default></template-nontype-parameter>
  1388. </template><purpose>Provides a base offset adjustment from utc. </purpose><method-group name="public static functions">
  1389. <method name="local_to_utc_base_offset" specifiers="static"><type>time_duration_type</type></method>
  1390. <method name="utc_to_local_base_offset" specifiers="static"><type>time_duration_type</type></method>
  1391. </method-group>
  1392. </class>
  1393. <function name="dummy_to_prevent_msvc6_ice"><type>void</type></function>
  1394. </namespace>
  1395. </namespace>
  1396. </header>
  1397. <header name="boost/date_time/local_timezone_defs.hpp">
  1398. <namespace name="boost">
  1399. <namespace name="date_time">
  1400. <struct name="acst_dst_trait"><template>
  1401. <template-type-parameter name="date_type"/>
  1402. </template><typedef name="day_of_week_type"><type>date_type::day_of_week_type</type></typedef>
  1403. <typedef name="month_type"><type>date_type::month_type</type></typedef>
  1404. <typedef name="year_type"><type>date_type::year_type</type></typedef>
  1405. <typedef name="start_rule_functor"><type><classname>date_time::last_kday_of_month</classname>&lt; date_type &gt;</type></typedef>
  1406. <typedef name="end_rule_functor"><type><classname>date_time::last_kday_of_month</classname>&lt; date_type &gt;</type></typedef>
  1407. <method-group name="public static functions">
  1408. <method name="start_day" specifiers="static"><type>day_of_week_type</type><parameter name=""><paramtype>year_type</paramtype></parameter></method>
  1409. <method name="start_month" specifiers="static"><type>month_type</type><parameter name=""><paramtype>year_type</paramtype></parameter></method>
  1410. <method name="end_day" specifiers="static"><type>day_of_week_type</type><parameter name=""><paramtype>year_type</paramtype></parameter></method>
  1411. <method name="end_month" specifiers="static"><type>month_type</type><parameter name=""><paramtype>year_type</paramtype></parameter></method>
  1412. <method name="dst_start_offset_minutes" specifiers="static"><type>int</type></method>
  1413. <method name="dst_end_offset_minutes" specifiers="static"><type>int</type></method>
  1414. <method name="dst_shift_length_minutes" specifiers="static"><type>int</type></method>
  1415. <method name="local_dst_start_day" specifiers="static"><type>date_type</type><parameter name="year"><paramtype>year_type</paramtype></parameter></method>
  1416. <method name="local_dst_end_day" specifiers="static"><type>date_type</type><parameter name="year"><paramtype>year_type</paramtype></parameter></method>
  1417. </method-group>
  1418. </struct><struct name="eu_dst_trait"><template>
  1419. <template-type-parameter name="date_type"/>
  1420. </template><purpose>Rules for daylight savings start in the EU (Last Sun in Mar) </purpose><description><para>These amount to the following:<itemizedlist>
  1421. <listitem><para>Start of dst day is last Sunday in March</para>
  1422. </listitem><listitem><para>End day of dst is last Sunday in Oct</para>
  1423. </listitem><listitem><para>Going forward switch time is 2:00 am (offset 120 minutes)</para>
  1424. </listitem><listitem><para>Going back switch time is 3:00 am (off set 180 minutes)</para>
  1425. </listitem><listitem><para>Shift duration is one hour (60 minutes) </para>
  1426. </listitem></itemizedlist>
  1427. </para></description><typedef name="day_of_week_type"><type>date_type::day_of_week_type</type></typedef>
  1428. <typedef name="month_type"><type>date_type::month_type</type></typedef>
  1429. <typedef name="year_type"><type>date_type::year_type</type></typedef>
  1430. <typedef name="start_rule_functor"><type><classname>date_time::last_kday_of_month</classname>&lt; date_type &gt;</type></typedef>
  1431. <typedef name="end_rule_functor"><type><classname>date_time::last_kday_of_month</classname>&lt; date_type &gt;</type></typedef>
  1432. <method-group name="public static functions">
  1433. <method name="start_day" specifiers="static"><type>day_of_week_type</type><parameter name=""><paramtype>year_type</paramtype></parameter></method>
  1434. <method name="start_month" specifiers="static"><type>month_type</type><parameter name=""><paramtype>year_type</paramtype></parameter></method>
  1435. <method name="end_day" specifiers="static"><type>day_of_week_type</type><parameter name=""><paramtype>year_type</paramtype></parameter></method>
  1436. <method name="end_month" specifiers="static"><type>month_type</type><parameter name=""><paramtype>year_type</paramtype></parameter></method>
  1437. <method name="dst_start_offset_minutes" specifiers="static"><type>int</type></method>
  1438. <method name="dst_end_offset_minutes" specifiers="static"><type>int</type></method>
  1439. <method name="dst_shift_length_minutes" specifiers="static"><type>int</type></method>
  1440. <method name="local_dst_start_day" specifiers="static"><type>date_type</type><parameter name="year"><paramtype>year_type</paramtype></parameter></method>
  1441. <method name="local_dst_end_day" specifiers="static"><type>date_type</type><parameter name="year"><paramtype>year_type</paramtype></parameter></method>
  1442. </method-group>
  1443. </struct><struct name="uk_dst_trait"><template>
  1444. <template-type-parameter name="date_type"/>
  1445. </template><inherit access="public">boost::date_time::eu_dst_trait&lt; date_type &gt;</inherit><purpose>Alternative dst traits for some parts of the United Kingdom. </purpose><method-group name="public static functions">
  1446. <method name="dst_start_offset_minutes" specifiers="static"><type>int</type></method>
  1447. <method name="dst_end_offset_minutes" specifiers="static"><type>int</type></method>
  1448. <method name="dst_shift_length_minutes" specifiers="static"><type>int</type></method>
  1449. </method-group>
  1450. </struct><struct name="us_dst_trait"><template>
  1451. <template-type-parameter name="date_type"/>
  1452. </template><purpose>Specification for daylight savings start rules in US. </purpose><description><para>This class is used to configure <classname alt="boost::date_time::dst_calc_engine">dst_calc_engine</classname> template typically as follows: <programlisting language="c++">using namespace boost::gregorian;
  1453. using namespace boost::posix_time;
  1454. typedef us_dst_trait&lt;date&gt; us_dst_traits;
  1455. typedef boost::date_time::dst_calc_engine&lt;date, time_duration,
  1456. us_dst_traits&gt;
  1457. us_dst_calc;
  1458. //calculate the 2002 transition day of USA April 7 2002
  1459. date dst_start = us_dst_calc::local_dst_start_day(2002);
  1460. //calculate the 2002 transition day of USA Oct 27 2002
  1461. date dst_end = us_dst_calc::local_dst_end_day(2002);
  1462. //check if a local time is in dst or not -- posible answers
  1463. //are yes, no, invalid time label, ambiguous
  1464. ptime t(...some time...);
  1465. if (us_dst::local_is_dst(t.date(), t.time_of_day())
  1466. == boost::date_time::is_not_in_dst)
  1467. {
  1468. }
  1469. </programlisting> This generates a type suitable for the calculation of dst transitions for the United States. Of course other templates can be used for other locales. </para></description><typedef name="day_of_week_type"><type>date_type::day_of_week_type</type></typedef>
  1470. <typedef name="month_type"><type>date_type::month_type</type></typedef>
  1471. <typedef name="year_type"><type>date_type::year_type</type></typedef>
  1472. <typedef name="start_rule_functor"><type><classname>date_time::nth_kday_of_month</classname>&lt; date_type &gt;</type></typedef>
  1473. <typedef name="end_rule_functor"><type><classname>date_time::first_kday_of_month</classname>&lt; date_type &gt;</type></typedef>
  1474. <typedef name="start_rule_functor_pre2007"><type><classname>date_time::first_kday_of_month</classname>&lt; date_type &gt;</type></typedef>
  1475. <typedef name="end_rule_functor_pre2007"><type><classname>date_time::last_kday_of_month</classname>&lt; date_type &gt;</type></typedef>
  1476. <method-group name="public static functions">
  1477. <method name="start_day" specifiers="static"><type>day_of_week_type</type><parameter name=""><paramtype>year_type</paramtype></parameter></method>
  1478. <method name="start_month" specifiers="static"><type>month_type</type><parameter name="y"><paramtype>year_type</paramtype></parameter></method>
  1479. <method name="end_day" specifiers="static"><type>day_of_week_type</type><parameter name=""><paramtype>year_type</paramtype></parameter></method>
  1480. <method name="end_month" specifiers="static"><type>month_type</type><parameter name="y"><paramtype>year_type</paramtype></parameter></method>
  1481. <method name="local_dst_start_day" specifiers="static"><type>date_type</type><parameter name="year"><paramtype>year_type</paramtype></parameter></method>
  1482. <method name="local_dst_end_day" specifiers="static"><type>date_type</type><parameter name="year"><paramtype>year_type</paramtype></parameter></method>
  1483. <method name="dst_start_offset_minutes" specifiers="static"><type>int</type></method>
  1484. <method name="dst_end_offset_minutes" specifiers="static"><type>int</type></method>
  1485. <method name="dst_shift_length_minutes" specifiers="static"><type>int</type></method>
  1486. </method-group>
  1487. </struct>
  1488. </namespace>
  1489. </namespace>
  1490. </header>
  1491. <header name="boost/date_time/locale_config.hpp">
  1492. </header>
  1493. <header name="boost/date_time/microsec_time_clock.hpp">
  1494. <para>This file contains a high resolution time clock implementation. </para><namespace name="boost">
  1495. <namespace name="date_time">
  1496. <class name="microsec_clock"><template>
  1497. <template-type-parameter name="time_type"/>
  1498. </template><purpose>A clock providing microsecond level resolution. </purpose><description><para>A high precision clock that measures the local time at a resolution up to microseconds and adjusts to the resolution of the time system. For example, for the a library configuration with nano second resolution, the last 3 places of the fractional seconds will always be 000 since there are 1000 nano-seconds in a micro second. </para></description><typedef name="date_type"><type>time_type::date_type</type></typedef>
  1499. <typedef name="time_duration_type"><type>time_type::time_duration_type</type></typedef>
  1500. <typedef name="resolution_traits_type"><type>time_duration_type::rep_type</type></typedef>
  1501. <method-group name="public static functions">
  1502. <method name="local_time" specifiers="static"><type>time_type</type><template>
  1503. <template-type-parameter name="time_zone_type"/>
  1504. </template><parameter name="tz_ptr"><paramtype>shared_ptr&lt; time_zone_type &gt;</paramtype></parameter><purpose>return a local time object for the given zone, based on computer clock </purpose></method>
  1505. <method name="local_time" specifiers="static"><type>time_type</type><purpose>Returns the local time based on computer clock settings. </purpose></method>
  1506. <method name="universal_time" specifiers="static"><type>time_type</type><purpose>Returns the UTC time based on computer settings. </purpose></method>
  1507. </method-group>
  1508. <method-group name="private static functions">
  1509. <method name="create_time" specifiers="static"><type>time_type</type><parameter name="converter"><paramtype>time_converter</paramtype></parameter></method>
  1510. <method name="file_time_to_microseconds" specifiers="static"><type>boost::uint64_t</type><parameter name="ft"><paramtype>boost::winapi::FILETIME_ const &amp;</paramtype></parameter><description><para>The function converts file_time into number of microseconds elapsed since 1970-Jan-01</para><para><note><para>Only dates after 1970-Jan-01 are supported. Dates before will be wrapped. </para>
  1511. </note>
  1512. </para></description></method>
  1513. </method-group>
  1514. </class>
  1515. </namespace>
  1516. </namespace>
  1517. </header>
  1518. <header name="boost/date_time/parse_format_base.hpp">
  1519. <namespace name="boost">
  1520. <namespace name="date_time">
  1521. <enum name="month_format_spec"><enumvalue name="month_as_integer"/><enumvalue name="month_as_short_string"/><enumvalue name="month_as_long_string"/><purpose>Enum for distinguishing parsing and formatting options. </purpose></enum>
  1522. <enum name="ymd_order_spec"><enumvalue name="ymd_order_iso"/><enumvalue name="ymd_order_dmy"/><enumvalue name="ymd_order_us"/><purpose>Enum for distinguishing the order of Month, Day, &amp; Year. </purpose><description><para>Enum for distinguishing the order in which Month, Day, &amp; Year will appear in a date string </para></description></enum>
  1523. </namespace>
  1524. </namespace>
  1525. </header>
  1526. <header name="boost/date_time/period.hpp">
  1527. <para>This file contain the implementation of the period abstraction. This is basically the same idea as a range. Although this class is intended for use in the time library, it is pretty close to general enough for other numeric uses. </para><namespace name="boost">
  1528. <namespace name="date_time">
  1529. <class name="period"><template>
  1530. <template-type-parameter name="point_rep"/>
  1531. <template-type-parameter name="duration_rep"/>
  1532. </template><inherit access="private">boost::less_than_comparable&lt; period&lt; point_rep, duration_rep &gt;, boost::equality_comparable&lt; period&lt; point_rep, duration_rep &gt; &gt; &gt;</inherit><purpose>Provides generalized period type useful in date-time systems. </purpose><description><para>This template uses a class to represent a time point within the period and another class to represent a duration. As a result, this class is not appropriate for use when the number and duration representation are the same (eg: in the regular number domain).</para><para>A period can be specified by providing either the begining point and a duration or the begining point and the end point( end is NOT part of the period but 1 unit past it. A period will be "invalid" if either end_point &lt;= begin_point or the given duration is &lt;= 0. Any valid period will return false for is_null().</para><para>Zero length periods are also considered invalid. Zero length periods are periods where the begining and end points are the same, or, the given duration is zero. For a zero length period, the last point will be one unit less than the begining point.</para><para>In the case that the begin and last are the same, the period has a length of one unit.</para><para>The best way to handle periods is usually to provide a begining point and a duration. So, day1 + 7 days is a week period which includes all of the first day and 6 more days (eg: Sun to Sat). </para></description><typedef name="point_type"><type>point_rep</type></typedef>
  1533. <typedef name="duration_type"><type>duration_rep</type></typedef>
  1534. <method-group name="public member functions">
  1535. <method name="begin" cv="const"><type>point_rep</type><purpose>Return the first element in the period. </purpose></method>
  1536. <method name="end" cv="const"><type>point_rep</type><purpose>Return one past the last element. </purpose></method>
  1537. <method name="last" cv="const"><type>point_rep</type><purpose>Return the last item in the period. </purpose></method>
  1538. <method name="length" cv="const"><type>duration_rep</type><purpose>Return the length of the period. </purpose></method>
  1539. <method name="is_null" cv="const"><type>bool</type><purpose>True if period is ill formed (length is zero or less) </purpose></method>
  1540. <method name="operator==" cv="const"><type>bool</type><parameter name="rhs"><paramtype>const <classname>period</classname> &amp;</paramtype></parameter><purpose>Equality operator. </purpose></method>
  1541. <method name="operator&lt;" cv="const"><type>bool</type><parameter name="rhs"><paramtype>const <classname>period</classname> &amp;</paramtype></parameter><purpose>Strict as defined by rhs.last &lt;= lhs.last. </purpose></method>
  1542. <method name="shift"><type>void</type><parameter name="d"><paramtype>const duration_rep &amp;</paramtype></parameter><purpose>Shift the start and end by the specified amount. </purpose></method>
  1543. <method name="expand"><type>void</type><parameter name="d"><paramtype>const duration_rep &amp;</paramtype></parameter><description><para>Expands the size of the period by the duration on both ends.</para><para>So before expand <programlisting language="c++"> [-------]
  1544. ^ ^ ^ ^ ^ ^ ^
  1545. 1 2 3 4 5 6 7
  1546. </programlisting> After expand(2) <programlisting language="c++">[----------------------]
  1547. ^ ^ ^ ^ ^ ^ ^
  1548. 1 2 3 4 5 6 7
  1549. </programlisting> </para></description></method>
  1550. <method name="contains" cv="const"><type>bool</type><parameter name="point"><paramtype>const point_rep &amp;</paramtype></parameter><purpose>True if the point is inside the period, zero length periods contain no points. </purpose></method>
  1551. <method name="contains" cv="const"><type>bool</type><parameter name="other"><paramtype>const <classname>period</classname> &amp;</paramtype></parameter><purpose>True if this period fully contains (or equals) the other period. </purpose></method>
  1552. <method name="intersects" cv="const"><type>bool</type><parameter name="other"><paramtype>const <classname>period</classname> &amp;</paramtype></parameter><purpose>True if the periods overlap in any way. </purpose></method>
  1553. <method name="is_adjacent" cv="const"><type>bool</type><parameter name="other"><paramtype>const <classname>period</classname> &amp;</paramtype></parameter><purpose>True if periods are next to each other without a gap. </purpose></method>
  1554. <method name="is_before" cv="const"><type>bool</type><parameter name="point"><paramtype>const point_rep &amp;</paramtype></parameter><purpose>True if all of the period is prior to the passed point or end &lt;= t. </purpose></method>
  1555. <method name="is_after" cv="const"><type>bool</type><parameter name="point"><paramtype>const point_rep &amp;</paramtype></parameter><purpose>True if all of the period is prior or t &lt; start. </purpose></method>
  1556. <method name="intersection" cv="const"><type><classname>period</classname></type><parameter name="other"><paramtype>const <classname>period</classname> &amp;</paramtype></parameter><purpose>Returns the period of intersection or invalid range no intersection. </purpose></method>
  1557. <method name="merge" cv="const"><type><classname>period</classname></type><parameter name="other"><paramtype>const <classname>period</classname> &amp;</paramtype></parameter><purpose>Returns the union of intersecting periods – or null period. </purpose></method>
  1558. <method name="span" cv="const"><type><classname>period</classname></type><parameter name="other"><paramtype>const <classname>period</classname> &amp;</paramtype></parameter><purpose>Combine two periods with earliest start and latest end. </purpose><description><para>Combines two periods and any gap between them such that start = min(p1.start, p2.start) end = max(p1.end , p2.end) <programlisting language="c++"> [---p1---)
  1559. [---p2---)
  1560. result:
  1561. [-----------p3----------)
  1562. </programlisting> </para></description></method>
  1563. </method-group>
  1564. <constructor><parameter name="first_point"><paramtype>point_rep</paramtype></parameter><parameter name="end_point"><paramtype>point_rep</paramtype></parameter><purpose>create a period from begin to last eg: [begin,end) </purpose><description><para>If end &lt;= begin then the period will be invalid </para></description></constructor>
  1565. <constructor><parameter name="first_point"><paramtype>point_rep</paramtype></parameter><parameter name="len"><paramtype>duration_rep</paramtype></parameter><purpose>create a period as [begin, begin+len) </purpose><description><para>If len is &lt;= 0 then the period will be invalid </para></description></constructor>
  1566. </class>
  1567. </namespace>
  1568. </namespace>
  1569. </header>
  1570. <header name="boost/date_time/period_formatter.hpp">
  1571. <namespace name="boost">
  1572. <namespace name="date_time">
  1573. <class name="period_formatter"><template>
  1574. <template-type-parameter name="CharT"/>
  1575. <template-type-parameter name="OutItrT"><default>std::ostreambuf_iterator&lt;CharT, std::char_traits&lt;CharT&gt; &gt;</default></template-type-parameter>
  1576. </template><purpose>Not a facet, but a class used to specify and control period formats. </purpose><description><para>Provides settings for the following:<itemizedlist>
  1577. <listitem><para>period_separator – default '/'</para>
  1578. </listitem><listitem><para>period_open_start_delimeter – default '['</para>
  1579. </listitem><listitem><para>period_open_range_end_delimeter – default ')'</para>
  1580. </listitem><listitem><para>period_closed_range_end_delimeter – default ']'</para>
  1581. </listitem><listitem><para>display_as_open_range, display_as_closed_range – default closed_range</para>
  1582. </listitem></itemizedlist>
  1583. </para><para>Thus the default formatting for a period is as follows: <programlisting language="c++">[period.start()/period.last()]
  1584. </programlisting> So for a typical date_period this would be <programlisting language="c++">[2004-Jan-04/2004-Feb-01]
  1585. </programlisting> where the date formatting is controlled by the date facet </para></description><enum name="range_display_options"><enumvalue name="AS_OPEN_RANGE"/><enumvalue name="AS_CLOSED_RANGE"/></enum>
  1586. <typedef name="string_type"><type>std::basic_string&lt; CharT &gt;</type></typedef>
  1587. <typedef name="char_type"><type>CharT</type></typedef>
  1588. <typedef name="const_itr_type"><type>std::basic_string&lt; char_type &gt;::const_iterator</type></typedef>
  1589. <typedef name="collection_type"><type>std::vector&lt; std::basic_string&lt; CharT &gt; &gt;</type></typedef>
  1590. <data-member name="default_period_separator" specifiers="static"><type>const char_type</type></data-member>
  1591. <data-member name="default_period_start_delimeter" specifiers="static"><type>const char_type</type></data-member>
  1592. <data-member name="default_period_open_range_end_delimeter" specifiers="static"><type>const char_type</type></data-member>
  1593. <data-member name="default_period_closed_range_end_delimeter" specifiers="static"><type>const char_type</type></data-member>
  1594. <method-group name="public member functions">
  1595. <method name="put_period_separator" cv="const"><type>OutItrT</type><parameter name="oitr"><paramtype>OutItrT &amp;</paramtype></parameter><purpose>Puts the characters between period elements into stream – default is /. </purpose></method>
  1596. <method name="put_period_start_delimeter" cv="const"><type>OutItrT</type><parameter name="oitr"><paramtype>OutItrT &amp;</paramtype></parameter><purpose>Puts the period start characters into stream – default is [. </purpose></method>
  1597. <method name="put_period_end_delimeter" cv="const"><type>OutItrT</type><parameter name="oitr"><paramtype>OutItrT &amp;</paramtype></parameter><purpose>Puts the period end characters into stream as controled by open/closed range setting. </purpose></method>
  1598. <method name="range_option" cv="const"><type>range_display_options</type></method>
  1599. <method name="range_option" cv="const"><type>void</type><parameter name="option"><paramtype>range_display_options</paramtype></parameter><purpose>Reset the range_option control. </purpose></method>
  1600. <method name="delimiter_strings"><type>void</type><parameter name="separator"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="start_delim"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="open_end_delim"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="closed_end_delim"><paramtype>const string_type &amp;</paramtype></parameter><purpose>Change the delimiter strings. </purpose></method>
  1601. <method name="put_period" cv="const"><type>OutItrT</type><template>
  1602. <template-type-parameter name="period_type"/>
  1603. <template-type-parameter name="facet_type"/>
  1604. </template><parameter name="next"><paramtype>OutItrT</paramtype></parameter><parameter name="a_ios"><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="a_fill"><paramtype>char_type</paramtype></parameter><parameter name="p"><paramtype>const period_type &amp;</paramtype></parameter><parameter name="facet"><paramtype>const facet_type &amp;</paramtype></parameter><purpose>Generic code to output a period – no matter the period type. </purpose><description><para>This generic code will output any period using a facet to to output the 'elements'. For example, in the case of a date_period the elements will be instances of a date which will be formatted according the to setup in the passed facet parameter.</para><para>The steps for formatting a period are always the same:<itemizedlist>
  1605. <listitem><para>put the start delimiter</para>
  1606. </listitem><listitem><para>put start element</para>
  1607. </listitem><listitem><para>put the separator</para>
  1608. </listitem><listitem><para>put either last or end element depending on range settings</para>
  1609. </listitem><listitem><para>put end delimeter depending on range settings</para>
  1610. </listitem></itemizedlist>
  1611. </para><para>Thus for a typical date period the result might look like this: <programlisting language="c++">[March 01, 2004/June 07, 2004] &lt;-- closed range
  1612. [March 01, 2004/June 08, 2004) &lt;-- open range
  1613. </programlisting> </para></description></method>
  1614. </method-group>
  1615. <constructor><parameter name="range_option_in"><paramtype>range_display_options</paramtype><default>AS_CLOSED_RANGE</default></parameter><parameter name="period_separator"><paramtype>const char_type *const</paramtype><default>default_period_separator</default></parameter><parameter name="period_start_delimeter"><paramtype>const char_type *const</paramtype><default>default_period_start_delimeter</default></parameter><parameter name="period_open_range_end_delimeter"><paramtype>const char_type *const</paramtype><default>default_period_open_range_end_delimeter</default></parameter><parameter name="period_closed_range_end_delimeter"><paramtype>const char_type *const</paramtype><default>default_period_closed_range_end_delimeter</default></parameter><purpose>Constructor that sets up period formatter options – default should suffice most cases. </purpose></constructor>
  1616. </class>
  1617. </namespace>
  1618. </namespace>
  1619. </header>
  1620. <header name="boost/date_time/period_parser.hpp">
  1621. <namespace name="boost">
  1622. <namespace name="date_time">
  1623. <class name="period_parser"><template>
  1624. <template-type-parameter name="date_type"/>
  1625. <template-type-parameter name="CharT"/>
  1626. </template><purpose>Not a facet, but a class used to specify and control period parsing. </purpose><description><para>Provides settings for the following:<itemizedlist>
  1627. <listitem><para>period_separator – default '/'</para>
  1628. </listitem><listitem><para>period_open_start_delimeter – default '['</para>
  1629. </listitem><listitem><para>period_open_range_end_delimeter – default ')'</para>
  1630. </listitem><listitem><para>period_closed_range_end_delimeter – default ']'</para>
  1631. </listitem><listitem><para>display_as_open_range, display_as_closed_range – default closed_range</para>
  1632. </listitem></itemizedlist>
  1633. </para><para>For a typical date_period, the contents of the input stream would be <programlisting language="c++">[2004-Jan-04/2004-Feb-01]
  1634. </programlisting> where the date format is controlled by the date facet </para></description><enum name="period_range_option"><enumvalue name="AS_OPEN_RANGE"/><enumvalue name="AS_CLOSED_RANGE"/></enum>
  1635. <typedef name="string_type"><type>std::basic_string&lt; CharT &gt;</type></typedef>
  1636. <typedef name="char_type"><type>CharT</type></typedef>
  1637. <typedef name="stream_itr_type"><type>std::istreambuf_iterator&lt; CharT &gt;</type></typedef>
  1638. <typedef name="parse_tree_type"><type><classname>string_parse_tree</classname>&lt; CharT &gt;</type></typedef>
  1639. <typedef name="match_results"><type><classname>parse_tree_type::parse_match_result_type</classname></type></typedef>
  1640. <typedef name="collection_type"><type>std::vector&lt; std::basic_string&lt; CharT &gt; &gt;</type></typedef>
  1641. <data-member name="default_period_separator" specifiers="static"><type>const char_type</type></data-member>
  1642. <data-member name="default_period_start_delimeter" specifiers="static"><type>const char_type</type></data-member>
  1643. <data-member name="default_period_open_range_end_delimeter" specifiers="static"><type>const char_type</type></data-member>
  1644. <data-member name="default_period_closed_range_end_delimeter" specifiers="static"><type>const char_type</type></data-member>
  1645. <method-group name="public member functions">
  1646. <method name="range_option" cv="const"><type>period_range_option</type></method>
  1647. <method name="range_option"><type>void</type><parameter name="option"><paramtype>period_range_option</paramtype></parameter></method>
  1648. <method name="delimiter_strings" cv="const"><type>collection_type</type></method>
  1649. <method name="delimiter_strings"><type>void</type><parameter name="separator"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="start_delim"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="open_end_delim"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="closed_end_delim"><paramtype>const string_type &amp;</paramtype></parameter></method>
  1650. <method name="get_period" cv="const"><type>period_type</type><template>
  1651. <template-type-parameter name="period_type"/>
  1652. <template-type-parameter name="duration_type"/>
  1653. <template-type-parameter name="facet_type"/>
  1654. </template><parameter name="sitr"><paramtype>stream_itr_type &amp;</paramtype></parameter><parameter name="stream_end"><paramtype>stream_itr_type &amp;</paramtype></parameter><parameter name="a_ios"><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name=""><paramtype>const period_type &amp;</paramtype></parameter><parameter name="dur_unit"><paramtype>const duration_type &amp;</paramtype></parameter><parameter name="facet"><paramtype>const facet_type &amp;</paramtype></parameter><purpose>Generic code to parse a period – no matter the period type. </purpose><description><para>This generic code will parse any period using a facet to to get the 'elements'. For example, in the case of a date_period the elements will be instances of a date which will be parsed according the to setup in the passed facet parameter.</para><para>The steps for parsing a period are always the same:<itemizedlist>
  1655. <listitem><para>consume the start delimiter</para>
  1656. </listitem><listitem><para>get start element</para>
  1657. </listitem><listitem><para>consume the separator</para>
  1658. </listitem><listitem><para>get either last or end element depending on range settings</para>
  1659. </listitem><listitem><para>consume the end delimeter depending on range settings</para>
  1660. </listitem></itemizedlist>
  1661. </para><para>Thus for a typical date period the contents of the input stream might look like this: <programlisting language="c++">[March 01, 2004/June 07, 2004] &lt;-- closed range
  1662. [March 01, 2004/June 08, 2004) &lt;-- open range
  1663. </programlisting> </para></description></method>
  1664. </method-group>
  1665. <constructor><parameter name="range_opt"><paramtype>period_range_option</paramtype><default>AS_CLOSED_RANGE</default></parameter><parameter name="period_separator"><paramtype>const char_type *const</paramtype><default>default_period_separator</default></parameter><parameter name="period_start_delimeter"><paramtype>const char_type *const</paramtype><default>default_period_start_delimeter</default></parameter><parameter name="period_open_range_end_delimeter"><paramtype>const char_type *const</paramtype><default>default_period_open_range_end_delimeter</default></parameter><parameter name="period_closed_range_end_delimeter"><paramtype>const char_type *const</paramtype><default>default_period_closed_range_end_delimeter</default></parameter><purpose>Constructor that sets up period parser options. </purpose></constructor>
  1666. <constructor><parameter name="p_parser"><paramtype>const <classname>period_parser</classname>&lt; date_type, CharT &gt; &amp;</paramtype></parameter></constructor>
  1667. <method-group name="private member functions">
  1668. <method name="consume_delim" cv="const"><type>void</type><parameter name="sitr"><paramtype>stream_itr_type &amp;</paramtype></parameter><parameter name="stream_end"><paramtype>stream_itr_type &amp;</paramtype></parameter><parameter name="delim"><paramtype>const string_type &amp;</paramtype></parameter><purpose>throws ios_base::failure if delimiter and parsed data do not match </purpose></method>
  1669. </method-group>
  1670. </class>
  1671. </namespace>
  1672. </namespace>
  1673. </header>
  1674. <header name="boost/date_time/special_defs.hpp">
  1675. <namespace name="boost">
  1676. <namespace name="date_time">
  1677. <enum name="special_values"><enumvalue name="not_a_date_time"/><enumvalue name="neg_infin"/><enumvalue name="pos_infin"/><enumvalue name="min_date_time"/><enumvalue name="max_date_time"/><enumvalue name="not_special"/><enumvalue name="NumSpecialValues"/></enum>
  1678. </namespace>
  1679. </namespace>
  1680. </header>
  1681. <header name="boost/date_time/special_values_formatter.hpp">
  1682. <namespace name="boost">
  1683. <namespace name="date_time">
  1684. <class name="special_values_formatter"><template>
  1685. <template-type-parameter name="CharT"/>
  1686. <template-type-parameter name="OutItrT"><default>std::ostreambuf_iterator&lt;CharT, std::char_traits&lt;CharT&gt; &gt;</default></template-type-parameter>
  1687. </template><purpose>Class that provides generic formmatting ostream formatting for special values. </purpose><description><para>This class provides for the formmating of special values to an output stream. In particular, it produces strings for the values of negative and positive infinity as well as not_a_date_time.</para><para>While not a facet, this class is used by the date and time facets for formatting special value types. </para></description><typedef name="string_type"><type>std::basic_string&lt; CharT &gt;</type></typedef>
  1688. <typedef name="char_type"><type>CharT</type></typedef>
  1689. <typedef name="collection_type"><type>std::vector&lt; string_type &gt;</type></typedef>
  1690. <data-member name="default_special_value_names" specifiers="static"><type>const char_type</type><purpose>Storage for the strings used to indicate special values. </purpose></data-member>
  1691. <method-group name="public member functions">
  1692. <method name="put_special" cv="const"><type>OutItrT</type><parameter name="next"><paramtype>OutItrT</paramtype></parameter><parameter name="value"><paramtype>const boost::date_time::special_values &amp;</paramtype></parameter></method>
  1693. </method-group>
  1694. <constructor><purpose>Construct special values formatter using default strings. </purpose><description><para>Default strings are not-a-date-time -infinity +infinity </para></description></constructor>
  1695. <constructor><parameter name="begin"><paramtype>const char_type *const *</paramtype></parameter><parameter name="end"><paramtype>const char_type *const *</paramtype></parameter><purpose>Construct special values formatter from array of strings. </purpose><description><para>This constructor will take pair of iterators from an array of strings that represent the special values and copy them for use in formatting special values. <programlisting language="c++">const char* const special_value_names[]={"nadt","-inf","+inf" };
  1696. special_value_formatter svf(&amp;special_value_names[0], &amp;special_value_names[3]);
  1697. </programlisting> </para></description></constructor>
  1698. <constructor><parameter name="beg"><paramtype>typename collection_type::iterator</paramtype></parameter><parameter name="end"><paramtype>typename collection_type::iterator</paramtype></parameter></constructor>
  1699. </class>
  1700. </namespace>
  1701. </namespace>
  1702. </header>
  1703. <header name="boost/date_time/special_values_parser.hpp">
  1704. <namespace name="boost">
  1705. <namespace name="date_time">
  1706. <class name="special_values_parser"><template>
  1707. <template-type-parameter name="date_type"/>
  1708. <template-type-parameter name="charT"/>
  1709. </template><purpose>Class for special_value parsing. </purpose><description><para>TODO: add doc-comments for which elements can be changed Parses input stream for strings representing special_values. Special values parsed are:<itemizedlist>
  1710. <listitem><para>not_a_date_time</para>
  1711. </listitem><listitem><para>neg_infin</para>
  1712. </listitem><listitem><para>pod_infin</para>
  1713. </listitem><listitem><para>min_date_time</para>
  1714. </listitem><listitem><para>max_date_time </para>
  1715. </listitem></itemizedlist>
  1716. </para></description><typedef name="string_type"><type>std::basic_string&lt; charT &gt;</type></typedef>
  1717. <typedef name="stringstream_type"><type>std::basic_stringstream&lt; charT &gt;</type></typedef>
  1718. <typedef name="stream_itr_type"><type>std::istreambuf_iterator&lt; charT &gt;</type></typedef>
  1719. <typedef name="duration_type"><type>date_type::duration_type</type></typedef>
  1720. <typedef name="parse_tree_type"><type><classname>string_parse_tree</classname>&lt; charT &gt;</type></typedef>
  1721. <typedef name="match_results"><type><classname>parse_tree_type::parse_match_result_type</classname></type></typedef>
  1722. <typedef name="collection_type"><type>std::vector&lt; std::basic_string&lt; charT &gt; &gt;</type></typedef>
  1723. <typedef name="char_type"><type>charT</type></typedef>
  1724. <data-member name="nadt_string" specifiers="static"><type>const char_type</type></data-member>
  1725. <data-member name="neg_inf_string" specifiers="static"><type>const char_type</type></data-member>
  1726. <data-member name="pos_inf_string" specifiers="static"><type>const char_type</type></data-member>
  1727. <data-member name="min_date_time_string" specifiers="static"><type>const char_type</type></data-member>
  1728. <data-member name="max_date_time_string" specifiers="static"><type>const char_type</type></data-member>
  1729. <method-group name="public member functions">
  1730. <method name="sv_strings"><type>void</type><parameter name="nadt_str"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="neg_inf_str"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="pos_inf_str"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="min_dt_str"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="max_dt_str"><paramtype>const string_type &amp;</paramtype></parameter><purpose>Replace special value strings. </purpose></method>
  1731. <method name="match" cv="const"><type>bool</type><parameter name="sitr"><paramtype>stream_itr_type &amp;</paramtype><description><para>the start iterator </para></description></parameter><parameter name="str_end"><paramtype>stream_itr_type &amp;</paramtype><description><para>the end iterator </para></description></parameter><parameter name="mr"><paramtype><classname>match_results</classname> &amp;</paramtype><description><para>the match result: mr.current_match is set to the corresponding special_value or -1 </para></description></parameter><description><para>Given an input iterator, attempt to match it to a known special value
  1732. </para></description><returns><para>whether something matched </para>
  1733. </returns></method>
  1734. </method-group>
  1735. <constructor><purpose>Creates a <classname alt="boost::date_time::special_values_parser">special_values_parser</classname> with the default set of "sv_strings". </purpose></constructor>
  1736. <constructor><parameter name="nadt_str"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="neg_inf_str"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="pos_inf_str"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="min_dt_str"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="max_dt_str"><paramtype>const string_type &amp;</paramtype></parameter><purpose>Creates a <classname alt="boost::date_time::special_values_parser">special_values_parser</classname> using a user defined set of element strings. </purpose></constructor>
  1737. <constructor><parameter name="beg"><paramtype>typename collection_type::iterator</paramtype></parameter><parameter name="end"><paramtype>typename collection_type::iterator</paramtype></parameter></constructor>
  1738. <constructor><parameter name="svp"><paramtype>const <classname>special_values_parser</classname>&lt; date_type, charT &gt; &amp;</paramtype></parameter></constructor>
  1739. <method-group name="public static functions">
  1740. <method name="likely" specifiers="static"><type>bool</type><parameter name="str"><paramtype>const string_type &amp;</paramtype><description><para>the string to check </para></description></parameter><description><para>The parser is expensive to create, and not thread-safe so it cannot be static therefore given a string, determine if it is likely to be a special value. A negative response is a definite no, whereas a positive is only likely and match() should be called and return value checked.
  1741. </para></description><returns><para>false if it is definitely not a special value </para>
  1742. </returns></method>
  1743. </method-group>
  1744. </class>
  1745. </namespace>
  1746. </namespace>
  1747. </header>
  1748. <header name="boost/date_time/string_convert.hpp">
  1749. <namespace name="boost">
  1750. <namespace name="date_time">
  1751. <function name="convert_string_type"><type>std::basic_string&lt; OutputT &gt;</type><template>
  1752. <template-type-parameter name="InputT"/>
  1753. <template-type-parameter name="OutputT"/>
  1754. </template><parameter name="inp_str"><paramtype>const std::basic_string&lt; InputT &gt; &amp;</paramtype></parameter><purpose>Converts a string from one value_type to another. </purpose><description><para>Converts a wstring to a string (or a string to wstring). If both template parameters are of same type, a copy of the input string is returned. </para></description></function>
  1755. </namespace>
  1756. </namespace>
  1757. </header>
  1758. <header name="boost/date_time/string_parse_tree.hpp">
  1759. <namespace name="boost">
  1760. <namespace name="date_time">
  1761. <struct name="parse_match_result"><template>
  1762. <template-type-parameter name="charT"/>
  1763. </template><enum name="PARSE_STATE"><enumvalue name="PARSE_ERROR"><default>= -1</default></enumvalue></enum>
  1764. <typedef name="string_type"><type>std::basic_string&lt; charT &gt;</type></typedef>
  1765. <data-member name="cache"><type>string_type</type></data-member>
  1766. <data-member name="match_depth"><type>unsigned short</type></data-member>
  1767. <data-member name="current_match"><type>short</type></data-member>
  1768. <method-group name="public member functions">
  1769. <method name="remaining" cv="const"><type>string_type</type></method>
  1770. <method name="last_char" cv="const"><type>charT</type></method>
  1771. <method name="has_remaining" cv="const"><type>bool</type><purpose>Returns true if more characters were parsed than was necessary. </purpose><description><para>Should be used in conjunction with last_char() to get the remaining character. </para></description></method>
  1772. </method-group>
  1773. <constructor/>
  1774. </struct><struct name="string_parse_tree"><template>
  1775. <template-type-parameter name="charT"/>
  1776. </template><purpose>Recursive data structure to allow efficient parsing of various strings. </purpose><description><para>This class provides a quick lookup by building what amounts to a tree data structure. It also features a match function which can can handle nasty input interators by caching values as it recurses the tree so that it can backtrack as needed. </para></description><typedef name="ptree_coll"><type>std::multimap&lt; charT, <classname>string_parse_tree</classname>&lt; charT &gt; &gt;</type></typedef>
  1777. <typedef name="ptree_coll"><type>std::multimap&lt; charT, <classname>string_parse_tree</classname> &gt;</type></typedef>
  1778. <typedef name="value_type"><type>ptree_coll::value_type</type></typedef>
  1779. <typedef name="iterator"><type>ptree_coll::iterator</type></typedef>
  1780. <typedef name="const_iterator"><type>ptree_coll::const_iterator</type></typedef>
  1781. <typedef name="string_type"><type>std::basic_string&lt; charT &gt;</type></typedef>
  1782. <typedef name="collection_type"><type>std::vector&lt; std::basic_string&lt; charT &gt; &gt;</type></typedef>
  1783. <typedef name="parse_match_result_type"><type><classname>parse_match_result</classname>&lt; charT &gt;</type></typedef>
  1784. <data-member name="m_next_chars"><type>ptree_coll</type></data-member>
  1785. <data-member name="m_value"><type>short</type></data-member>
  1786. <method-group name="public member functions">
  1787. <method name="insert"><type>void</type><parameter name="s"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="value"><paramtype>unsigned short</paramtype></parameter></method>
  1788. <method name="match" cv="const"><type>short</type><parameter name="sitr"><paramtype>std::istreambuf_iterator&lt; charT &gt; &amp;</paramtype></parameter><parameter name="stream_end"><paramtype>std::istreambuf_iterator&lt; charT &gt; &amp;</paramtype></parameter><parameter name="result"><paramtype><classname>parse_match_result_type</classname> &amp;</paramtype></parameter><parameter name="level"><paramtype>unsigned int &amp;</paramtype></parameter><purpose>Recursive function that finds a matching string in the tree. </purpose><description><para>Must check match_results::has_remaining() after match() is called. This is required so the user can determine if stream iterator is already pointing to the expected character or not (match() might advance sitr to next char in stream).</para><para>A <classname alt="boost::date_time::parse_match_result">parse_match_result</classname> that has been returned from a failed match attempt can be sent in to the match function of a different <classname alt="boost::date_time::string_parse_tree">string_parse_tree</classname> to attempt a match there. Use the iterators for the partially consumed stream, the <classname alt="boost::date_time::parse_match_result">parse_match_result</classname> object, and '0' for the level parameter. </para></description></method>
  1789. <method name="match" cv="const"><type><classname>parse_match_result_type</classname></type><parameter name="sitr"><paramtype>std::istreambuf_iterator&lt; charT &gt; &amp;</paramtype></parameter><parameter name="stream_end"><paramtype>std::istreambuf_iterator&lt; charT &gt; &amp;</paramtype></parameter><description><para>Must check match_results::has_remaining() after match() is called. This is required so the user can determine if stream iterator is already pointing to the expected character or not (match() might advance sitr to next char in stream). </para></description></method>
  1790. <method name="printme"><type>void</type><parameter name="os"><paramtype>std::ostream &amp;</paramtype></parameter><parameter name="level"><paramtype>int &amp;</paramtype></parameter></method>
  1791. <method name="print"><type>void</type><parameter name="os"><paramtype>std::ostream &amp;</paramtype></parameter></method>
  1792. <method name="printmatch"><type>void</type><parameter name="os"><paramtype>std::ostream &amp;</paramtype></parameter><parameter name="c"><paramtype>charT</paramtype></parameter></method>
  1793. </method-group>
  1794. <constructor><parameter name="names"><paramtype>collection_type</paramtype></parameter><parameter name="starting_point"><paramtype>unsigned int</paramtype><default>0</default></parameter><description><para>Parameter "starting_point" designates where the numbering begins. A starting_point of zero will start the numbering at zero (Sun=0, Mon=1, ...) were a starting_point of one starts the numbering at one (Jan=1, Feb=2, ...). The default is zero, negative vaules are not allowed </para></description></constructor>
  1795. <constructor><parameter name="value"><paramtype>short</paramtype><default>parse_match_result_type::PARSE_ERROR</default></parameter></constructor>
  1796. </struct>
  1797. <function name="operator&lt;&lt;"><type>std::basic_ostream&lt; charT &gt; &amp;</type><template>
  1798. <template-type-parameter name="charT"/>
  1799. </template><parameter name="os"><paramtype>std::basic_ostream&lt; charT &gt; &amp;</paramtype></parameter><parameter name="mr"><paramtype><classname>parse_match_result</classname>&lt; charT &gt; &amp;</paramtype></parameter></function>
  1800. </namespace>
  1801. </namespace>
  1802. </header>
  1803. <header name="boost/date_time/strings_from_facet.hpp">
  1804. <namespace name="boost">
  1805. <namespace name="date_time">
  1806. <function name="gather_month_strings"><type>std::vector&lt; std::basic_string&lt; charT &gt; &gt;</type><template>
  1807. <template-type-parameter name="charT"/>
  1808. </template><parameter name="locale"><paramtype>const std::locale &amp;</paramtype><description><para>The locale to use when gathering the strings </para></description></parameter><parameter name="short_strings"><paramtype>bool</paramtype><default>true</default><description><para>True(default) to gather short strings, false for long strings. </para></description></parameter><purpose>This function gathers up all the month strings from a std::locale. </purpose><description><para>Using the time_put facet, this function creates a collection of all the month strings from a locale. This is handy when building custom date parsers or formatters that need to be localized.</para><para>
  1809. </para></description><returns><para>A vector of strings containing the strings in order. eg: Jan, Feb, Mar, etc. </para>
  1810. </returns></function>
  1811. <function name="gather_weekday_strings"><type>std::vector&lt; std::basic_string&lt; charT &gt; &gt;</type><template>
  1812. <template-type-parameter name="charT"/>
  1813. </template><parameter name="locale"><paramtype>const std::locale &amp;</paramtype><description><para>The locale to use when gathering the strings </para></description></parameter><parameter name="short_strings"><paramtype>bool</paramtype><default>true</default><description><para>True(default) to gather short strings, false for long strings. </para></description></parameter><purpose>This function gathers up all the weekday strings from a std::locale. </purpose><description><para>Using the time_put facet, this function creates a collection of all the weekday strings from a locale starting with the string for 'Sunday'. This is handy when building custom date parsers or formatters that need to be localized.</para><para>
  1814. </para></description><returns><para>A vector of strings containing the weekdays in order. eg: Sun, Mon, Tue, Wed, Thu, Fri, Sat </para>
  1815. </returns></function>
  1816. </namespace>
  1817. </namespace>
  1818. </header>
  1819. <header name="boost/date_time/time.hpp">
  1820. <para>This file contains the interface for the time associated classes. </para><namespace name="boost">
  1821. <namespace name="date_time">
  1822. <class name="base_time"><template>
  1823. <template-type-parameter name="T"/>
  1824. <template-type-parameter name="time_system"/>
  1825. </template><inherit access="private">boost::less_than_comparable&lt; T, boost::equality_comparable&lt; T &gt; &gt;</inherit><purpose>Representation of a precise moment in time, including the date. </purpose><description><para>This class is a skeleton for the interface of a temporal type with a resolution that is higher than a day. It is intended that this class be the base class and that the actual time class be derived using the BN pattern. In this way, the derived class can make decisions such as 'should there be a default constructor' and what should it set its value to, should there be optional constructors say allowing only an time_durations that generate a time from a clock,etc. So, in fact multiple time types can be created for a time_system with different construction policies, and all of them can perform basic operations by only writing a copy constructor. Finally, compiler errors are also shorter.</para><para>The real behavior of the time class is provided by the time_system template parameter. This class must provide all the logic for addition, subtraction, as well as define all the interface types. </para></description><typedef name="_is_boost_date_time_time_point"><type>void</type></typedef>
  1826. <typedef name="time_type"><type>T</type></typedef>
  1827. <typedef name="time_rep_type"><type>time_system::time_rep_type</type></typedef>
  1828. <typedef name="date_type"><type>time_system::date_type</type></typedef>
  1829. <typedef name="date_duration_type"><type>time_system::date_duration_type</type></typedef>
  1830. <typedef name="time_duration_type"><type>time_system::time_duration_type</type></typedef>
  1831. <method-group name="public member functions">
  1832. <method name="date" cv="const"><type>date_type</type></method>
  1833. <method name="time_of_day" cv="const"><type>time_duration_type</type></method>
  1834. <method name="zone_name" cv="const"><type>std::string</type><parameter name=""><paramtype>bool</paramtype><default>false</default></parameter><description><para>Optional bool parameter will return time zone as an offset (ie "+07:00"). Empty string is returned for classes that do not use a time_zone </para></description></method>
  1835. <method name="zone_abbrev" cv="const"><type>std::string</type><parameter name=""><paramtype>bool</paramtype><default>false</default></parameter><description><para>Optional bool parameter will return time zone as an offset (ie "+07:00"). Empty string is returned for classes that do not use a time_zone </para></description></method>
  1836. <method name="zone_as_posix_string" cv="const"><type>std::string</type><purpose>An empty string is returned for classes that do not use a time_zone. </purpose></method>
  1837. <method name="is_not_a_date_time" cv="const"><type>bool</type><purpose>check to see if date is not a value </purpose></method>
  1838. <method name="is_infinity" cv="const"><type>bool</type><purpose>check to see if date is one of the infinity values </purpose></method>
  1839. <method name="is_pos_infinity" cv="const"><type>bool</type><purpose>check to see if date is greater than all possible dates </purpose></method>
  1840. <method name="is_neg_infinity" cv="const"><type>bool</type><purpose>check to see if date is greater than all possible dates </purpose></method>
  1841. <method name="is_special" cv="const"><type>bool</type><purpose>check to see if time is a special value </purpose></method>
  1842. <method name="operator==" cv="const"><type>bool</type><parameter name="rhs"><paramtype>const time_type &amp;</paramtype></parameter><purpose>Equality operator – others generated by boost::equality_comparable. </purpose></method>
  1843. <method name="operator&lt;" cv="const"><type>bool</type><parameter name="rhs"><paramtype>const time_type &amp;</paramtype></parameter><purpose>Equality operator – others generated by boost::less_than_comparable. </purpose></method>
  1844. <method name="operator-" cv="const"><type>time_duration_type</type><parameter name="rhs"><paramtype>const time_type &amp;</paramtype></parameter><purpose>difference between two times </purpose></method>
  1845. <method name="operator+" cv="const"><type>time_type</type><parameter name="dd"><paramtype>const date_duration_type &amp;</paramtype></parameter><purpose>add date durations </purpose></method>
  1846. <method name="operator+="><type>time_type</type><parameter name="dd"><paramtype>const date_duration_type &amp;</paramtype></parameter></method>
  1847. <method name="operator-" cv="const"><type>time_type</type><parameter name="dd"><paramtype>const date_duration_type &amp;</paramtype></parameter><purpose>subtract date durations </purpose></method>
  1848. <method name="operator-="><type>time_type</type><parameter name="dd"><paramtype>const date_duration_type &amp;</paramtype></parameter></method>
  1849. <method name="operator+" cv="const"><type>time_type</type><parameter name="td"><paramtype>const time_duration_type &amp;</paramtype></parameter><purpose>add time durations </purpose></method>
  1850. <method name="operator+="><type>time_type</type><parameter name="td"><paramtype>const time_duration_type &amp;</paramtype></parameter></method>
  1851. <method name="operator-" cv="const"><type>time_type</type><parameter name="rhs"><paramtype>const time_duration_type &amp;</paramtype></parameter><purpose>subtract time durations </purpose></method>
  1852. <method name="operator-="><type>time_type</type><parameter name="td"><paramtype>const time_duration_type &amp;</paramtype></parameter></method>
  1853. </method-group>
  1854. <constructor><parameter name="day"><paramtype>const date_type &amp;</paramtype></parameter><parameter name="td"><paramtype>const time_duration_type &amp;</paramtype></parameter><parameter name="dst"><paramtype>dst_flags</paramtype><default>not_dst</default></parameter></constructor>
  1855. <constructor><parameter name="sv"><paramtype>special_values</paramtype></parameter></constructor>
  1856. <constructor><parameter name="rhs"><paramtype>const time_rep_type &amp;</paramtype></parameter></constructor>
  1857. </class>
  1858. </namespace>
  1859. </namespace>
  1860. </header>
  1861. <header name="boost/date_time/time_clock.hpp">
  1862. <para>This file contains the interface for clock devices. </para><namespace name="boost">
  1863. <namespace name="date_time">
  1864. <class name="second_clock"><template>
  1865. <template-type-parameter name="time_type"/>
  1866. </template><purpose>A clock providing time level services based on C time_t capabilities. </purpose><description><para>This clock provides resolution to the 1 second level </para></description><typedef name="date_type"><type>time_type::date_type</type></typedef>
  1867. <typedef name="time_duration_type"><type>time_type::time_duration_type</type></typedef>
  1868. <method-group name="public static functions">
  1869. <method name="local_time" specifiers="static"><type>time_type</type></method>
  1870. <method name="universal_time" specifiers="static"><type>time_type</type><purpose>Get the current day in universal date as a ymd_type. </purpose></method>
  1871. <method name="local_time" specifiers="static"><type>time_type</type><template>
  1872. <template-type-parameter name="time_zone_type"/>
  1873. </template><parameter name="tz_ptr"><paramtype>boost::shared_ptr&lt; time_zone_type &gt;</paramtype></parameter></method>
  1874. </method-group>
  1875. <method-group name="private static functions">
  1876. <method name="create_time" specifiers="static"><type>time_type</type><parameter name="current"><paramtype>::std::tm *</paramtype></parameter></method>
  1877. </method-group>
  1878. </class>
  1879. </namespace>
  1880. </namespace>
  1881. </header>
  1882. <header name="boost/date_time/time_defs.hpp">
  1883. <para>This file contains nice definitions for handling the resoluion of various time reprsentations. </para><namespace name="boost">
  1884. <namespace name="date_time">
  1885. <enum name="time_resolutions"><enumvalue name="sec"/><enumvalue name="tenth"/><enumvalue name="hundreth"/><enumvalue name="hundredth"><default>= hundreth</default></enumvalue><enumvalue name="milli"/><enumvalue name="ten_thousandth"/><enumvalue name="micro"/><enumvalue name="nano"/><enumvalue name="NumResolutions"/><purpose>Defines some nice types for handling time level resolutions. </purpose></enum>
  1886. <enum name="dst_flags"><enumvalue name="not_dst"/><enumvalue name="is_dst"/><enumvalue name="calculate"/><purpose>Flags for daylight savings or summer time. </purpose></enum>
  1887. </namespace>
  1888. </namespace>
  1889. </header>
  1890. <header name="boost/date_time/time_duration.hpp">
  1891. <namespace name="boost">
  1892. <namespace name="date_time">
  1893. <class name="subsecond_duration"><template>
  1894. <template-type-parameter name="base_duration"/>
  1895. <template-nontype-parameter name="frac_of_second"><type>boost::int64_t</type></template-nontype-parameter>
  1896. </template><inherit access="public">base_duration</inherit><purpose>Template for instantiating derived adjusting durations. </purpose><typedef name="impl_type"><type>base_duration::impl_type</type></typedef>
  1897. <typedef name="traits_type"><type>base_duration::traits_type</type></typedef>
  1898. <method-group name="private member functions">
  1899. <method name="BOOST_STATIC_ASSERT_MSG"><type/><parameter name=""><paramtype>(traits_type::ticks_per_second &gt;=frac_of_second ? traits_type::ticks_per_second % frac_of_second :frac_of_second % traits_type::ticks_per_second)</paramtype><default>=0</default></parameter><parameter name=""><paramtype>\ "The base duration resolution must be a multiple of the subsecond duration resolution"</paramtype></parameter></method>
  1900. <method name="BOOST_STATIC_CONSTANT"><type/><parameter name=""><paramtype>boost::int64_t</paramtype></parameter><parameter name=""><paramtype>adjustment_ratio</paramtype><default>(traits_type::ticks_per_second &gt;=frac_of_second ? traits_type::ticks_per_second/frac_of_second :frac_of_second/traits_type::ticks_per_second)</default></parameter></method>
  1901. </method-group>
  1902. <method-group name="public member functions">
  1903. </method-group>
  1904. <constructor specifiers="explicit"><template>
  1905. <template-type-parameter name="T"/>
  1906. </template><parameter name="ss"><paramtype>T const &amp;</paramtype></parameter><parameter name=""><paramtype>typename boost::enable_if&lt; boost::is_integral&lt; T &gt;, void &gt;::type *</paramtype><default>BOOST_DATE_TIME_NULLPTR</default></parameter></constructor>
  1907. </class><class name="time_duration"><template>
  1908. <template-type-parameter name="T"><purpose><para>The subclass type </para></purpose></template-type-parameter>
  1909. <template-type-parameter name="rep_type"><purpose><para>The time resolution traits for this duration type. </para></purpose></template-type-parameter>
  1910. </template><inherit access="private">boost::less_than_comparable&lt; T, boost::equality_comparable&lt; T &gt; &gt;</inherit><purpose>Represents some amount of elapsed time measure to a given resolution. </purpose><description><para>This class represents a standard set of capabilities for all counted time durations. Time duration implementations should derive from this class passing their type as the first template parameter. This design allows the subclass duration types to provide custom construction policies or other custom features not provided here.</para><para>
  1911. </para></description><typedef name="_is_boost_date_time_duration"><type>void</type></typedef>
  1912. <typedef name="duration_type"><type>T</type></typedef>
  1913. <typedef name="traits_type"><type>rep_type</type></typedef>
  1914. <typedef name="day_type"><type>rep_type::day_type</type></typedef>
  1915. <typedef name="hour_type"><type>rep_type::hour_type</type></typedef>
  1916. <typedef name="min_type"><type>rep_type::min_type</type></typedef>
  1917. <typedef name="sec_type"><type>rep_type::sec_type</type></typedef>
  1918. <typedef name="fractional_seconds_type"><type>rep_type::fractional_seconds_type</type></typedef>
  1919. <typedef name="tick_type"><type>rep_type::tick_type</type></typedef>
  1920. <typedef name="impl_type"><type>rep_type::impl_type</type></typedef>
  1921. <method-group name="public member functions">
  1922. <method name="hours" cv="const"><type>hour_type</type><purpose>Returns number of hours in the duration. </purpose></method>
  1923. <method name="minutes" cv="const"><type>min_type</type><purpose>Returns normalized number of minutes. </purpose></method>
  1924. <method name="seconds" cv="const"><type>sec_type</type><purpose>Returns normalized number of seconds (0..60) </purpose></method>
  1925. <method name="total_seconds" cv="const"><type>sec_type</type><purpose>Returns total number of seconds truncating any fractional seconds. </purpose></method>
  1926. <method name="total_milliseconds" cv="const"><type>tick_type</type><purpose>Returns total number of milliseconds truncating any fractional seconds. </purpose></method>
  1927. <method name="total_nanoseconds" cv="const"><type>tick_type</type><purpose>Returns total number of nanoseconds truncating any sub millisecond values. </purpose></method>
  1928. <method name="total_microseconds" cv="const"><type>tick_type</type><purpose>Returns total number of microseconds truncating any sub microsecond values. </purpose></method>
  1929. <method name="fractional_seconds" cv="const"><type>fractional_seconds_type</type><purpose>Returns count of fractional seconds at given resolution. </purpose></method>
  1930. <method name="invert_sign" cv="const"><type>duration_type</type></method>
  1931. <method name="abs" cv="const"><type>duration_type</type></method>
  1932. <method name="is_negative" cv="const"><type>bool</type></method>
  1933. <method name="is_zero" cv="const"><type>bool</type></method>
  1934. <method name="is_positive" cv="const"><type>bool</type></method>
  1935. <method name="operator&lt;" cv="const"><type>bool</type><parameter name="rhs"><paramtype>const <classname>time_duration</classname> &amp;</paramtype></parameter></method>
  1936. <method name="operator==" cv="const"><type>bool</type><parameter name="rhs"><paramtype>const <classname>time_duration</classname> &amp;</paramtype></parameter></method>
  1937. <method name="operator-" cv="const"><type>duration_type</type><purpose>unary- Allows for <classname alt="boost::date_time::time_duration">time_duration</classname> td = -td1 </purpose></method>
  1938. <method name="operator-" cv="const"><type>duration_type</type><parameter name="d"><paramtype>const duration_type &amp;</paramtype></parameter></method>
  1939. <method name="operator+" cv="const"><type>duration_type</type><parameter name="d"><paramtype>const duration_type &amp;</paramtype></parameter></method>
  1940. <method name="operator/" cv="const"><type>duration_type</type><parameter name="divisor"><paramtype>int</paramtype></parameter></method>
  1941. <method name="operator-="><type>duration_type</type><parameter name="d"><paramtype>const duration_type &amp;</paramtype></parameter></method>
  1942. <method name="operator+="><type>duration_type</type><parameter name="d"><paramtype>const duration_type &amp;</paramtype></parameter></method>
  1943. <method name="operator/="><type>duration_type</type><parameter name="divisor"><paramtype>int</paramtype></parameter><purpose>Division operations on a duration with an integer. </purpose></method>
  1944. <method name="operator *" cv="const"><type>duration_type</type><parameter name="rhs"><paramtype>int</paramtype></parameter><purpose>Multiplication operations an a duration with an integer. </purpose></method>
  1945. <method name="operator *="><type>duration_type</type><parameter name="divisor"><paramtype>int</paramtype></parameter></method>
  1946. <method name="ticks" cv="const"><type>tick_type</type></method>
  1947. <method name="is_special" cv="const"><type>bool</type><purpose>Is ticks_ a special value? </purpose></method>
  1948. <method name="is_pos_infinity" cv="const"><type>bool</type><purpose>Is duration pos-infinity. </purpose></method>
  1949. <method name="is_neg_infinity" cv="const"><type>bool</type><purpose>Is duration neg-infinity. </purpose></method>
  1950. <method name="is_not_a_date_time" cv="const"><type>bool</type><purpose>Is duration not-a-date-time. </purpose></method>
  1951. <method name="get_rep" cv="const"><type>impl_type</type><purpose>Used for special_values output. </purpose></method>
  1952. </method-group>
  1953. <constructor/>
  1954. <constructor><parameter name="hours_in"><paramtype>hour_type</paramtype></parameter><parameter name="minutes_in"><paramtype>min_type</paramtype></parameter><parameter name="seconds_in"><paramtype>sec_type</paramtype><default>0</default></parameter><parameter name="frac_sec_in"><paramtype>fractional_seconds_type</paramtype><default>0</default></parameter></constructor>
  1955. <constructor><parameter name="other"><paramtype>const <classname>time_duration</classname>&lt; T, rep_type &gt; &amp;</paramtype></parameter><purpose>Construct from another <classname alt="boost::date_time::time_duration">time_duration</classname> (Copy constructor) </purpose></constructor>
  1956. <constructor><parameter name="sv"><paramtype>special_values</paramtype></parameter><purpose>Construct from special_values. </purpose></constructor>
  1957. <method-group name="public static functions">
  1958. <method name="unit" specifiers="static"><type>duration_type</type><purpose>Returns smallest representable duration. </purpose></method>
  1959. <method name="ticks_per_second" specifiers="static"><type>tick_type</type><purpose>Return the number of ticks in a second. </purpose></method>
  1960. <method name="resolution" specifiers="static"><type>time_resolutions</type><purpose>Provide the resolution of this duration type. </purpose></method>
  1961. <method name="num_fractional_digits" specifiers="static"><type>unsigned short</type><purpose>Returns number of possible digits in fractional seconds. </purpose></method>
  1962. </method-group>
  1963. <method-group name="protected member functions">
  1964. </method-group>
  1965. <constructor specifiers="explicit"><parameter name="in"><paramtype>impl_type</paramtype></parameter></constructor>
  1966. </class>
  1967. </namespace>
  1968. </namespace>
  1969. </header>
  1970. <header name="boost/date_time/time_facet.hpp">
  1971. <namespace name="boost">
  1972. <namespace name="date_time">
  1973. <class name="time_facet"><template>
  1974. <template-type-parameter name="time_type"/>
  1975. <template-type-parameter name="CharT"/>
  1976. <template-type-parameter name="OutItrT"><default>std::ostreambuf_iterator&lt;CharT, std::char_traits&lt;CharT&gt; &gt;</default></template-type-parameter>
  1977. </template><inherit access="public">boost::date_time::date_facet&lt; time_type::date_type, CharT, OutItrT &gt;</inherit><description><para>Facet used for format-based output of time types This class provides for the use of format strings to output times. In addition to the flags for formatting date elements, the following are the allowed format flags:<itemizedlist>
  1978. <listitem><para>x X =&gt; default format - enables addition of more flags to default (ie. "%x %X %z")</para>
  1979. </listitem><listitem><para>f =&gt; fractional seconds ".123456"</para>
  1980. </listitem><listitem><para>F =&gt; fractional seconds or none: like frac sec but empty if frac sec == 0</para>
  1981. </listitem><listitem><para>s =&gt; seconds w/ fractional sec "02.123" (this is the same as "%S%f)
  1982. - %S =&gt; seconds "02"
  1983. - %z =&gt; abbreviated time zone "EDT"
  1984. - %Z =&gt; full time zone name "Eastern Daylight Time" </para>
  1985. </listitem></itemizedlist>
  1986. </para></description><typedef name="date_type"><type>time_type::date_type</type></typedef>
  1987. <typedef name="time_duration_type"><type>time_type::time_duration_type</type></typedef>
  1988. <typedef name="period_type"><type><classname>boost::date_time::period</classname>&lt; time_type, time_duration_type &gt;</type></typedef>
  1989. <typedef name="base_type"><type><classname>boost::date_time::date_facet</classname>&lt; typename time_type::date_type, CharT, OutItrT &gt;</type></typedef>
  1990. <typedef name="string_type"><type>base_type::string_type</type></typedef>
  1991. <typedef name="char_type"><type>base_type::char_type</type></typedef>
  1992. <typedef name="period_formatter_type"><type><classname>base_type::period_formatter_type</classname></type></typedef>
  1993. <typedef name="special_values_formatter_type"><type><classname>base_type::special_values_formatter_type</classname></type></typedef>
  1994. <typedef name="date_gen_formatter_type"><type><classname>base_type::date_gen_formatter_type</classname></type></typedef>
  1995. <data-member name="fractional_seconds_format" specifiers="static"><type>const char_type *</type></data-member>
  1996. <data-member name="fractional_seconds_or_none_format" specifiers="static"><type>const char_type *</type></data-member>
  1997. <data-member name="seconds_with_fractional_seconds_format" specifiers="static"><type>const char_type *</type></data-member>
  1998. <data-member name="seconds_format" specifiers="static"><type>const char_type *</type></data-member>
  1999. <data-member name="hours_format" specifiers="static"><type>const char_type *</type></data-member>
  2000. <data-member name="unrestricted_hours_format" specifiers="static"><type>const char_type *</type></data-member>
  2001. <data-member name="standard_format" specifiers="static"><type>const char_type *</type></data-member>
  2002. <data-member name="zone_abbrev_format" specifiers="static"><type>const char_type *</type></data-member>
  2003. <data-member name="zone_name_format" specifiers="static"><type>const char_type *</type></data-member>
  2004. <data-member name="zone_iso_format" specifiers="static"><type>const char_type *</type></data-member>
  2005. <data-member name="zone_iso_extended_format" specifiers="static"><type>const char_type *</type></data-member>
  2006. <data-member name="posix_zone_string_format" specifiers="static"><type>const char_type *</type></data-member>
  2007. <data-member name="duration_seperator" specifiers="static"><type>const char_type *</type></data-member>
  2008. <data-member name="duration_sign_always" specifiers="static"><type>const char_type *</type></data-member>
  2009. <data-member name="duration_sign_negative_only" specifiers="static"><type>const char_type *</type></data-member>
  2010. <data-member name="negative_sign" specifiers="static"><type>const char_type *</type></data-member>
  2011. <data-member name="positive_sign" specifiers="static"><type>const char_type *</type></data-member>
  2012. <data-member name="iso_time_format_specifier" specifiers="static"><type>const char_type *</type></data-member>
  2013. <data-member name="iso_time_format_extended_specifier" specifiers="static"><type>const char_type *</type></data-member>
  2014. <data-member name="default_time_format" specifiers="static"><type>const char_type *</type></data-member>
  2015. <data-member name="default_time_duration_format" specifiers="static"><type>const char_type *</type></data-member>
  2016. <data-member name="id" specifiers="static"><type>std::locale::id</type></data-member>
  2017. <method-group name="public member functions">
  2018. <method name="__get_id" cv="const"><type>std::locale::id &amp;</type><parameter name=""><paramtype>void</paramtype></parameter></method>
  2019. <method name="time_duration_format"><type>void</type><parameter name="format"><paramtype>const char_type *const</paramtype></parameter><purpose>Changes format for <classname alt="boost::date_time::time_duration">time_duration</classname>. </purpose></method>
  2020. <method name="set_iso_format" specifiers="virtual"><type>void</type></method>
  2021. <method name="set_iso_extended_format" specifiers="virtual"><type>void</type></method>
  2022. <method name="put" cv="const"><type>OutItrT</type><parameter name="next_arg"><paramtype>OutItrT</paramtype></parameter><parameter name="ios_arg"><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="fill_arg"><paramtype>char_type</paramtype></parameter><parameter name="time_arg"><paramtype>const time_type &amp;</paramtype></parameter></method>
  2023. <method name="put" cv="const"><type>OutItrT</type><parameter name="next_arg"><paramtype>OutItrT</paramtype></parameter><parameter name="ios_arg"><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="fill_arg"><paramtype>char_type</paramtype></parameter><parameter name="time_dur_arg"><paramtype>const time_duration_type &amp;</paramtype></parameter><purpose>put function for <classname alt="boost::date_time::time_duration">time_duration</classname> </purpose></method>
  2024. <method name="put" cv="const"><type>OutItrT</type><parameter name="next"><paramtype>OutItrT</paramtype></parameter><parameter name="ios_arg"><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="fill"><paramtype>char_type</paramtype></parameter><parameter name="p"><paramtype>const <classname>period_type</classname> &amp;</paramtype></parameter></method>
  2025. </method-group>
  2026. <constructor specifiers="explicit"><parameter name="ref_arg"><paramtype>::size_t</paramtype><default>0</default></parameter><purpose>sets default formats for ptime, local_date_time, and <classname alt="boost::date_time::time_duration">time_duration</classname> </purpose></constructor>
  2027. <constructor specifiers="explicit"><parameter name="format_arg"><paramtype>const char_type *</paramtype></parameter><parameter name="period_formatter_arg"><paramtype><classname>period_formatter_type</classname></paramtype><default><classname alt="boost::date_time::period_formatter">period_formatter_type</classname>()</default></parameter><parameter name="special_value_formatter"><paramtype>const <classname>special_values_formatter_type</classname> &amp;</paramtype><default><classname alt="boost::date_time::special_values_formatter">special_values_formatter_type</classname>()</default></parameter><parameter name="dg_formatter"><paramtype><classname>date_gen_formatter_type</classname></paramtype><default><classname alt="boost::date_time::date_generator_formatter">date_gen_formatter_type</classname>()</default></parameter><parameter name="ref_arg"><paramtype>::size_t</paramtype><default>0</default></parameter><purpose>Construct the facet with an explicitly specified format. </purpose></constructor>
  2028. <method-group name="protected static functions">
  2029. <method name="fractional_seconds_as_string" specifiers="static"><type>string_type</type><parameter name="time_arg"><paramtype>const time_duration_type &amp;</paramtype></parameter><parameter name="null_when_zero"><paramtype>bool</paramtype></parameter></method>
  2030. <method name="hours_as_string" specifiers="static"><type>string_type</type><parameter name="time_arg"><paramtype>const time_duration_type &amp;</paramtype></parameter><parameter name="width"><paramtype>int</paramtype><default>2</default></parameter></method>
  2031. <method name="integral_as_string" specifiers="static"><type>string_type</type><template>
  2032. <template-type-parameter name="IntT"/>
  2033. </template><parameter name="val"><paramtype>IntT</paramtype></parameter><parameter name="width"><paramtype>int</paramtype><default>2</default></parameter></method>
  2034. </method-group>
  2035. </class><struct name="time_formats"><template>
  2036. <template-type-parameter name="CharT"/>
  2037. </template><typedef name="char_type"><type>CharT</type></typedef>
  2038. <data-member name="fractional_seconds_format" specifiers="static"><type>const char_type</type></data-member>
  2039. <data-member name="fractional_seconds_or_none_format" specifiers="static"><type>const char_type</type></data-member>
  2040. <data-member name="seconds_with_fractional_seconds_format" specifiers="static"><type>const char_type</type></data-member>
  2041. <data-member name="seconds_format" specifiers="static"><type>const char_type</type></data-member>
  2042. <data-member name="hours_format" specifiers="static"><type>const char_type</type></data-member>
  2043. <data-member name="unrestricted_hours_format" specifiers="static"><type>const char_type</type></data-member>
  2044. <data-member name="full_24_hour_time_format" specifiers="static"><type>const char_type</type></data-member>
  2045. <data-member name="full_24_hour_time_expanded_format" specifiers="static"><type>const char_type</type></data-member>
  2046. <data-member name="short_24_hour_time_format" specifiers="static"><type>const char_type</type></data-member>
  2047. <data-member name="short_24_hour_time_expanded_format" specifiers="static"><type>const char_type</type></data-member>
  2048. <data-member name="standard_format" specifiers="static"><type>const char_type</type></data-member>
  2049. <data-member name="zone_abbrev_format" specifiers="static"><type>const char_type</type></data-member>
  2050. <data-member name="zone_name_format" specifiers="static"><type>const char_type</type></data-member>
  2051. <data-member name="zone_iso_format" specifiers="static"><type>const char_type</type></data-member>
  2052. <data-member name="zone_iso_extended_format" specifiers="static"><type>const char_type</type></data-member>
  2053. <data-member name="posix_zone_string_format" specifiers="static"><type>const char_type</type></data-member>
  2054. <data-member name="duration_sign_negative_only" specifiers="static"><type>const char_type</type></data-member>
  2055. <data-member name="duration_sign_always" specifiers="static"><type>const char_type</type></data-member>
  2056. <data-member name="duration_seperator" specifiers="static"><type>const char_type</type></data-member>
  2057. <data-member name="negative_sign" specifiers="static"><type>const char_type</type></data-member>
  2058. <data-member name="positive_sign" specifiers="static"><type>const char_type</type></data-member>
  2059. <data-member name="iso_time_format_specifier" specifiers="static"><type>const char_type</type></data-member>
  2060. <data-member name="iso_time_format_extended_specifier" specifiers="static"><type>const char_type</type></data-member>
  2061. <data-member name="default_time_format" specifiers="static"><type>const char_type</type></data-member>
  2062. <data-member name="default_time_input_format" specifiers="static"><type>const char_type</type></data-member>
  2063. <data-member name="default_time_duration_format" specifiers="static"><type>const char_type</type></data-member>
  2064. </struct><class name="time_input_facet"><template>
  2065. <template-type-parameter name="time_type"/>
  2066. <template-type-parameter name="CharT"/>
  2067. <template-type-parameter name="InItrT"><default>std::istreambuf_iterator&lt;CharT, std::char_traits&lt;CharT&gt; &gt;</default></template-type-parameter>
  2068. </template><inherit access="public">boost::date_time::date_input_facet&lt; time_type::date_type, CharT, InItrT &gt;</inherit><purpose>Facet for format-based input. </purpose><typedef name="date_type"><type>time_type::date_type</type></typedef>
  2069. <typedef name="time_duration_type"><type>time_type::time_duration_type</type></typedef>
  2070. <typedef name="fracional_seconds_type"><type>time_duration_type::fractional_seconds_type</type></typedef>
  2071. <typedef name="period_type"><type><classname>boost::date_time::period</classname>&lt; time_type, time_duration_type &gt;</type></typedef>
  2072. <typedef name="base_type"><type><classname>boost::date_time::date_input_facet</classname>&lt; typename time_type::date_type, CharT, InItrT &gt;</type></typedef>
  2073. <typedef name="date_duration_type"><type>base_type::duration_type</type></typedef>
  2074. <typedef name="year_type"><type>base_type::year_type</type></typedef>
  2075. <typedef name="month_type"><type>base_type::month_type</type></typedef>
  2076. <typedef name="day_type"><type>base_type::day_type</type></typedef>
  2077. <typedef name="string_type"><type>base_type::string_type</type></typedef>
  2078. <typedef name="const_itr"><type>string_type::const_iterator</type></typedef>
  2079. <typedef name="char_type"><type>base_type::char_type</type></typedef>
  2080. <typedef name="format_date_parser_type"><type><classname>base_type::format_date_parser_type</classname></type></typedef>
  2081. <typedef name="period_parser_type"><type><classname>base_type::period_parser_type</classname></type></typedef>
  2082. <typedef name="special_values_parser_type"><type><classname>base_type::special_values_parser_type</classname></type></typedef>
  2083. <typedef name="date_gen_parser_type"><type><classname>base_type::date_gen_parser_type</classname></type></typedef>
  2084. <typedef name="match_results"><type>base_type::special_values_parser_type::match_results</type></typedef>
  2085. <data-member name="fractional_seconds_format" specifiers="static"><type>const char_type *</type></data-member>
  2086. <data-member name="fractional_seconds_or_none_format" specifiers="static"><type>const char_type *</type></data-member>
  2087. <data-member name="seconds_with_fractional_seconds_format" specifiers="static"><type>const char_type *</type></data-member>
  2088. <data-member name="seconds_format" specifiers="static"><type>const char_type *</type></data-member>
  2089. <data-member name="standard_format" specifiers="static"><type>const char_type *</type></data-member>
  2090. <data-member name="zone_abbrev_format" specifiers="static"><type>const char_type *</type></data-member>
  2091. <data-member name="zone_name_format" specifiers="static"><type>const char_type *</type></data-member>
  2092. <data-member name="zone_iso_format" specifiers="static"><type>const char_type *</type></data-member>
  2093. <data-member name="zone_iso_extended_format" specifiers="static"><type>const char_type *</type></data-member>
  2094. <data-member name="duration_seperator" specifiers="static"><type>const char_type *</type></data-member>
  2095. <data-member name="iso_time_format_specifier" specifiers="static"><type>const char_type *</type></data-member>
  2096. <data-member name="iso_time_format_extended_specifier" specifiers="static"><type>const char_type *</type></data-member>
  2097. <data-member name="default_time_input_format" specifiers="static"><type>const char_type *</type></data-member>
  2098. <data-member name="default_time_duration_format" specifiers="static"><type>const char_type *</type></data-member>
  2099. <data-member name="id" specifiers="static"><type>std::locale::id</type></data-member>
  2100. <method-group name="public member functions">
  2101. <method name="time_duration_format"><type>void</type><parameter name="format"><paramtype>const char_type *const</paramtype></parameter><purpose>Set the format for <classname alt="boost::date_time::time_duration">time_duration</classname>. </purpose></method>
  2102. <method name="set_iso_format" specifiers="virtual"><type>void</type></method>
  2103. <method name="set_iso_extended_format" specifiers="virtual"><type>void</type></method>
  2104. <method name="get" cv="const"><type>InItrT</type><parameter name="sitr"><paramtype>InItrT &amp;</paramtype></parameter><parameter name="stream_end"><paramtype>InItrT &amp;</paramtype></parameter><parameter name="ios_arg"><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="p"><paramtype><classname>period_type</classname> &amp;</paramtype></parameter></method>
  2105. <method name="get" cv="const"><type>InItrT</type><parameter name="sitr"><paramtype>InItrT &amp;</paramtype></parameter><parameter name="stream_end"><paramtype>InItrT &amp;</paramtype></parameter><parameter name="ios_arg"><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="td"><paramtype>time_duration_type &amp;</paramtype></parameter></method>
  2106. <method name="get" cv="const"><type>InItrT</type><parameter name="sitr"><paramtype>InItrT &amp;</paramtype></parameter><parameter name="stream_end"><paramtype>InItrT &amp;</paramtype></parameter><parameter name="ios_arg"><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="t"><paramtype>time_type &amp;</paramtype></parameter><purpose>Parses a time object from the input stream. </purpose></method>
  2107. <method name="get_local_time" cv="const"><type>InItrT</type><parameter name="sitr"><paramtype>InItrT &amp;</paramtype></parameter><parameter name="stream_end"><paramtype>InItrT &amp;</paramtype></parameter><parameter name="ios_arg"><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="t"><paramtype>time_type &amp;</paramtype></parameter><parameter name="tz_str"><paramtype>string_type &amp;</paramtype></parameter><purpose>Expects a time_zone in the input stream. </purpose></method>
  2108. </method-group>
  2109. <constructor specifiers="explicit"><parameter name="format"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="ref_arg"><paramtype>::size_t</paramtype><default>0</default></parameter><purpose>Constructor that takes a format string for a ptime. </purpose></constructor>
  2110. <constructor specifiers="explicit"><parameter name="format"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="date_parser"><paramtype>const <classname>format_date_parser_type</classname> &amp;</paramtype></parameter><parameter name="sv_parser"><paramtype>const <classname>special_values_parser_type</classname> &amp;</paramtype></parameter><parameter name="per_parser"><paramtype>const <classname>period_parser_type</classname> &amp;</paramtype></parameter><parameter name="date_gen_parser"><paramtype>const <classname>date_gen_parser_type</classname> &amp;</paramtype></parameter><parameter name="ref_arg"><paramtype>::size_t</paramtype><default>0</default></parameter></constructor>
  2111. <constructor specifiers="explicit"><parameter name="ref_arg"><paramtype>::size_t</paramtype><default>0</default></parameter><purpose>sets default formats for ptime, local_date_time, and <classname alt="boost::date_time::time_duration">time_duration</classname> </purpose></constructor>
  2112. <method-group name="protected member functions">
  2113. <method name="get" cv="const"><type>InItrT</type><parameter name="sitr"><paramtype>InItrT &amp;</paramtype></parameter><parameter name="stream_end"><paramtype>InItrT &amp;</paramtype></parameter><parameter name="ios_arg"><paramtype>std::ios_base &amp;</paramtype></parameter><parameter name="t"><paramtype>time_type &amp;</paramtype></parameter><parameter name="tz_str"><paramtype>string_type &amp;</paramtype></parameter><parameter name="time_is_local"><paramtype>bool</paramtype></parameter></method>
  2114. <method name="check_special_value" cv="const"><type>InItrT</type><template>
  2115. <template-type-parameter name="temporal_type"/>
  2116. </template><parameter name="sitr"><paramtype>InItrT &amp;</paramtype></parameter><parameter name="stream_end"><paramtype>InItrT &amp;</paramtype></parameter><parameter name="tt"><paramtype>temporal_type &amp;</paramtype></parameter><parameter name="c"><paramtype>char_type</paramtype><default>'\0'</default></parameter><purpose>Helper function to check for special_value. </purpose><description><para>First character may have been consumed during original parse attempt. Parameter 'c' should be a copy of that character. Throws ios_base::failure if parse fails. </para></description></method>
  2117. <method name="parse_frac_type" cv="const"><type>void</type><parameter name="sitr"><paramtype>InItrT &amp;</paramtype></parameter><parameter name="stream_end"><paramtype>InItrT &amp;</paramtype></parameter><parameter name="frac"><paramtype>fracional_seconds_type &amp;</paramtype></parameter><purpose>Helper function for parsing a fractional second type from the stream. </purpose></method>
  2118. </method-group>
  2119. <method-group name="private member functions">
  2120. <method name="decimal_adjust" cv="const"><type>int_type</type><template>
  2121. <template-type-parameter name="int_type"/>
  2122. </template><parameter name="val"><paramtype>int_type</paramtype></parameter><parameter name="places"><paramtype>const unsigned short</paramtype></parameter><purpose>Helper function to adjust trailing zeros when parsing fractional digits. </purpose></method>
  2123. </method-group>
  2124. </class>
  2125. </namespace>
  2126. </namespace>
  2127. </header>
  2128. <header name="boost/date_time/time_formatting_streams.hpp">
  2129. <namespace name="boost">
  2130. <namespace name="date_time">
  2131. <class name="ostream_time_duration_formatter"><template>
  2132. <template-type-parameter name="time_duration_type"/>
  2133. <template-type-parameter name="charT"><default>char</default></template-type-parameter>
  2134. </template><purpose>Put a time type into a stream using appropriate facets. </purpose><typedef name="ostream_type"><type>std::basic_ostream&lt; charT &gt;</type></typedef>
  2135. <typedef name="fractional_seconds_type"><type>time_duration_type::fractional_seconds_type</type></typedef>
  2136. <method-group name="public static functions">
  2137. <method name="duration_put" specifiers="static"><type>void</type><parameter name="td"><paramtype>const time_duration_type &amp;</paramtype></parameter><parameter name="os"><paramtype>ostream_type &amp;</paramtype></parameter><purpose>Put time into an ostream. </purpose></method>
  2138. </method-group>
  2139. </class><class name="ostream_time_formatter"><template>
  2140. <template-type-parameter name="time_type"/>
  2141. <template-type-parameter name="charT"><default>char</default></template-type-parameter>
  2142. </template><purpose>Put a time type into a stream using appropriate facets. </purpose><typedef name="ostream_type"><type>std::basic_ostream&lt; charT &gt;</type></typedef>
  2143. <typedef name="date_type"><type>time_type::date_type</type></typedef>
  2144. <typedef name="time_duration_type"><type>time_type::time_duration_type</type></typedef>
  2145. <typedef name="duration_formatter"><type><classname>ostream_time_duration_formatter</classname>&lt; time_duration_type, charT &gt;</type></typedef>
  2146. <method-group name="public static functions">
  2147. <method name="time_put" specifiers="static"><type>void</type><parameter name="t"><paramtype>const time_type &amp;</paramtype></parameter><parameter name="os"><paramtype>ostream_type &amp;</paramtype></parameter><purpose>Put time into an ostream. </purpose></method>
  2148. </method-group>
  2149. </class><class name="ostream_time_period_formatter"><template>
  2150. <template-type-parameter name="time_period_type"/>
  2151. <template-type-parameter name="charT"><default>char</default></template-type-parameter>
  2152. </template><purpose>Put a time period into a stream using appropriate facets. </purpose><typedef name="ostream_type"><type>std::basic_ostream&lt; charT &gt;</type></typedef>
  2153. <typedef name="time_type"><type>time_period_type::point_type</type></typedef>
  2154. <typedef name="time_formatter"><type><classname>ostream_time_formatter</classname>&lt; time_type, charT &gt;</type></typedef>
  2155. <method-group name="public static functions">
  2156. <method name="period_put" specifiers="static"><type>void</type><parameter name="tp"><paramtype>const time_period_type &amp;</paramtype></parameter><parameter name="os"><paramtype>ostream_type &amp;</paramtype></parameter><purpose>Put time into an ostream. </purpose></method>
  2157. </method-group>
  2158. </class>
  2159. </namespace>
  2160. </namespace>
  2161. </header>
  2162. <header name="boost/date_time/time_iterator.hpp">
  2163. <namespace name="boost">
  2164. <namespace name="date_time">
  2165. <class name="time_itr"><template>
  2166. <template-type-parameter name="time_type"/>
  2167. </template><purpose>Simple time iterator skeleton class. </purpose><typedef name="time_duration_type"><type>time_type::time_duration_type</type></typedef>
  2168. <method-group name="public member functions">
  2169. <method name="operator++"><type><classname>time_itr</classname> &amp;</type></method>
  2170. <method name="operator--"><type><classname>time_itr</classname> &amp;</type></method>
  2171. <method name="operator *"><type>time_type</type></method>
  2172. <method name="operator-&gt;"><type>time_type *</type></method>
  2173. <method name="operator&lt;"><type>bool</type><parameter name="t"><paramtype>const time_type &amp;</paramtype></parameter></method>
  2174. <method name="operator&lt;="><type>bool</type><parameter name="t"><paramtype>const time_type &amp;</paramtype></parameter></method>
  2175. <method name="operator!="><type>bool</type><parameter name="t"><paramtype>const time_type &amp;</paramtype></parameter></method>
  2176. <method name="operator=="><type>bool</type><parameter name="t"><paramtype>const time_type &amp;</paramtype></parameter></method>
  2177. <method name="operator&gt;"><type>bool</type><parameter name="t"><paramtype>const time_type &amp;</paramtype></parameter></method>
  2178. <method name="operator&gt;="><type>bool</type><parameter name="t"><paramtype>const time_type &amp;</paramtype></parameter></method>
  2179. </method-group>
  2180. <constructor><parameter name="t"><paramtype>time_type</paramtype></parameter><parameter name="d"><paramtype>time_duration_type</paramtype></parameter></constructor>
  2181. </class>
  2182. </namespace>
  2183. </namespace>
  2184. </header>
  2185. <header name="boost/date_time/time_parsing.hpp">
  2186. <namespace name="boost">
  2187. <namespace name="date_time">
  2188. <function name="power"><type>int_type</type><template>
  2189. <template-type-parameter name="int_type"/>
  2190. </template><parameter name="base"><paramtype>int_type</paramtype></parameter><parameter name="exponent"><paramtype>int_type</paramtype></parameter><purpose>computes exponential math like 2^8 =&gt; 256, only works with positive integers </purpose></function>
  2191. <function name="str_from_delimited_time_duration"><type><classname>time_duration</classname></type><template>
  2192. <template-type-parameter name="time_duration"/>
  2193. <template-type-parameter name="char_type"/>
  2194. </template><parameter name="s"><paramtype>const std::basic_string&lt; char_type &gt; &amp;</paramtype></parameter><purpose>Creates a <classname alt="boost::date_time::time_duration">time_duration</classname> object from a delimited string. </purpose><description><para>Expected format for string is "[-]h[h][:mm][:ss][.fff]". If the number of fractional digits provided is greater than the precision of the time duration type then the extra digits are truncated.</para><para>A negative duration will be created if the first character in string is a '-', all other '-' will be treated as delimiters. Accepted delimiters are "-:,.". </para></description></function>
  2195. <function name="parse_delimited_time_duration"><type><classname>time_duration</classname></type><template>
  2196. <template-type-parameter name="time_duration"/>
  2197. </template><parameter name="s"><paramtype>const std::string &amp;</paramtype></parameter><purpose>Creates a <classname alt="boost::date_time::time_duration">time_duration</classname> object from a delimited string. </purpose><description><para>Expected format for string is "[-]h[h][:mm][:ss][.fff]". If the number of fractional digits provided is greater than the precision of the time duration type then the extra digits are truncated.</para><para>A negative duration will be created if the first character in string is a '-', all other '-' will be treated as delimiters. Accepted delimiters are "-:,.". </para></description></function>
  2198. <function name="split"><type>bool</type><parameter name="s"><paramtype>const std::string &amp;</paramtype></parameter><parameter name="sep"><paramtype>char</paramtype></parameter><parameter name="first"><paramtype>std::string &amp;</paramtype></parameter><parameter name="second"><paramtype>std::string &amp;</paramtype></parameter><purpose>Utility function to split appart string. </purpose></function>
  2199. <function name="parse_delimited_time"><type>time_type</type><template>
  2200. <template-type-parameter name="time_type"/>
  2201. </template><parameter name="s"><paramtype>const std::string &amp;</paramtype></parameter><parameter name="sep"><paramtype>char</paramtype></parameter></function>
  2202. <function name="parse_undelimited_time_duration"><type><classname>time_duration</classname></type><template>
  2203. <template-type-parameter name="time_duration"/>
  2204. </template><parameter name="s"><paramtype>const std::string &amp;</paramtype></parameter><purpose>Parse time duration part of an iso time of form: [-]hhmmss<ulink url="eg: 120259.123 is 12 hours, 2 min, 59 seconds, 123000 microseconds">.fff...</ulink> </purpose></function>
  2205. <function name="parse_iso_time"><type>time_type</type><template>
  2206. <template-type-parameter name="time_type"/>
  2207. </template><parameter name="s"><paramtype>const std::string &amp;</paramtype></parameter><parameter name="sep"><paramtype>char</paramtype></parameter><purpose>Parse time string of form YYYYMMDDThhmmss where T is delimeter between date and time. </purpose></function>
  2208. </namespace>
  2209. </namespace>
  2210. </header>
  2211. <header name="boost/date_time/time_resolution_traits.hpp">
  2212. <namespace name="boost">
  2213. <namespace name="date_time">
  2214. <class name="time_resolution_traits"><template>
  2215. <template-type-parameter name="frac_sec_type"/>
  2216. <template-nontype-parameter name="res"><type>time_resolutions</type></template-nontype-parameter>
  2217. <template-nontype-parameter name="resolution_adjust"><type>#if(defined(BOOST_MSVC) &amp;&amp;(_MSC_VER&lt; 1300)) boost::int64_t</type></template-nontype-parameter>
  2218. <template-nontype-parameter name="resolution_adjust"><type>#else typename frac_sec_type::int_type</type></template-nontype-parameter>
  2219. <template-nontype-parameter name="frac_digits"><type>#endif unsigned short</type></template-nontype-parameter>
  2220. <template-type-parameter name="var_type"><default>boost::int64_t</default></template-type-parameter>
  2221. </template><typedef name="fractional_seconds_type"><type>frac_sec_type::int_type</type></typedef>
  2222. <typedef name="tick_type"><type>frac_sec_type::int_type</type></typedef>
  2223. <typedef name="impl_type"><type>frac_sec_type::impl_type</type></typedef>
  2224. <typedef name="day_type"><type>var_type</type></typedef>
  2225. <typedef name="hour_type"><type>var_type</type></typedef>
  2226. <typedef name="min_type"><type>var_type</type></typedef>
  2227. <typedef name="sec_type"><type>var_type</type></typedef>
  2228. <method-group name="public static functions">
  2229. <method name="as_number" specifiers="static"><type>fractional_seconds_type</type><parameter name="i"><paramtype>impl_type</paramtype></parameter></method>
  2230. <method name="is_adapted" specifiers="static"><type>bool</type></method>
  2231. <method name="resolution" specifiers="static"><type>time_resolutions</type></method>
  2232. <method name="num_fractional_digits" specifiers="static"><type>unsigned short</type></method>
  2233. <method name="res_adjust" specifiers="static"><type>fractional_seconds_type</type></method>
  2234. <method name="to_tick_count" specifiers="static"><type>tick_type</type><parameter name="hours"><paramtype>hour_type</paramtype></parameter><parameter name="minutes"><paramtype>min_type</paramtype></parameter><parameter name="seconds"><paramtype>sec_type</paramtype></parameter><parameter name="fs"><paramtype>fractional_seconds_type</paramtype></parameter><purpose>Any negative argument results in a negative tick_count. </purpose></method>
  2235. </method-group>
  2236. <method-group name="public member functions">
  2237. <method name="BOOST_STATIC_CONSTANT"><type/><parameter name=""><paramtype>boost::int64_t</paramtype></parameter><parameter name=""><paramtype>ticks_per_second</paramtype><default>resolution_adjust</default></parameter></method>
  2238. <method name="BOOST_STATIC_CONSTANT"><type/><parameter name=""><paramtype>fractional_seconds_type</paramtype></parameter><parameter name=""><paramtype>ticks_per_second</paramtype><default>resolution_adjust</default></parameter></method>
  2239. </method-group>
  2240. </class><struct name="time_resolution_traits_adapted32_impl"><purpose>traits struct for <classname alt="boost::date_time::time_resolution_traits">time_resolution_traits</classname> implementation type </purpose><typedef name="int_type"><type>boost::int32_t</type></typedef>
  2241. <typedef name="impl_type"><type><classname>boost::date_time::int_adapter</classname>&lt; boost::int32_t &gt;</type></typedef>
  2242. <method-group name="public static functions">
  2243. <method name="as_number" specifiers="static"><type>int_type</type><parameter name="i"><paramtype><classname>impl_type</classname></paramtype></parameter></method>
  2244. <method name="is_adapted" specifiers="static"><type>bool</type><purpose>Used to determine if implemented type is <classname alt="boost::date_time::int_adapter">int_adapter</classname> or int. </purpose></method>
  2245. </method-group>
  2246. </struct><struct name="time_resolution_traits_adapted64_impl"><purpose>traits struct for <classname alt="boost::date_time::time_resolution_traits">time_resolution_traits</classname> implementation type </purpose><typedef name="int_type"><type>boost::int64_t</type></typedef>
  2247. <typedef name="impl_type"><type><classname>boost::date_time::int_adapter</classname>&lt; boost::int64_t &gt;</type></typedef>
  2248. <method-group name="public static functions">
  2249. <method name="as_number" specifiers="static"><type>int_type</type><parameter name="i"><paramtype><classname>impl_type</classname></paramtype></parameter></method>
  2250. <method name="is_adapted" specifiers="static"><type>bool</type><purpose>Used to determine if implemented type is <classname alt="boost::date_time::int_adapter">int_adapter</classname> or int. </purpose></method>
  2251. </method-group>
  2252. </struct><struct name="time_resolution_traits_bi32_impl"><purpose>traits struct for <classname alt="boost::date_time::time_resolution_traits">time_resolution_traits</classname> implementation type </purpose><typedef name="int_type"><type>boost::int32_t</type></typedef>
  2253. <typedef name="impl_type"><type>boost::int32_t</type></typedef>
  2254. <method-group name="public static functions">
  2255. <method name="as_number" specifiers="static"><type>int_type</type><parameter name="i"><paramtype>impl_type</paramtype></parameter></method>
  2256. <method name="is_adapted" specifiers="static"><type>bool</type><purpose>Used to determine if implemented type is <classname alt="boost::date_time::int_adapter">int_adapter</classname> or int. </purpose></method>
  2257. </method-group>
  2258. </struct><struct name="time_resolution_traits_bi64_impl"><purpose>traits struct for <classname alt="boost::date_time::time_resolution_traits">time_resolution_traits</classname> implementation type </purpose><typedef name="int_type"><type>boost::int64_t</type></typedef>
  2259. <typedef name="impl_type"><type>boost::int64_t</type></typedef>
  2260. <method-group name="public static functions">
  2261. <method name="as_number" specifiers="static"><type>int_type</type><parameter name="i"><paramtype>impl_type</paramtype></parameter></method>
  2262. <method name="is_adapted" specifiers="static"><type>bool</type><purpose>Used to determine if implemented type is <classname alt="boost::date_time::int_adapter">int_adapter</classname> or int. </purpose></method>
  2263. </method-group>
  2264. </struct><typedef name="milli_res"><type><classname>time_resolution_traits</classname>&lt; <classname>time_resolution_traits_adapted32_impl</classname>, milli, 1000, 3 &gt;</type></typedef>
  2265. <typedef name="micro_res"><type><classname>time_resolution_traits</classname>&lt; <classname>time_resolution_traits_adapted64_impl</classname>, micro, 1000000, 6 &gt;</type></typedef>
  2266. <typedef name="nano_res"><type><classname>time_resolution_traits</classname>&lt; <classname>time_resolution_traits_adapted64_impl</classname>, nano, 1000000000, 9 &gt;</type></typedef>
  2267. <function name="absolute_value"><type>T</type><template>
  2268. <template-type-parameter name="T"/>
  2269. </template><parameter name="x"><paramtype>T</paramtype></parameter><purpose>Simple function to calculate absolute value of a numeric type. </purpose></function>
  2270. </namespace>
  2271. </namespace>
  2272. </header>
  2273. <header name="boost/date_time/time_system_counted.hpp">
  2274. <namespace name="boost">
  2275. <namespace name="date_time">
  2276. <struct name="counted_time_rep"><template>
  2277. <template-type-parameter name="config"/>
  2278. </template><purpose>Time representation that uses a single integer count. </purpose><typedef name="int_type"><type>config::int_type</type></typedef>
  2279. <typedef name="date_type"><type>config::date_type</type></typedef>
  2280. <typedef name="impl_type"><type>config::impl_type</type></typedef>
  2281. <typedef name="date_duration_type"><type>date_type::duration_type</type></typedef>
  2282. <typedef name="calendar_type"><type>date_type::calendar_type</type></typedef>
  2283. <typedef name="ymd_type"><type>date_type::ymd_type</type></typedef>
  2284. <typedef name="time_duration_type"><type>config::time_duration_type</type></typedef>
  2285. <typedef name="resolution_traits"><type>config::resolution_traits</type></typedef>
  2286. <method-group name="public member functions">
  2287. <method name="date" cv="const"><type>date_type</type></method>
  2288. <method name="day_count" cv="const"><type>unsigned long</type></method>
  2289. <method name="time_count" cv="const"><type>int_type</type></method>
  2290. <method name="tod" cv="const"><type>int_type</type></method>
  2291. <method name="is_pos_infinity" cv="const"><type>bool</type></method>
  2292. <method name="is_neg_infinity" cv="const"><type>bool</type></method>
  2293. <method name="is_not_a_date_time" cv="const"><type>bool</type></method>
  2294. <method name="is_special" cv="const"><type>bool</type></method>
  2295. <method name="get_rep" cv="const"><type>impl_type</type></method>
  2296. </method-group>
  2297. <constructor><parameter name="d"><paramtype>const date_type &amp;</paramtype></parameter><parameter name="time_of_day"><paramtype>const time_duration_type &amp;</paramtype></parameter></constructor>
  2298. <constructor specifiers="explicit"><parameter name="count"><paramtype>int_type</paramtype></parameter></constructor>
  2299. <constructor specifiers="explicit"><parameter name="count"><paramtype>impl_type</paramtype></parameter></constructor>
  2300. <method-group name="public static functions">
  2301. <method name="frac_sec_per_day" specifiers="static"><type>int_type</type></method>
  2302. </method-group>
  2303. </struct><class name="counted_time_system"><template>
  2304. <template-type-parameter name="time_rep"/>
  2305. </template><purpose>An unadjusted time system implementation. </purpose><typedef name="time_rep_type"><type>time_rep</type></typedef>
  2306. <typedef name="impl_type"><type>time_rep_type::impl_type</type></typedef>
  2307. <typedef name="time_duration_type"><type>time_rep_type::time_duration_type</type></typedef>
  2308. <typedef name="fractional_seconds_type"><type>time_duration_type::fractional_seconds_type</type></typedef>
  2309. <typedef name="date_type"><type>time_rep_type::date_type</type></typedef>
  2310. <typedef name="date_duration_type"><type>time_rep_type::date_duration_type</type></typedef>
  2311. <method-group name="public static functions">
  2312. <method name="unused_var" specifiers="static"><type>void</type><template>
  2313. <template-type-parameter name="T"/>
  2314. </template><parameter name=""><paramtype>const T &amp;</paramtype></parameter></method>
  2315. <method name="get_time_rep" specifiers="static"><type>time_rep_type</type><parameter name="day"><paramtype>const date_type &amp;</paramtype></parameter><parameter name="tod"><paramtype>const time_duration_type &amp;</paramtype></parameter><parameter name="dst"><paramtype>date_time::dst_flags</paramtype><default>not_dst</default></parameter></method>
  2316. <method name="get_time_rep" specifiers="static"><type>time_rep_type</type><parameter name="sv"><paramtype>special_values</paramtype></parameter></method>
  2317. <method name="get_date" specifiers="static"><type>date_type</type><parameter name="val"><paramtype>const time_rep_type &amp;</paramtype></parameter></method>
  2318. <method name="get_time_of_day" specifiers="static"><type>time_duration_type</type><parameter name="val"><paramtype>const time_rep_type &amp;</paramtype></parameter></method>
  2319. <method name="zone_name" specifiers="static"><type>std::string</type><parameter name=""><paramtype>const time_rep_type &amp;</paramtype></parameter></method>
  2320. <method name="is_equal" specifiers="static"><type>bool</type><parameter name="lhs"><paramtype>const time_rep_type &amp;</paramtype></parameter><parameter name="rhs"><paramtype>const time_rep_type &amp;</paramtype></parameter></method>
  2321. <method name="is_less" specifiers="static"><type>bool</type><parameter name="lhs"><paramtype>const time_rep_type &amp;</paramtype></parameter><parameter name="rhs"><paramtype>const time_rep_type &amp;</paramtype></parameter></method>
  2322. <method name="add_days" specifiers="static"><type>time_rep_type</type><parameter name="base"><paramtype>const time_rep_type &amp;</paramtype></parameter><parameter name="dd"><paramtype>const date_duration_type &amp;</paramtype></parameter></method>
  2323. <method name="subtract_days" specifiers="static"><type>time_rep_type</type><parameter name="base"><paramtype>const time_rep_type &amp;</paramtype></parameter><parameter name="dd"><paramtype>const date_duration_type &amp;</paramtype></parameter></method>
  2324. <method name="subtract_time_duration" specifiers="static"><type>time_rep_type</type><parameter name="base"><paramtype>const time_rep_type &amp;</paramtype></parameter><parameter name="td"><paramtype>const time_duration_type &amp;</paramtype></parameter></method>
  2325. <method name="add_time_duration" specifiers="static"><type>time_rep_type</type><parameter name="base"><paramtype>const time_rep_type &amp;</paramtype></parameter><parameter name="td"><paramtype>time_duration_type</paramtype></parameter></method>
  2326. <method name="subtract_times" specifiers="static"><type>time_duration_type</type><parameter name="lhs"><paramtype>const time_rep_type &amp;</paramtype></parameter><parameter name="rhs"><paramtype>const time_rep_type &amp;</paramtype></parameter></method>
  2327. </method-group>
  2328. </class>
  2329. </namespace>
  2330. </namespace>
  2331. </header>
  2332. <header name="boost/date_time/time_system_split.hpp">
  2333. <namespace name="boost">
  2334. <namespace name="date_time">
  2335. <class name="split_timedate_system"><template>
  2336. <template-type-parameter name="config"/>
  2337. <template-nontype-parameter name="ticks_per_second"><type>boost::int32_t</type></template-nontype-parameter>
  2338. </template><purpose>An unadjusted time system implementation. </purpose><typedef name="time_rep_type"><type>config::time_rep_type</type></typedef>
  2339. <typedef name="date_type"><type>config::date_type</type></typedef>
  2340. <typedef name="time_duration_type"><type>config::time_duration_type</type></typedef>
  2341. <typedef name="date_duration_type"><type>config::date_duration_type</type></typedef>
  2342. <typedef name="int_type"><type>config::int_type</type></typedef>
  2343. <typedef name="resolution_traits"><type>config::resolution_traits</type></typedef>
  2344. <typedef name="wrap_int_type"><type><classname>date_time::wrapping_int</classname>&lt; int_type, INT64_C(86400) *ticks_per_second &gt;</type></typedef>
  2345. <typedef name="wrap_int_type"><type><classname>date_time::wrapping_int</classname>&lt; split_timedate_system::int_type, split_timedate_system::ticks_per_day &gt;</type></typedef>
  2346. <typedef name="wrap_int_type"><type><classname>date_time::wrapping_int</classname>&lt; int_type, ticks_per_day &gt;</type></typedef>
  2347. <method-group name="private member functions">
  2348. <method name="BOOST_STATIC_CONSTANT"><type/><parameter name=""><paramtype>int_type</paramtype></parameter><parameter name=""><paramtype>ticks_per_day</paramtype><default>INT64_C(86400) *config::tick_per_second</default></parameter></method>
  2349. </method-group>
  2350. <method-group name="public static functions">
  2351. <method name="get_time_rep" specifiers="static"><type>time_rep_type</type><parameter name="sv"><paramtype>special_values</paramtype></parameter></method>
  2352. <method name="get_time_rep" specifiers="static"><type>time_rep_type</type><parameter name="day"><paramtype>const date_type &amp;</paramtype></parameter><parameter name="tod"><paramtype>const time_duration_type &amp;</paramtype></parameter><parameter name=""><paramtype>date_time::dst_flags</paramtype><default>not_dst</default></parameter></method>
  2353. <method name="get_date" specifiers="static"><type>date_type</type><parameter name="val"><paramtype>const time_rep_type &amp;</paramtype></parameter></method>
  2354. <method name="get_time_of_day" specifiers="static"><type>time_duration_type</type><parameter name="val"><paramtype>const time_rep_type &amp;</paramtype></parameter></method>
  2355. <method name="zone_name" specifiers="static"><type>std::string</type><parameter name=""><paramtype>const time_rep_type &amp;</paramtype></parameter></method>
  2356. <method name="is_equal" specifiers="static"><type>bool</type><parameter name="lhs"><paramtype>const time_rep_type &amp;</paramtype></parameter><parameter name="rhs"><paramtype>const time_rep_type &amp;</paramtype></parameter></method>
  2357. <method name="is_less" specifiers="static"><type>bool</type><parameter name="lhs"><paramtype>const time_rep_type &amp;</paramtype></parameter><parameter name="rhs"><paramtype>const time_rep_type &amp;</paramtype></parameter></method>
  2358. <method name="add_days" specifiers="static"><type>time_rep_type</type><parameter name="base"><paramtype>const time_rep_type &amp;</paramtype></parameter><parameter name="dd"><paramtype>const date_duration_type &amp;</paramtype></parameter></method>
  2359. <method name="subtract_days" specifiers="static"><type>time_rep_type</type><parameter name="base"><paramtype>const time_rep_type &amp;</paramtype></parameter><parameter name="dd"><paramtype>const date_duration_type &amp;</paramtype></parameter></method>
  2360. <method name="subtract_time_duration" specifiers="static"><type>time_rep_type</type><parameter name="base"><paramtype>const time_rep_type &amp;</paramtype></parameter><parameter name="td"><paramtype>const time_duration_type &amp;</paramtype></parameter></method>
  2361. <method name="add_time_duration" specifiers="static"><type>time_rep_type</type><parameter name="base"><paramtype>const time_rep_type &amp;</paramtype></parameter><parameter name="td"><paramtype>time_duration_type</paramtype></parameter></method>
  2362. <method name="subtract_times" specifiers="static"><type>time_duration_type</type><parameter name="lhs"><paramtype>const time_rep_type &amp;</paramtype></parameter><parameter name="rhs"><paramtype>const time_rep_type &amp;</paramtype></parameter></method>
  2363. </method-group>
  2364. </class>
  2365. </namespace>
  2366. </namespace>
  2367. </header>
  2368. <header name="boost/date_time/time_zone_base.hpp">
  2369. <namespace name="boost">
  2370. <namespace name="date_time">
  2371. <class name="dst_adjustment_offsets"><template>
  2372. <template-type-parameter name="time_duration_type"><purpose><para>A type used to represent the offset </para></purpose></template-type-parameter>
  2373. </template><purpose>Structure which holds the time offsets associated with daylight savings time. </purpose><description><para>
  2374. </para></description><data-member name="dst_adjust_"><type>time_duration_type</type><purpose>Amount DST adjusts the clock eg: plus one hour. </purpose></data-member>
  2375. <data-member name="dst_start_offset_"><type>time_duration_type</type><purpose>Time past midnight on start transition day that dst starts. </purpose></data-member>
  2376. <data-member name="dst_end_offset_"><type>time_duration_type</type><purpose>Time past midnight on end transition day that dst ends. </purpose></data-member>
  2377. <method-group name="public member functions">
  2378. </method-group>
  2379. <constructor><parameter name="dst_adjust"><paramtype>const time_duration_type &amp;</paramtype></parameter><parameter name="dst_start_offset"><paramtype>const time_duration_type &amp;</paramtype></parameter><parameter name="dst_end_offset"><paramtype>const time_duration_type &amp;</paramtype></parameter></constructor>
  2380. </class><class name="time_zone_base"><template>
  2381. <template-type-parameter name="time_type"/>
  2382. <template-type-parameter name="CharT"/>
  2383. </template><purpose>Interface class for dynamic time zones. </purpose><description><para>This class represents the base interface for all timezone representations. Subclasses may provide different systems for identifying a particular zone. For example some may provide a geographical based zone construction while others may specify the offset from GMT. Another possible implementation would be to convert from POSIX timezone strings. Regardless of the construction technique, this is the interface that these time zone types must provide.</para><para>Note that this class is intended to be used as a shared resource (hence the derivation from boost::counted_base. </para></description><typedef name="char_type"><type>CharT</type></typedef>
  2384. <typedef name="string_type"><type>std::basic_string&lt; CharT &gt;</type></typedef>
  2385. <typedef name="stringstream_type"><type>std::basic_ostringstream&lt; CharT &gt;</type></typedef>
  2386. <typedef name="year_type"><type>time_type::date_type::year_type</type></typedef>
  2387. <typedef name="time_duration_type"><type>time_type::time_duration_type</type></typedef>
  2388. <method-group name="public member functions">
  2389. <method name="dst_zone_abbrev" cv="const = 0" specifiers="virtual"><type>string_type</type><purpose>String for the timezone when in daylight savings (eg: EDT) </purpose></method>
  2390. <method name="std_zone_abbrev" cv="const = 0" specifiers="virtual"><type>string_type</type><purpose>String for the zone when not in daylight savings (eg: EST) </purpose></method>
  2391. <method name="dst_zone_name" cv="const = 0" specifiers="virtual"><type>string_type</type><purpose>String for the timezone when in daylight savings (eg: Eastern Daylight Time) </purpose></method>
  2392. <method name="std_zone_name" cv="const = 0" specifiers="virtual"><type>string_type</type><purpose>String for the zone when not in daylight savings (eg: Eastern Standard Time) </purpose></method>
  2393. <method name="has_dst" cv="const = 0" specifiers="virtual"><type>bool</type><purpose>True if zone uses daylight savings adjustments otherwise false. </purpose></method>
  2394. <method name="dst_local_start_time" cv="const = 0" specifiers="virtual"><type>time_type</type><parameter name="y"><paramtype>year_type</paramtype></parameter><purpose>Local time that DST starts – undefined if has_dst is false. </purpose></method>
  2395. <method name="dst_local_end_time" cv="const = 0" specifiers="virtual"><type>time_type</type><parameter name="y"><paramtype>year_type</paramtype></parameter><purpose>Local time that DST ends – undefined if has_dst is false. </purpose></method>
  2396. <method name="base_utc_offset" cv="const = 0" specifiers="virtual"><type>time_duration_type</type><purpose>Base offset from UTC for zone (eg: -07:30:00) </purpose></method>
  2397. <method name="dst_offset" cv="const = 0" specifiers="virtual"><type>time_duration_type</type><purpose>Adjustment forward or back made while DST is in effect. </purpose></method>
  2398. <method name="to_posix_string" cv="const = 0" specifiers="virtual"><type>string_type</type><purpose>Returns a POSIX time_zone string for this object. </purpose></method>
  2399. </method-group>
  2400. <constructor/>
  2401. <destructor/>
  2402. </class>
  2403. </namespace>
  2404. </namespace>
  2405. </header>
  2406. <header name="boost/date_time/time_zone_names.hpp">
  2407. <namespace name="boost">
  2408. <namespace name="date_time">
  2409. <struct name="default_zone_names"><template>
  2410. <template-type-parameter name="CharT"/>
  2411. </template><typedef name="char_type"><type>CharT</type></typedef>
  2412. <data-member name="standard_name" specifiers="static"><type>const char_type</type></data-member>
  2413. <data-member name="standard_abbrev" specifiers="static"><type>const char_type</type></data-member>
  2414. <data-member name="non_dst_identifier" specifiers="static"><type>const char_type</type></data-member>
  2415. </struct><class name="time_zone_names_base"><template>
  2416. <template-type-parameter name="CharT"><purpose><para>Allows class to support different character types </para></purpose></template-type-parameter>
  2417. </template><purpose>Base type that holds various string names for timezone output. </purpose><description><para>Class that holds various types of strings used for timezones. For example, for the western United States there is the full name: Pacific Standard Time and the abbreviated name: PST. During daylight savings there are additional names: Pacific Daylight Time and PDT.
  2418. </para></description><typedef name="string_type"><type>std::basic_string&lt; CharT &gt;</type></typedef>
  2419. <method-group name="public member functions">
  2420. <method name="dst_zone_abbrev" cv="const"><type>string_type</type></method>
  2421. <method name="std_zone_abbrev" cv="const"><type>string_type</type></method>
  2422. <method name="dst_zone_name" cv="const"><type>string_type</type></method>
  2423. <method name="std_zone_name" cv="const"><type>string_type</type></method>
  2424. </method-group>
  2425. <constructor/>
  2426. <constructor><parameter name="std_zone_name_str"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="std_zone_abbrev_str"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="dst_zone_name_str"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="dst_zone_abbrev_str"><paramtype>const string_type &amp;</paramtype></parameter></constructor>
  2427. </class>
  2428. </namespace>
  2429. </namespace>
  2430. </header>
  2431. <header name="boost/date_time/tz_db_base.hpp">
  2432. <namespace name="boost">
  2433. <namespace name="date_time">
  2434. <class name="bad_field_count"><inherit access="public">out_of_range</inherit><purpose>Exception thrown when tz database locates incorrect field structure in data file. </purpose><method-group name="public member functions">
  2435. </method-group>
  2436. <constructor><parameter name="s"><paramtype>const std::string &amp;</paramtype></parameter></constructor>
  2437. </class><class name="data_not_accessible"><inherit access="public">logic_error</inherit><purpose>Exception thrown when tz database cannot locate requested data file. </purpose><method-group name="public member functions">
  2438. </method-group>
  2439. <constructor/>
  2440. <constructor><parameter name="filespec"><paramtype>const std::string &amp;</paramtype></parameter></constructor>
  2441. </class><class name="tz_db_base"><template>
  2442. <template-type-parameter name="time_zone_type"/>
  2443. <template-type-parameter name="rule_type"/>
  2444. </template><purpose>Creates a database of time_zones from csv datafile. </purpose><description><para>The csv file containing the zone_specs used by the <classname alt="boost::date_time::tz_db_base">tz_db_base</classname> is intended to be customized by the library user. When customizing this file (or creating your own) the file must follow a specific format.</para><para>This first line is expected to contain column headings and is therefore not processed by the <classname alt="boost::date_time::tz_db_base">tz_db_base</classname>.</para><para>Each record (line) must have eleven fields. Some of those fields can be empty. Every field (even empty ones) must be enclosed in double-quotes. Ex: <programlisting language="c++">"America/Phoenix" &lt;- string enclosed in quotes
  2445. "" &lt;- empty field
  2446. </programlisting></para><para>Some fields represent a length of time. The format of these fields must be: <programlisting language="c++">"{+|-}hh:mm[:ss]" &lt;- length-of-time format
  2447. </programlisting> Where the plus or minus is mandatory and the seconds are optional.</para><para>Since some time zones do not use daylight savings it is not always necessary for every field in a zone_spec to contain a value. All zone_specs must have at least ID and GMT offset. Zones that use daylight savings must have all fields filled except: STD ABBR, STD NAME, DST NAME. You should take note that DST ABBR is mandatory for zones that use daylight savings (see field descriptions for further details).</para><para>******* Fields and their description/details *********</para><para>ID: Contains the identifying string for the zone_spec. Any string will do as long as it's unique. No two ID's can be the same.</para><para>STD ABBR: STD NAME: DST ABBR: DST NAME: These four are all the names and abbreviations used by the time zone being described. While any string will do in these fields, care should be taken. These fields hold the strings that will be used in the output of many of the local_time classes. Ex: <programlisting language="c++">time_zone nyc = tz_db.time_zone_from_region("America/New_York");
  2448. local_time ny_time(date(2004, Aug, 30), IS_DST, nyc);
  2449. cout &lt;&lt; ny_time.to_long_string() &lt;&lt; endl;
  2450. // 2004-Aug-30 00:00:00 Eastern Daylight Time
  2451. cout &lt;&lt; ny_time.to_short_string() &lt;&lt; endl;
  2452. // 2004-Aug-30 00:00:00 EDT
  2453. </programlisting></para><para>NOTE: The exact format/function names may vary - see local_time documentation for further details.</para><para>GMT offset: This is the number of hours added to utc to get the local time before any daylight savings adjustments are made. Some examples are: America/New_York offset -5 hours, &amp; Africa/Cairo offset +2 hours. The format must follow the length-of-time format described above.</para><para>DST adjustment: The amount of time added to gmt_offset when daylight savings is in effect. The format must follow the length-of-time format described above.</para><para>DST Start Date rule: This is a specially formatted string that describes the day of year in which the transition take place. It holds three fields of it's own, separated by semicolons. The first field indicates the "nth" weekday of the month. The possible values are: 1 (first), 2 (second), 3 (third), 4 (fourth), 5 (fifth), and -1 (last). The second field indicates the day-of-week from 0-6 (Sun=0). The third field indicates the month from 1-12 (Jan=1).</para><para>Examples are: "-1;5;9"="Last Friday of September", "2;1;3"="Second Monday of March"</para><para>Start time: Start time is the number of hours past midnight, on the day of the start transition, the transition takes place. More simply put, the time of day the transition is made (in 24 hours format). The format must follow the length-of-time format described above with the exception that it must always be positive.</para><para>DST End date rule: See DST Start date rule. The difference here is this is the day daylight savings ends (transition to STD).</para><para>End time: Same as Start time. </para></description><typedef name="char_type"><type>char</type></typedef>
  2454. <typedef name="time_zone_base_type"><type>time_zone_type::base_type</type></typedef>
  2455. <typedef name="time_duration_type"><type>time_zone_type::time_duration_type</type></typedef>
  2456. <typedef name="time_zone_names"><type><classname>time_zone_names_base</classname>&lt; char_type &gt;</type></typedef>
  2457. <typedef name="dst_adjustment_offsets"><type><classname>boost::date_time::dst_adjustment_offsets</classname>&lt; time_duration_type &gt;</type></typedef>
  2458. <typedef name="string_type"><type>std::basic_string&lt; char_type &gt;</type></typedef>
  2459. <method-group name="public member functions">
  2460. <method name="load_from_stream"><type>void</type><parameter name="in"><paramtype>std::istream &amp;</paramtype></parameter><purpose>Process csv data file, may throw exceptions. </purpose><description><para>May throw <classname alt="boost::date_time::bad_field_count">bad_field_count</classname> exceptions </para></description></method>
  2461. <method name="load_from_file"><type>void</type><parameter name="pathspec"><paramtype>const std::string &amp;</paramtype></parameter><purpose>Process csv data file, may throw exceptions. </purpose><description><para>May throw <classname alt="boost::date_time::data_not_accessible">data_not_accessible</classname>, or <classname alt="boost::date_time::bad_field_count">bad_field_count</classname> exceptions </para></description></method>
  2462. <method name="add_record"><type>bool</type><parameter name="region"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="tz"><paramtype>boost::shared_ptr&lt; time_zone_base_type &gt;</paramtype></parameter><purpose>returns true if record successfully added to map </purpose><description><para>Takes a region name in the form of "America/Phoenix", and a time_zone object for that region. The id string must be a unique name that does not already exist in the database. </para></description></method>
  2463. <method name="time_zone_from_region" cv="const"><type>boost::shared_ptr&lt; time_zone_base_type &gt;</type><parameter name="region"><paramtype>const string_type &amp;</paramtype></parameter><purpose>Returns a time_zone object built from the specs for the given region. </purpose><description><para>Returns a time_zone object built from the specs for the given region. If region does not exist a local_time::record_not_found exception will be thrown </para></description></method>
  2464. <method name="region_list" cv="const"><type>std::vector&lt; std::string &gt;</type><purpose>Returns a vector of strings holding the time zone regions in the database. </purpose></method>
  2465. </method-group>
  2466. <constructor><purpose>Constructs an empty database. </purpose></constructor>
  2467. <method-group name="private member functions">
  2468. <method name="parse_rules" cv="const"><type>rule_type *</type><parameter name="sr"><paramtype>const string_type &amp;</paramtype></parameter><parameter name="er"><paramtype>const string_type &amp;</paramtype></parameter><purpose>parses rule specs for transition day rules </purpose></method>
  2469. <method name="get_week_num" cv="const"><type>week_num</type><parameter name="nth"><paramtype>int</paramtype></parameter><purpose>helper function for parse_rules() </purpose></method>
  2470. <method name="split_rule_spec" cv="const"><type>void</type><parameter name="nth"><paramtype>int &amp;</paramtype></parameter><parameter name="d"><paramtype>int &amp;</paramtype></parameter><parameter name="m"><paramtype>int &amp;</paramtype></parameter><parameter name="rule"><paramtype>string_type</paramtype></parameter><purpose>splits the [start|end]_date_rule string into 3 ints </purpose></method>
  2471. <method name="parse_string"><type>bool</type><parameter name="s"><paramtype>string_type &amp;</paramtype></parameter><purpose>Take a line from the csv, turn it into a time_zone_type. </purpose><description><para>Take a line from the csv, turn it into a time_zone_type, and add it to the map. Zone_specs in csv file are expected to have eleven fields that describe the time zone. Returns true if zone_spec successfully added to database </para></description></method>
  2472. </method-group>
  2473. </class>
  2474. </namespace>
  2475. </namespace>
  2476. </header>
  2477. <header name="boost/date_time/wrapping_int.hpp">
  2478. <namespace name="boost">
  2479. <namespace name="date_time">
  2480. <class name="wrapping_int"><template>
  2481. <template-type-parameter name="int_type_"/>
  2482. <template-nontype-parameter name="wrap_val"><type>int_type_</type></template-nontype-parameter>
  2483. </template><purpose>A wrapping integer used to support time durations (WARNING: only instantiate with a signed type) </purpose><description><para>In composite date and time types this type is used to wrap at the day boundary. Ex: A wrapping_int&lt;short, 10&gt; will roll over after nine, and roll under below zero. This gives a range of [0,9]</para><para>NOTE: it is strongly recommended that <classname alt="boost::date_time::wrapping_int2">wrapping_int2</classname> be used instead of <classname alt="boost::date_time::wrapping_int">wrapping_int</classname> as <classname alt="boost::date_time::wrapping_int">wrapping_int</classname> is to be depricated at some point soon.</para><para>Also Note that warnings will occur if instantiated with an unsigned type. Only a signed type should be used! </para></description><typedef name="int_type"><type>int_type_</type></typedef>
  2484. <method-group name="public static functions">
  2485. <method name="wrap_value" specifiers="static"><type>int_type</type></method>
  2486. </method-group>
  2487. <method-group name="public member functions">
  2488. <method name="as_int" cv="const"><type>int_type</type><purpose>Explicit converion method. </purpose></method>
  2489. <method name="conversion-operator" cv="const"><type>int_type</type></method>
  2490. <method name="add"><type>IntT</type><template>
  2491. <template-type-parameter name="IntT"/>
  2492. </template><parameter name="v"><paramtype>IntT</paramtype></parameter><purpose>Add, return number of wraps performed. </purpose><description><para>The sign of the returned value will indicate which direction the wraps went. Ex: add a negative number and wrapping under could occur, this would be indicated by a negative return value. If wrapping over took place, a positive value would be returned </para></description></method>
  2493. <method name="subtract"><type>IntT</type><template>
  2494. <template-type-parameter name="IntT"/>
  2495. </template><parameter name="v"><paramtype>IntT</paramtype></parameter><purpose>Subtract will return '+d' if wrapping under took place ('d' is the number of wraps) </purpose><description><para>The sign of the returned value will indicate which direction the wraps went (positive indicates wrap under, negative indicates wrap over). Ex: subtract a negative number and wrapping over could occur, this would be indicated by a negative return value. If wrapping under took place, a positive value would be returned. </para></description></method>
  2496. </method-group>
  2497. <constructor><parameter name="v"><paramtype>int_type</paramtype></parameter><purpose>Add, return true if wrapped. </purpose></constructor>
  2498. <method-group name="private member functions">
  2499. <method name="calculate_wrap"><type>IntT</type><template>
  2500. <template-type-parameter name="IntT"/>
  2501. </template><parameter name="wrap"><paramtype>IntT</paramtype></parameter></method>
  2502. </method-group>
  2503. </class><class name="wrapping_int2"><template>
  2504. <template-type-parameter name="int_type_"/>
  2505. <template-nontype-parameter name="wrap_min"><type>int_type_</type></template-nontype-parameter>
  2506. <template-nontype-parameter name="wrap_max"><type>int_type_</type></template-nontype-parameter>
  2507. </template><purpose>A wrapping integer used to wrap around at the top (WARNING: only instantiate with a signed type) </purpose><description><para>Bad name, quick impl to fix a bug – fix later!! This allows the wrap to restart at a value other than 0. </para></description><typedef name="int_type"><type>int_type_</type></typedef>
  2508. <method-group name="public static functions">
  2509. <method name="wrap_value" specifiers="static"><type>int_type</type></method>
  2510. <method name="min_value" specifiers="static"><type>int_type</type></method>
  2511. </method-group>
  2512. <method-group name="public member functions">
  2513. <method name="as_int" cv="const"><type>int_type</type><purpose>Explicit converion method. </purpose></method>
  2514. <method name="conversion-operator" cv="const"><type>int_type</type></method>
  2515. <method name="add"><type>IntT</type><template>
  2516. <template-type-parameter name="IntT"/>
  2517. </template><parameter name="v"><paramtype>IntT</paramtype></parameter><purpose>Add, return number of wraps performed. </purpose><description><para>The sign of the returned value will indicate which direction the wraps went. Ex: add a negative number and wrapping under could occur, this would be indicated by a negative return value. If wrapping over took place, a positive value would be returned </para></description></method>
  2518. <method name="subtract"><type>IntT</type><template>
  2519. <template-type-parameter name="IntT"/>
  2520. </template><parameter name="v"><paramtype>IntT</paramtype></parameter><purpose>Subtract will return '-d' if wrapping under took place ('d' is the number of wraps) </purpose><description><para>The sign of the returned value will indicate which direction the wraps went. Ex: subtract a negative number and wrapping over could occur, this would be indicated by a positive return value. If wrapping under took place, a negative value would be returned </para></description></method>
  2521. </method-group>
  2522. <constructor><parameter name="v"><paramtype>int_type</paramtype></parameter><description><para>If initializing value is out of range of [wrap_min, wrap_max], value will be initialized to closest of min or max </para></description></constructor>
  2523. <method-group name="private member functions">
  2524. <method name="calculate_wrap"><type>IntT</type><template>
  2525. <template-type-parameter name="IntT"/>
  2526. </template><parameter name="wrap"><paramtype>IntT</paramtype></parameter></method>
  2527. </method-group>
  2528. </class>
  2529. </namespace>
  2530. </namespace>
  2531. </header>
  2532. <header name="boost/date_time/year_month_day.hpp">
  2533. <namespace name="boost">
  2534. <namespace name="date_time">
  2535. <struct name="year_month_day_base"><template>
  2536. <template-type-parameter name="YearType"/>
  2537. <template-type-parameter name="MonthType"/>
  2538. <template-type-parameter name="DayType"/>
  2539. </template><purpose>Allow rapid creation of ymd triples of different types. </purpose><typedef name="year_type"><type>YearType</type></typedef>
  2540. <typedef name="month_type"><type>MonthType</type></typedef>
  2541. <typedef name="day_type"><type>DayType</type></typedef>
  2542. <data-member name="year"><type>YearType</type></data-member>
  2543. <data-member name="month"><type>MonthType</type></data-member>
  2544. <data-member name="day"><type>DayType</type></data-member>
  2545. <method-group name="public member functions">
  2546. </method-group>
  2547. <constructor><parameter name="year"><paramtype>YearType</paramtype></parameter><parameter name="month"><paramtype>MonthType</paramtype></parameter><parameter name="day"><paramtype>DayType</paramtype></parameter><purpose>A basic constructor. </purpose></constructor>
  2548. </struct>
  2549. </namespace>
  2550. </namespace>
  2551. </header>
  2552. </library-reference>