home *** CD-ROM | disk | FTP | other *** search
/ Meeting Pearls 3 / Meeting_Pearls_III.iso / Pearls / dev / Libraries / Date / doc / DateClass.doc < prev    next >
Encoding:
Text File  |  1995-07-31  |  98.1 KB  |  6,504 lines

  1. TABLE OF CONTENTS
  2. 0001 DateClass/--background--
  3. 0002 DateClass/--compiling--
  4. 0003 DateClass/--history--
  5. 0004 DateClass/--todo--
  6. 0005 DateClass/Easter()
  7. 0006 DateClass/date
  8. 0007 DateClass/date/date()
  9. 0008 DateClass/date/date()
  10. 0009 DateClass/date/getday()
  11. 0010 DateClass/date/getjd()
  12. 0011 DateClass/date/getmjd()
  13. 0012 DateClass/date/getmonth()
  14. 0013 DateClass/date/getmoonage()
  15. 0014 DateClass/date/getmoonphase()
  16. 0015 DateClass/date/getscaliger()
  17. 0016 DateClass/date/getweek()
  18. 0017 DateClass/date/getweekday()
  19. 0018 DateClass/date/getyear()
  20. 0019 DateClass/date/operator!()
  21. 0020 DateClass/date/operator!=()
  22. 0021 DateClass/date/operator!=()
  23. 0022 DateClass/date/operator+()
  24. 0023 DateClass/date/operator+()
  25. 0024 DateClass/date/operator++()
  26. 0025 DateClass/date/operator++(int)
  27. 0026 DateClass/date/operator+=()
  28. 0027 DateClass/date/operator+=()
  29. 0028 DateClass/date/operator-()
  30. 0029 DateClass/date/operator-()
  31. 0030 DateClass/date/operator-()
  32. 0031 DateClass/date/operator--()
  33. 0032 DateClass/date/operator--(int)
  34. 0033 DateClass/date/operator-=()
  35. 0034 DateClass/date/operator-=()
  36. 0035 DateClass/date/operator<()
  37. 0036 DateClass/date/operator<()
  38. 0037 DateClass/date/operator<=()
  39. 0038 DateClass/date/operator<=()
  40. 0039 DateClass/date/operator==()
  41. 0040 DateClass/date/operator==()
  42. 0041 DateClass/date/operator>()
  43. 0042 DateClass/date/operator>()
  44. 0043 DateClass/date/operator>=()
  45. 0044 DateClass/date/operator>=()
  46. 0045 DateClass/date/struct
  47. 0046 DateClass/dateduration
  48. 0047 DateClass/dateduration/dateduration()
  49. 0048 DateClass/dateduration/getdays()
  50. 0049 DateClass/dateduration/getindays()
  51. 0050 DateClass/dateduration/getmonths()
  52. 0051 DateClass/dateduration/getyears()
  53. 0052 DateClass/dateduration/operator!=()
  54. 0053 DateClass/dateduration/operator%()
  55. 0054 DateClass/dateduration/operator*()
  56. 0055 DateClass/dateduration/operator*()
  57. 0056 DateClass/dateduration/operator*()
  58. 0057 DateClass/dateduration/operator*=()
  59. 0058 DateClass/dateduration/operator*=()
  60. 0059 DateClass/dateduration/operator*=()
  61. 0060 DateClass/dateduration/operator+()
  62. 0061 DateClass/dateduration/operator++()
  63. 0062 DateClass/dateduration/operator++(int)
  64. 0063 DateClass/dateduration/operator+=()
  65. 0064 DateClass/dateduration/operator-()
  66. 0065 DateClass/dateduration/operator--()
  67. 0066 DateClass/dateduration/operator--(int)
  68. 0067 DateClass/dateduration/operator-=()
  69. 0068 DateClass/dateduration/operator/()
  70. 0069 DateClass/dateduration/operator/()
  71. 0070 DateClass/dateduration/operator/()
  72. 0071 DateClass/dateduration/operator/()
  73. 0072 DateClass/dateduration/operator/=()
  74. 0073 DateClass/dateduration/operator/=()
  75. 0074 DateClass/dateduration/operator/=()
  76. 0075 DateClass/dateduration/operator<=()
  77. 0076 DateClass/dateduration/operator==()
  78. 0077 DateClass/dateduration/operator>()
  79. 0078 DateClass/dateduration/operator>=()
  80. 0079 DateClass/dateduration/struct
  81. 0080 DateClass/dateeduration/operator<()
  82. 0081 DateClass/time
  83. 0082 DateClass/time/gethour()
  84. 0083 DateClass/time/getjd()
  85. 0084 DateClass/time/getmin()
  86. 0085 DateClass/time/getsec()
  87. 0086 DateClass/time/getzone()
  88. 0087 DateClass/time/operator!=()
  89. 0088 DateClass/time/operator()()
  90. 0089 DateClass/time/operator+()
  91. 0090 DateClass/time/operator+=()
  92. 0091 DateClass/time/operator-()
  93. 0092 DateClass/time/operator-()
  94. 0093 DateClass/time/operator-=()
  95. 0094 DateClass/time/operator<()
  96. 0095 DateClass/time/operator<<()
  97. 0096 DateClass/time/operator<<=()
  98. 0097 DateClass/time/operator<=()
  99. 0098 DateClass/time/operator==()
  100. 0099 DateClass/time/operator>()
  101. 0100 DateClass/time/operator>=()
  102. 0101 DateClass/time/operator>>()
  103. 0102 DateClass/time/operator>>=()
  104. 0103 DateClass/time/operator[]()
  105. 0104 DateClass/time/struct
  106. 0105 DateClass/time/time()
  107. 0106 DateClass/time/time()
  108. 0107 DateClass/time/time()
  109. 0108 DateClass/timeduration
  110. 0109 DateClass/timeduration/gethours()
  111. 0110 DateClass/timeduration/getinsecs()
  112. 0111 DateClass/timeduration/getmins()
  113. 0112 DateClass/timeduration/getsecs()
  114. 0113 DateClass/timeduration/operator!=()
  115. 0114 DateClass/timeduration/operator%()
  116. 0115 DateClass/timeduration/operator*()
  117. 0116 DateClass/timeduration/operator*()
  118. 0117 DateClass/timeduration/operator*()
  119. 0118 DateClass/timeduration/operator*=()
  120. 0119 DateClass/timeduration/operator*=()
  121. 0120 DateClass/timeduration/operator*=()
  122. 0121 DateClass/timeduration/operator+()
  123. 0122 DateClass/timeduration/operator+=()
  124. 0123 DateClass/timeduration/operator-()
  125. 0124 DateClass/timeduration/operator-=()
  126. 0125 DateClass/timeduration/operator/()
  127. 0126 DateClass/timeduration/operator/()
  128. 0127 DateClass/timeduration/operator/()
  129. 0128 DateClass/timeduration/operator/()
  130. 0129 DateClass/timeduration/operator/=()
  131. 0130 DateClass/timeduration/operator/=()
  132. 0131 DateClass/timeduration/operator/=()
  133. 0132 DateClass/timeduration/operator<()
  134. 0133 DateClass/timeduration/operator<=()
  135. 0134 DateClass/timeduration/operator==()
  136. 0135 DateClass/timeduration/operator>()
  137. 0136 DateClass/timeduration/operator>=()
  138. 0137 DateClass/timeduration/struct
  139. 0138 DateClass/timeduration/timeduration()
  140. 0139 DateClass/timeduration/timeduration()
  141. 0140 DateClass/timeduration/timeduration()
  142. 0141 DateClass/timeduration/timeduration()
  143.  
  144. DateClass/--background--
  145.  
  146. NAME
  147.         DateClass -- This class was designed to help calc. cal. dates (V33)
  148.  
  149.  
  150. FUNCTION
  151.         This class has been designed to become a useful and portable class
  152.         and to help developers handle calendar dates!
  153.  
  154.  
  155. NOTES
  156.         This class is based on the date library copyrighted 1994-95 by
  157.         Kai Hofmann.
  158.  
  159.  
  160. COPYRIGHT
  161.         This software is copyrighted 1995 by Kai Hofmann.
  162.         All rights reserved!
  163.  
  164.         - Permission for COMMERCIAL USE is only given by an extra available
  165.           commercial license that must be validated!
  166.           Contact me directly for this license, because it will be
  167.           individually handed out per your needs!
  168.  
  169.         - Permission is hereby granted, without written agreement and without
  170.           license, to USE this software and its documentation for any
  171.           NON-COMMERCIAL purpose, provided that the above copyright notice
  172.           and the following paragraph appear in all copies of this software
  173.           (Non-commercial includes Giftware and Shareware!).
  174.  
  175.           You *must* include the following notice in your product and in your
  176.           documentation:
  177.           "This software uses the date class that is copyrighted 1994-95 by
  178.            Kai Hofmann"
  179.  
  180.           You "must" send me a full version of your product at no cost
  181.           including free updates!
  182.           Extra money is welcome (For Bank Account see below - but *ONLY*
  183.           send in DM to this Bank Account!).
  184.  
  185.         - THERE IS *NO PERMISSION* GIVEN TO MODIFY THIS SOFTWARE!
  186.  
  187.           If you need only parts of this software, you should not worry,
  188.           because it's the job of the optimizer from your C compiler to
  189.           include only the needed parts in your executable!
  190.  
  191.  
  192. DISCLAIMER
  193.         THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
  194.         APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
  195.         HOLDER AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT
  196.         WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT
  197.         LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  198.         A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND
  199.         PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE
  200.         DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR
  201.         CORRECTION.
  202.  
  203.         IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
  204.         WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY REDISTRIBUTE
  205.         THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
  206.         INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES
  207.         ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING
  208.         BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR
  209.         LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM
  210.         TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER
  211.         PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
  212.  
  213.         THE AUTHOR HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT,
  214.         UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
  215.  
  216.  
  217. DISTRIBUTION
  218.         Permission is hereby granted, without written agreement and without
  219.         license or royalty fees, to copy and distribute this software and its
  220.         documentation for any purpose, provided that the above copyright
  221.         notice and the following paragraphs appear in all copies of this
  222.         software, to:
  223.         - All who will distribute this software for free!
  224.         - All free accessible INTERNET servers and PHONE boxes!
  225.         - All Aminet sites
  226.         - All SimTel sites
  227.         - Fred Fish for his great Amiga-Software-Library
  228.         - The German SAAR AG PD-Library
  229.         - All others who do NOT take more than $5.- for one disk that
  230.           includes this software!
  231.         - ALL others who do NOT take more than $40.- for one CD that includes
  232.           this software!
  233.  
  234.  
  235. ADDITIONAL INFORMATIONS
  236.         I have tried to make portable/useful and I hope bugfree software
  237.         for eternity - but this seems to be impossible (sorry!) :)
  238.         So I hope you will pay a fee for this.
  239.  
  240.         Kindly send US - dollars to a friend of mine in the USA who will
  241.         forward it to me in a timely manner.  Please send checks or money
  242.         orders only.
  243.         Contact me via email for more!
  244.  
  245.  
  246. AUTHOR
  247.         Kai Hofmann
  248.         Arberger Heerstraße 92
  249.         28307 Bremen
  250.         Germany
  251.  
  252.         Phone: (+49)-(0)421/480780
  253.                (Remember that my parents don't speak english!)
  254.         EMail: i07m@zfn.uni-bremen.de
  255.                i07m@informatik.uni-bremen.de
  256.         IRC  : PowerStat@#AmigaGer
  257.         WWW  : http://www.informatik.uni-bremen.de/~i07m
  258.  
  259.         Bank account : 1203 7503
  260.         Account owner: Kai Hofmann
  261.         Bank code    : 290 501 01
  262.         Bank name    : Sparkasse in Bremen/Germany
  263.  
  264.  
  265. THANKS
  266.         Many thanks to the following people:
  267.         Rita Reichl             - For correcting my rusty english (very often)
  268.         Christian Schaefer      - For spending time on this class with his
  269.                                   Borland C++ 4.5 compiler
  270.         Jacco van Weert &
  271.         Frans Slothouber        - For the 'Robodoc' utility
  272.         James Cooper and the
  273.         other Amiga people at
  274.         SAS Intitute            - For spending their unpaid free time with
  275.                                   continuation of the Amiga SAS C/C++
  276.                                   support :)
  277.  
  278.  
  279.  
  280.  
  281. DateClass/--compiling--
  282.  
  283. NAME
  284.         compiling -- Specials for compiling the date class.
  285.  
  286.  
  287. COMPILING
  288.         - Compile the date library as C++ !!!
  289.         - You could compile this code as normal C++
  290.         - _ISO8859_Latin1 should be defined if your system supports this
  291.           font encoding technology!
  292.         - Date.h will be included automatically!
  293.  
  294.  
  295.  
  296.  
  297. DateClass/--history--
  298.  
  299. NAME
  300.         history -- This is the development history of the Date class
  301.  
  302.  
  303. VERSION
  304.         $VER: DateClass 33.050 (30.07.95)
  305.  
  306.  
  307. HISTORY
  308.         26.05.1995 -    Initialization of the following class:
  309.                         timeduration
  310.                         Implementation of timeduration constructors,
  311.                         operator==,operator!=,operator==,operator!=,
  312.                         operator<,operator>,operator<=,operator>=,operator+,
  313.                         operator-,operator+=,operator-=
  314.         27.05.1995 -    Initialization of the following class:
  315.                         dateduration
  316.                         Implementation of dateduration constructors
  317.         30.05.1995 -    Implementation of operator==, operator!=, operator<,
  318.                         operator>, operator<=, operator>=, operator++,
  319.                         operator--, operator+, operator-, operator+=,
  320.                         operator-=, operator*, operator/, operator*=,
  321.                         operator/= for dateduration class
  322.                         Implementation of gethours(), getmins(), getsecs()
  323.                         for timeduration class
  324.         02.06.1995 -    Fixing small bugs in timeduration constructors,
  325.                         operator-=
  326.         03.06.1995 -    Implementing getdays(), getmonths(), getyears()
  327.                         for dateduration
  328.                         Removing one of the dateduration constructors
  329.                         Fixing small bugs in operator<, operator>,
  330.                         operator<=, operator>=
  331.         03.07.1995 -    Initialization of the following class:
  332.                         time
  333.         07.07.1995 -    Initialization of the following class:
  334.                         date
  335.                         Implementation of time constructors,
  336.                         gethour(), getmin(), getsec(), getzone(), getjd(),
  337.                         operator==, operator!=, operator<, operator>,
  338.                         operator<=, operator>=, operator-, operator+,
  339.                         operator-, operator+=, operator-=
  340.                         Implementation of date constructors,
  341.                         getday(), getmonth(), getyear(), getweek(),
  342.                         getweekday(), getjd(), getmjd(), getscaliger(),
  343.                         operator==, operator!=, operator<, operator>,
  344.                         operator<=, operator>=, operator==, operator!=,
  345.                         operator<, operator>, operator<=, operator>=,
  346.                         operator!, operator-, operator+, operator-,
  347.                         operator+=, operator-=, operator+, operator-,
  348.                         operator+=, operator-=, changetozone(), operator<<,
  349.                         operator>>, operator<<=, operator>>=, operator[],
  350.                         operator()
  351.                         Implementation of timeduration getinsecs()
  352.                         Implementation of dateduration getindays()
  353.                         Optimizations
  354.         08.07.1995 -    Fixing bugs in time
  355.                         operator<<, operator>>, operator<<=, operator>>=,
  356.                         operator[], opertaor(), changetozone(), operator-,
  357.                         operator+, operator-
  358.         09.07.1995 -    I found a BUG in the SAS C++ translator, and so I
  359.                         lost all the source from the DateClass.cpp :(
  360.                         Completely reconstructed in 8 hours!
  361.         10.07.1995 -    Start to writing autodocs
  362.         14.07.1995 -    Workaround for the SAS C++ enum problem in Date.c
  363.         15.07.1995 -    Continuing with writing autodocs
  364.         16.07.1995 -    Continuing with writing autodocs
  365.         17.07.1995 -    Finishing with writing autodocs
  366.         18.07.1995 -    Fixing conversion warnings.
  367.         27.07.1995 -    Correcting my rusty English in the Autodocs.
  368.                         Implementing of timeduration operators:
  369.                         operator*,operator/,operator*=,operator/=
  370.         28.07.1995 -    Shortening the year of the version-string to 95,
  371.                         because the Amiga 'version' command is buggy!
  372.                         Removing the changetozone() function from the time
  373.                         class, because it's better to use the operator[].
  374.                         Starting to write a test program.
  375.         29.07.1995 -    Implementing Easter()
  376.                         Implementing of date functions:
  377.                         getmoonage(),getmoonphase()
  378.                         Implementing of timeduration operator:
  379.                         operator/()
  380.                         Implementing of dateduration operator:
  381.                         operator/()
  382.         30.07.1995 -    Implementing of timeduration operator:
  383.                         operator%()
  384.                         Implementing of dateduration operator:
  385.                         operator%()
  386.                         Fixing bugs (Thanks to Christian Schaefer for spending
  387.                         time on this class with Borland C++ 4.5)
  388.  
  389.  
  390.  
  391.  
  392. DateClass/--todo--
  393.  
  394. NAME
  395.         todo -- This is the 'To-Do' list of the Date class
  396.  
  397.  
  398. TODO
  399.         Writing a test programm
  400.         Writing code for string operations/TextEngine
  401.         Derive a datetime class
  402.         Derive a datetimeduration class
  403.         Variable durations (2-3h)
  404.         Variable time points (18. or 19.3.)
  405.         Alternatives
  406.         etc. (that's top secret ;-)
  407.  
  408.  
  409.  
  410.  
  411. DateClass/Easter()
  412.  
  413. NAME
  414.         Easter() -- Returns the date of Easter in a year (V33)
  415.  
  416.  
  417. SYNOPSIS
  418.         date = Easter(year);
  419.  
  420.         date Easter(const int year);
  421.  
  422.  
  423. FUNCTION
  424.         Returns the date of Easter for a specified year.
  425.  
  426.  
  427. INPUTS
  428.         year - Easter is calculated for this year
  429.  
  430.  
  431. RESULT
  432.         date - Complete date of Easter Sunday
  433.  
  434.  
  435. EXAMPLE
  436.         ...
  437.         date = Easter(1995);
  438.         ...
  439.  
  440.  
  441. NOTES
  442.         Use this only for 31 to 2099!
  443.  
  444.  
  445. BUGS
  446.         Unknown.
  447.  
  448.  
  449. SEE ALSO
  450.         date/HeisEaster(),date
  451.  
  452.  
  453.  
  454.  
  455.  
  456. DateClass/date
  457.  
  458. NAME
  459.         date -- Class for dates. (V33)
  460.  
  461.  
  462. FUNCTION
  463.         This class maps dates.
  464.  
  465.  
  466. NOTES
  467.         None.
  468.  
  469.  
  470. BUGS
  471.         No known bugs.
  472.  
  473.  
  474. SEE ALSO
  475.         timeduration,dateduration,time
  476.  
  477.  
  478.  
  479.  
  480. DateClass/date/date()
  481.  
  482. NAME
  483.         date() -- Constructor of date class (V33)
  484.  
  485.  
  486. SYNOPSIS
  487.         d = date(jd);
  488.  
  489.         date(unsigned long jd);
  490.  
  491.  
  492. FUNCTION
  493.         Constructor of the date class for JD format.
  494.  
  495.  
  496. INPUTS
  497.         jd - Date in JD format
  498.  
  499.  
  500. RESULT
  501.         d - Date object
  502.  
  503.  
  504. EXAMPLE
  505.         ...
  506.         date d(2449354);
  507.         ...
  508.  
  509.  
  510. NOTES
  511.         None.
  512.  
  513.  
  514. BUGS
  515.         No known bugs.
  516.  
  517.  
  518. SEE ALSO
  519.         date(),Date/JDToHeis()
  520.  
  521.  
  522.  
  523.  
  524.  
  525. DateClass/date/date()
  526.  
  527. NAME
  528.         date() -- Constructor of date class (V33)
  529.  
  530.  
  531. SYNOPSIS
  532.         d = date(day,month,year);
  533.  
  534.         date(unsigned short day, unsigned short month, int year);
  535.  
  536.  
  537. FUNCTION
  538.         Constructor of the date class.
  539.  
  540.  
  541. INPUTS
  542.         day   - Day of date
  543.         month - Month of date
  544.         year  - Year of date
  545.  
  546.  
  547. RESULT
  548.         d - Date object
  549.  
  550.  
  551. EXAMPLE
  552.         ...
  553.         date d(17,7,1995);
  554.         ...
  555.  
  556.  
  557. NOTES
  558.         None.
  559.  
  560.  
  561. BUGS
  562.         No known bugs.
  563.  
  564.  
  565. SEE ALSO
  566.         date()
  567.  
  568.  
  569.  
  570.  
  571. DateClass/date/getday()
  572.  
  573. NAME
  574.         getday() -- Get day of date object (V33)
  575.  
  576.  
  577. SYNOPSIS
  578.         day = (*this).getday();
  579.  
  580.         unsigned short getday(void) const;
  581.  
  582.  
  583. FUNCTION
  584.         Get the day from the date object.
  585.  
  586.  
  587. INPUTS
  588.         *this - date object
  589.  
  590.  
  591. RESULT
  592.         day - Day of the date object
  593.  
  594.  
  595. EXAMPLE
  596.         ...
  597.         day = d.getday();
  598.         ...
  599.  
  600.  
  601. NOTES
  602.         None.
  603.  
  604.  
  605. BUGS
  606.         No known bugs.
  607.  
  608.  
  609. SEE ALSO
  610.         getmonth(),getyear(),getweek(),getweekday(),getjd(),getmjd(),
  611.         getscaliger()
  612.  
  613.  
  614.  
  615.  
  616. DateClass/date/getjd()
  617.  
  618. NAME
  619.         getjd() -- Get date in JD format from date object (V33)
  620.  
  621.  
  622. SYNOPSIS
  623.         jd = (*this).getjd();
  624.  
  625.         unsigned long getjd(void) const;
  626.  
  627.  
  628. FUNCTION
  629.         Get the date from the date object in JD format.
  630.  
  631.  
  632. INPUTS
  633.         *this - date object
  634.  
  635.  
  636. RESULT
  637.         jd - Date of the date object in JD format
  638.  
  639.  
  640. EXAMPLE
  641.         ...
  642.         jd = d.getjd();
  643.         ...
  644.  
  645.  
  646. NOTES
  647.         None.
  648.  
  649.  
  650. BUGS
  651.         No known bugs.
  652.  
  653.  
  654. SEE ALSO
  655.         getday(),getmonth(),getyear(),getweek(),getweekday(),getmjd(),
  656.         getscaliger(),Date/HeisToJD()
  657.  
  658.  
  659.  
  660.  
  661.  
  662. DateClass/date/getmjd()
  663.  
  664. NAME
  665.         getmjd() -- Get date in MJD format from date object (V33)
  666.  
  667.  
  668. SYNOPSIS
  669.         mjd = (*this).getmjd();
  670.  
  671.         unsigned long getmjd(void) const;
  672.  
  673.  
  674. FUNCTION
  675.         Get the date from the date object in MJD format.
  676.  
  677.  
  678. INPUTS
  679.         *this - date object
  680.  
  681.  
  682. RESULT
  683.         mjd - Date of the date object in MJD format
  684.  
  685.  
  686. EXAMPLE
  687.         ...
  688.         mjd = d.getmjd();
  689.         ...
  690.  
  691.  
  692. NOTES
  693.         None.
  694.  
  695.  
  696. BUGS
  697.         No known bugs.
  698.  
  699.  
  700. SEE ALSO
  701.         getday(),getmonth(),getyear(),getweek(),getweekday(),getjd(),
  702.         getscaliger(),Date/JDtoMJD(),Date/HeisToJD()
  703.  
  704.  
  705.  
  706.  
  707.  
  708. DateClass/date/getmonth()
  709.  
  710. NAME
  711.         getmonth() -- Get month of date object (V33)
  712.  
  713.  
  714. SYNOPSIS
  715.         month = (*this).getmonth();
  716.  
  717.         unsigned short getmonth(void) const;
  718.  
  719.  
  720. FUNCTION
  721.         Get the month from the date object.
  722.  
  723.  
  724. INPUTS
  725.         *this - date object
  726.  
  727.  
  728. RESULT
  729.         month - Month of the date object
  730.  
  731.  
  732. EXAMPLE
  733.         ...
  734.         month = d.getmonth();
  735.         ...
  736.  
  737.  
  738. NOTES
  739.         None.
  740.  
  741.  
  742. BUGS
  743.         No known bugs.
  744.  
  745.  
  746. SEE ALSO
  747.         getday(),getyear(),getweek(),getweekday(),getjd(),getmjd(),
  748.         getscaliger()
  749.  
  750.  
  751.  
  752.  
  753. DateClass/date/getmoonage()
  754.  
  755. NAME
  756.         getmoonage() -- Returns the age of the moon (V33)
  757.  
  758.  
  759. SYNOPSIS
  760.         ep = (*this).getmoonage();
  761.  
  762.         unsigned short getmoonage(void) const;
  763.  
  764.  
  765. FUNCTION
  766.         Returns the age of the moon on a specified date.
  767.  
  768.  
  769. INPUTS
  770.         *this - date object
  771.  
  772.  
  773. RESULT
  774.         ep - The age of the moon on the specified date.
  775.  
  776.  
  777. EXAMPLE
  778.         ...
  779.         ep = d.getmoonage();
  780.         ...
  781.  
  782.  
  783. NOTES
  784.         Use this only for 1582 to 4100!
  785.         This is only a experimental version!
  786.  
  787.  
  788. BUGS
  789.         Unknown
  790.  
  791.  
  792. SEE ALSO
  793.         date/GregorianMoonAge()
  794.  
  795.  
  796.  
  797.  
  798.  
  799. DateClass/date/getmoonphase()
  800.  
  801. NAME
  802.         getmoonphase() -- Searches for the next moon phase (V33)
  803.  
  804.  
  805. SYNOPSIS
  806.         date = (*this).getmoonphase(phase);
  807.  
  808.         date getmoonphase(const MoonPhases phase) const;
  809.  
  810.  
  811. FUNCTION
  812.         Returns the next moon phase you are searching for after
  813.         a specified date.
  814.  
  815.  
  816. INPUTS
  817.         *this - date object
  818.  
  819.  
  820. RESULT
  821.         date - The date on which the moon phase was found.
  822.  
  823.  
  824. EXAMPLE
  825.         ...
  826.         date = d.getmoonphase(FullMoon);
  827.         ...
  828.  
  829.  
  830. NOTES
  831.         The range of this function is unknown to me!
  832.         So use it only from 1583 to 2500.
  833.         This is only an experimental version!
  834.  
  835.  
  836. BUGS
  837.         Unknown
  838.  
  839.  
  840. SEE ALSO
  841.         date/GregorianMoonPhase(),date/JDToHeis(),date()
  842.  
  843.  
  844.  
  845.  
  846. DateClass/date/getscaliger()
  847.  
  848. NAME
  849.         getscaliger() -- Get year in Scaliger format from date object (V33)
  850.  
  851.  
  852. SYNOPSIS
  853.         scaliger = (*this).getscaliger();
  854.  
  855.         unsigned int getscaliger(void) const;
  856.  
  857.  
  858. FUNCTION
  859.         Get the year of the date object in Scaliger format.
  860.  
  861.  
  862. INPUTS
  863.         *this - date object
  864.  
  865.  
  866. RESULT
  867.         scaliger - Year of the date object in Scaliger format
  868.  
  869.  
  870. EXAMPLE
  871.         ...
  872.         syear = d.getscaliger();
  873.         ...
  874.  
  875.  
  876. NOTES
  877.         None.
  878.  
  879.  
  880. BUGS
  881.         No known bugs.
  882.  
  883.  
  884. SEE ALSO
  885.         getday(),getmonth(),getyear(),getweek(),getweekday(),getjd(),getmjd(),
  886.         Date/HYearToScaliger()
  887.  
  888.  
  889.  
  890.  
  891. DateClass/date/getweek()
  892.  
  893. NAME
  894.         getweek() -- Get week of date object (V33)
  895.  
  896.  
  897. SYNOPSIS
  898.         week = (*this).getweek();
  899.  
  900.         unsigned short getweek(void) const;
  901.  
  902.  
  903. FUNCTION
  904.         Get the week from the date object.
  905.  
  906.  
  907. INPUTS
  908.         *this - date object
  909.  
  910.  
  911. RESULT
  912.         week - Week of the date object
  913.  
  914.  
  915. EXAMPLE
  916.         ...
  917.         week = d.getweek();
  918.         ...
  919.  
  920.  
  921. NOTES
  922.         None.
  923.  
  924.  
  925. BUGS
  926.         No known bugs.
  927.  
  928.  
  929. SEE ALSO
  930.         getday(),getmonth(),getyear(),getweekday(),getjd(),getmjd(),
  931.         getscaliger(),Date/HeisWeek()
  932.  
  933.  
  934.  
  935.  
  936.  
  937. DateClass/date/getweekday()
  938.  
  939. NAME
  940.         getweekday() -- Get weekday of date object (V33)
  941.  
  942.  
  943. SYNOPSIS
  944.         weekday = (*this).getweekday();
  945.  
  946.         Weekdays getweekday(void) const;
  947.  
  948.  
  949. FUNCTION
  950.         Get the weekday from the date object.
  951.  
  952.  
  953. INPUTS
  954.         *this - date object
  955.  
  956.  
  957. RESULT
  958.         weekday - Weekday of the date object
  959.  
  960.  
  961. EXAMPLE
  962.         ...
  963.         wd = d.getweekday();
  964.         ...
  965.  
  966.  
  967. NOTES
  968.         None.
  969.  
  970.  
  971. BUGS
  972.         No known bugs.
  973.  
  974.  
  975. SEE ALSO
  976.         getday(),getmonth(),getyear(),getweek(),getjd(),getmjd(),
  977.         getscaliger(),Date/HeisWeekday()
  978.  
  979.  
  980.  
  981.  
  982. DateClass/date/getyear()
  983.  
  984. NAME
  985.         getyear() -- Get year of date object (V33)
  986.  
  987.  
  988. SYNOPSIS
  989.         year = (*this).getyear();
  990.  
  991.         int getyear(void) const;
  992.  
  993.  
  994. FUNCTION
  995.         Get the year from the date object.
  996.  
  997.  
  998. INPUTS
  999.         *this - date object
  1000.  
  1001.  
  1002. RESULT
  1003.         year - Year of the date object
  1004.  
  1005.  
  1006. EXAMPLE
  1007.         ...
  1008.         year = d.getyear();
  1009.         ...
  1010.  
  1011.  
  1012. NOTES
  1013.         None.
  1014.  
  1015.  
  1016. BUGS
  1017.         No known bugs.
  1018.  
  1019.  
  1020. SEE ALSO
  1021.         getday(),getmonth(),getweek(),getweekday(),getjd(),getmjd(),
  1022.         getscaliger()
  1023.  
  1024.  
  1025.  
  1026.  
  1027. DateClass/date/operator!()
  1028.  
  1029. NAME
  1030.         operator!() -- Leapyear operator for date object(V33)
  1031.  
  1032.  
  1033. SYNOPSIS
  1034.         leapyear = !((*this));
  1035.  
  1036.         bool operator!() const;
  1037.  
  1038.  
  1039. FUNCTION
  1040.         Checks if the year of the date object is a leap year.
  1041.  
  1042.  
  1043. INPUTS
  1044.         *this - date object
  1045.  
  1046.  
  1047.  
  1048. RESULT
  1049.         leapyear - Boolean, TRUE if the year of the date object is a leapyear,
  1050.             FALSE if it is a normal year.
  1051.  
  1052.  
  1053. EXAMPLE
  1054.         ...
  1055.         if (!d)
  1056.           printf("leap year\n");
  1057.         else
  1058.           printf("normal year\n");
  1059.         ...
  1060.  
  1061.  
  1062. NOTES
  1063.         None.
  1064.  
  1065.  
  1066. BUGS
  1067.         No known bugs.
  1068.  
  1069.  
  1070. SEE ALSO
  1071.         Date/HeisLeapYear()
  1072.  
  1073.  
  1074.  
  1075.  
  1076. DateClass/date/operator!=()
  1077.  
  1078. NAME
  1079.         operator!=() -- Unequal operator for date objects (V33)
  1080.  
  1081.  
  1082. SYNOPSIS
  1083.         compare = ((*this) != d);
  1084.  
  1085.         bool operator!=(const date &d) const;
  1086.  
  1087.  
  1088. FUNCTION
  1089.         Compares two date objects for unequality.
  1090.  
  1091.  
  1092. INPUTS
  1093.         *this - date object
  1094.         d     - date object
  1095.  
  1096.  
  1097. RESULT
  1098.         compare - Boolean result of the unequal compare operation
  1099.  
  1100.  
  1101. EXAMPLE
  1102.         ...
  1103.         if (d1 != d2)
  1104.           printf("!=\n");
  1105.         else
  1106.           printf("==\n");
  1107.         ...
  1108.  
  1109.  
  1110. NOTES
  1111.         None.
  1112.  
  1113.  
  1114. BUGS
  1115.         No known bugs.
  1116.  
  1117.  
  1118. SEE ALSO
  1119.         operator==(),operator<(),operator>(),operator<=(),operator>=(),
  1120.         Date/Compare2Dates()
  1121.  
  1122.  
  1123.  
  1124.  
  1125. DateClass/date/operator!=()
  1126.  
  1127. NAME
  1128.         operator!=() -- Unequal operator for date object and weekday (V33)
  1129.  
  1130.  
  1131. SYNOPSIS
  1132.         compare = ((*this) != wd);
  1133.  
  1134.         bool operator!=(const Weekdays wd) const;
  1135.  
  1136.  
  1137. FUNCTION
  1138.         Compares if the date object is unequal to a weekday.
  1139.  
  1140.  
  1141. INPUTS
  1142.         *this - date object
  1143.         wd    - Weekday
  1144.  
  1145.  
  1146. RESULT
  1147.         compare - Boolean result of the unequal compare operation
  1148.  
  1149.  
  1150. EXAMPLE
  1151.         ...
  1152.         if (d1 != wd)
  1153.           printf("!=\n");
  1154.         else
  1155.           printf("==\n");
  1156.         ...
  1157.  
  1158.  
  1159. NOTES
  1160.         None.
  1161.  
  1162.  
  1163. BUGS
  1164.         No known bugs.
  1165.  
  1166.  
  1167. SEE ALSO
  1168.         operator==(),operator<(),operator>(),operator<=(),operator>=(),
  1169.         Date/HeisWeekday()
  1170.  
  1171.  
  1172.  
  1173.  
  1174. DateClass/date/operator+()
  1175.  
  1176. NAME
  1177.         operator+() -- Add operator for date and dateduration objects (V33)
  1178.  
  1179.  
  1180. SYNOPSIS
  1181.         d = (*this) + dd;
  1182.  
  1183.         date operator+(const dateduration &dd) const;
  1184.  
  1185.  
  1186. FUNCTION
  1187.         Add a date object and a dateduration object to a new date object.
  1188.  
  1189.  
  1190. INPUTS
  1191.         *this - date object
  1192.         dd    - dateduration object
  1193.  
  1194.  
  1195. RESULT
  1196.         d - New date object
  1197.  
  1198.  
  1199. EXAMPLE
  1200.         ...
  1201.         d1 = d2 + dd;
  1202.         ...
  1203.  
  1204.  
  1205. NOTES
  1206.         None.
  1207.  
  1208.  
  1209. BUGS
  1210.         The dateduration may not be longer (in days) than an integer value!
  1211.  
  1212.  
  1213. SEE ALSO
  1214.         operator-(),operator+=(),operator-=(),date(),dateduration/getindays(),
  1215.         Date/HeisDiffDate()
  1216.  
  1217.  
  1218.  
  1219.  
  1220.  
  1221. DateClass/date/operator+()
  1222.  
  1223. NAME
  1224.         operator+() -- Add operator for date object and weekday (V33)
  1225.  
  1226.  
  1227. SYNOPSIS
  1228.         d = (*this) + wd;
  1229.  
  1230.         date operator+(const Weekdays wd) const;
  1231.  
  1232.  
  1233. FUNCTION
  1234.         Gives you the next date, that is the specified weekday (could be the
  1235.         same date!).
  1236.  
  1237.  
  1238. INPUTS
  1239.         *this - date object
  1240.         wd    - Weekday
  1241.  
  1242.  
  1243. RESULT
  1244.         d - New date object
  1245.  
  1246.  
  1247. EXAMPLE
  1248.         ...
  1249.         d1 = d2 + wd;
  1250.         ...
  1251.  
  1252.  
  1253. NOTES
  1254.         None.
  1255.  
  1256.  
  1257. BUGS
  1258.         No known bugs.
  1259.  
  1260.  
  1261. SEE ALSO
  1262.         operator-(),operator+=(),operator-=(),date(),
  1263.         Date/HeisDaysAfterWeekday(),Date/HeisDiffDate()
  1264.  
  1265.  
  1266.  
  1267.  
  1268. DateClass/date/operator++()
  1269.  
  1270. NAME
  1271.         operator++() -- Increment operator for date object (V33)
  1272.  
  1273.  
  1274. SYNOPSIS
  1275.         d++;
  1276.  
  1277.         date operator++();
  1278.  
  1279.  
  1280. FUNCTION
  1281.         Increments the date object by one day.
  1282.  
  1283.  
  1284. INPUTS
  1285.         *this - date object
  1286.  
  1287.  
  1288. RESULT
  1289.         *this - Modified date object
  1290.  
  1291.  
  1292. EXAMPLE
  1293.         ...
  1294.         d++;
  1295.         ...
  1296.  
  1297.  
  1298. NOTES
  1299.         None.
  1300.  
  1301.  
  1302. BUGS
  1303.         No known bugs.
  1304.  
  1305.  
  1306. SEE ALSO
  1307.         operator++(int),operator--(),operator--(int),Date/HeisDiffDate()
  1308.  
  1309.  
  1310.  
  1311.  
  1312. DateClass/date/operator++(int)
  1313.  
  1314. NAME
  1315.         operator++(int) -- Increment operator for date object (V33)
  1316.  
  1317.  
  1318. SYNOPSIS
  1319.         ++d;
  1320.  
  1321.         date operator++(int);
  1322.  
  1323.  
  1324. FUNCTION
  1325.         Increments the date object by one day.
  1326.  
  1327.  
  1328. INPUTS
  1329.         *this - date object
  1330.  
  1331.  
  1332. RESULT
  1333.         *this - Modified date object
  1334.  
  1335.  
  1336. EXAMPLE
  1337.         ...
  1338.         ++d;
  1339.         ...
  1340.  
  1341.  
  1342. NOTES
  1343.         None.
  1344.  
  1345.  
  1346. BUGS
  1347.         No known bugs.
  1348.  
  1349.  
  1350. SEE ALSO
  1351.         operator++(),operator--(),operator--(int),Date/HeisDiffDate()
  1352.  
  1353.  
  1354.  
  1355.  
  1356. DateClass/date/operator+=()
  1357.  
  1358. NAME
  1359.         operator+=() -- Add to operator for date and dateduration objects (V33)
  1360.  
  1361.  
  1362. SYNOPSIS
  1363.         (*this) += dd;
  1364.  
  1365.         const date &operator+=(const dateduration &dd);
  1366.  
  1367.  
  1368. FUNCTION
  1369.         Add a dateduration object to a date object.
  1370.  
  1371.  
  1372. INPUTS
  1373.         *this - date object
  1374.         dd    - dateduration object
  1375.  
  1376.  
  1377. RESULT
  1378.         *this - Modified date object
  1379.  
  1380.  
  1381. EXAMPLE
  1382.         ...
  1383.         d += dd;
  1384.         ...
  1385.  
  1386.  
  1387. NOTES
  1388.         None.
  1389.  
  1390.  
  1391. BUGS
  1392.         The dateduration may not be longer (in days) than an integer value!
  1393.  
  1394.  
  1395. SEE ALSO
  1396.         operator+(),operator-(),operator-=(),dateduration/getindays(),
  1397.         Date/HeisDiffDate()
  1398.  
  1399.  
  1400.  
  1401.  
  1402. DateClass/date/operator+=()
  1403.  
  1404. NAME
  1405.         operator+=() -- Add to operator for date object and weekday (V33)
  1406.  
  1407.  
  1408. SYNOPSIS
  1409.         (*this) += wd;
  1410.  
  1411.         const date &operator+=(const Weekdays wd);
  1412.  
  1413.  
  1414. FUNCTION
  1415.         Corrects the date object to the next date that is the specified weekday
  1416.         (could be the same date!).
  1417.  
  1418.  
  1419. INPUTS
  1420.         *this - date object
  1421.         wd    - Weekday
  1422.  
  1423.  
  1424. RESULT
  1425.         *this - Modified date object
  1426.  
  1427.  
  1428. EXAMPLE
  1429.         ...
  1430.         d += wd;
  1431.         ...
  1432.  
  1433.  
  1434. NOTES
  1435.         None.
  1436.  
  1437.  
  1438. BUGS
  1439.         No known bugs.
  1440.  
  1441.  
  1442. SEE ALSO
  1443.         operator+(),operator-(),operator-=(),Date/HeisDaysAfterWeekday(),
  1444.         Date/HeisDiffDate()
  1445.  
  1446.  
  1447.  
  1448.  
  1449. DateClass/date/operator-()
  1450.  
  1451. NAME
  1452.         operator-() -- Sub operator for date objects (V33)
  1453.  
  1454.  
  1455. SYNOPSIS
  1456.         dd = (*this) - d;
  1457.  
  1458.         dateduration operator-(const date &d) const;
  1459.  
  1460.  
  1461. FUNCTION
  1462.         Subtract date object 2 from date object 1 to a new dateduration object.
  1463.  
  1464.  
  1465. INPUTS
  1466.         *this - date object
  1467.         d     - date object
  1468.  
  1469.  
  1470. RESULT
  1471.         dd - New dateduration object
  1472.  
  1473.  
  1474. EXAMPLE
  1475.         ...
  1476.         dd = d1 - d2;
  1477.         ...
  1478.  
  1479.  
  1480. NOTES
  1481.         None.
  1482.  
  1483.  
  1484. BUGS
  1485.         No known bugs.
  1486.  
  1487.  
  1488. SEE ALSO
  1489.         operator+(),operator-(),dateduration(),Date/HeisDayDiff()
  1490.  
  1491.  
  1492.  
  1493.  
  1494. DateClass/date/operator-()
  1495.  
  1496. NAME
  1497.         operator-() -- Sub operator for date and dateduration objects (V33)
  1498.  
  1499.  
  1500. SYNOPSIS
  1501.         d = (*this) - dd;
  1502.  
  1503.         date operator-(const dateduration &dd) const;
  1504.  
  1505.  
  1506. FUNCTION
  1507.         Subtract a dateduration object from a date object to a new date object.
  1508.  
  1509.  
  1510. INPUTS
  1511.         *this - date object
  1512.         dd    - dateduration object
  1513.  
  1514.  
  1515. RESULT
  1516.         d     - New date object
  1517.  
  1518.  
  1519. EXAMPLE
  1520.         ...
  1521.         d1 = d2 - dd;
  1522.         ...
  1523.  
  1524.  
  1525. NOTES
  1526.         None.
  1527.  
  1528.  
  1529. BUGS
  1530.         The dateduration may not be longer (in days) than an integer value!
  1531.  
  1532.  
  1533. SEE ALSO
  1534.         operator+(),operator+=(),operator-=(),date(),dateduration/getindays(),
  1535.         Date/HeisDiffDate()
  1536.  
  1537.  
  1538.  
  1539.  
  1540. DateClass/date/operator-()
  1541.  
  1542. NAME
  1543.         operator-() -- Sub operator for date object and weekday (V33)
  1544.  
  1545.  
  1546. SYNOPSIS
  1547.         d = (*this) - wd;
  1548.  
  1549.         date operator-(const Weekdays wd) const;
  1550.  
  1551.  
  1552. FUNCTION
  1553.         Gives you the last date, that is the specified weekday (could be the
  1554.         same date!).
  1555.  
  1556.  
  1557. INPUTS
  1558.         *this - date object
  1559.         wd    - Weekday
  1560.  
  1561.  
  1562. RESULT
  1563.         d - New date object
  1564.  
  1565.  
  1566. EXAMPLE
  1567.         ...
  1568.         d1 = d2 - wd;
  1569.         ...
  1570.  
  1571.  
  1572. NOTES
  1573.         None.
  1574.  
  1575.  
  1576. BUGS
  1577.         No known bugs.
  1578.  
  1579.  
  1580. SEE ALSO
  1581.         operator+(),operator+=(),operator-=(),date(),
  1582.         Date/HeisDaysBeforeWeekday(),Date/HeisDiffDate()
  1583.  
  1584.  
  1585.  
  1586.  
  1587. DateClass/date/operator--()
  1588.  
  1589. NAME
  1590.         operator--() -- Decrement operator for date object (V33)
  1591.  
  1592.  
  1593. SYNOPSIS
  1594.         d--;
  1595.  
  1596.         date operator--();
  1597.  
  1598.  
  1599. FUNCTION
  1600.         Decrements the date object by one day.
  1601.  
  1602.  
  1603. INPUTS
  1604.         *this - date object
  1605.  
  1606.  
  1607. RESULT
  1608.         *this - Modified date object
  1609.  
  1610.  
  1611. EXAMPLE
  1612.         ...
  1613.         dd--;
  1614.         ...
  1615.  
  1616.  
  1617. NOTES
  1618.         None.
  1619.  
  1620.  
  1621. BUGS
  1622.         No known bugs.
  1623.  
  1624.  
  1625. SEE ALSO
  1626.         operator++(),operator++(int),operator--(int),Date/HeisDiffDate()
  1627.  
  1628.  
  1629.  
  1630.  
  1631.  
  1632. DateClass/date/operator--(int)
  1633.  
  1634. NAME
  1635.         operator--(int) -- Decrement operator for date object (V33)
  1636.  
  1637.  
  1638. SYNOPSIS
  1639.         --d;
  1640.  
  1641.         date operator--(int);
  1642.  
  1643.  
  1644. FUNCTION
  1645.         Decrements the date object by one day.
  1646.  
  1647.  
  1648. INPUTS
  1649.         *this - date object
  1650.  
  1651.  
  1652. RESULT
  1653.         *this - Modified date object
  1654.  
  1655.  
  1656. EXAMPLE
  1657.         ...
  1658.         --d;
  1659.         ...
  1660.  
  1661.  
  1662. NOTES
  1663.         None.
  1664.  
  1665.  
  1666. BUGS
  1667.         No known bugs.
  1668.  
  1669.  
  1670. SEE ALSO
  1671.         operator++(),operator++(int),operator--(),Date/HeisDiffDate()
  1672.  
  1673.  
  1674.  
  1675.  
  1676. DateClass/date/operator-=()
  1677.  
  1678. NAME
  1679.         operator-=() -- Sub from operator for date and dateduration objs (V33)
  1680.  
  1681.  
  1682. SYNOPSIS
  1683.         (*this) -= dd;
  1684.  
  1685.         const date &operator-=(const dateduration &dd);
  1686.  
  1687.  
  1688. FUNCTION
  1689.         Subtract a dateduration object from a date object.
  1690.  
  1691.  
  1692. INPUTS
  1693.         *this - date object
  1694.         dd    - dateduration object
  1695.  
  1696.  
  1697. RESULT
  1698.         *this - Modified date object
  1699.  
  1700.  
  1701. EXAMPLE
  1702.         ...
  1703.         d -= dd;
  1704.         ...
  1705.  
  1706.  
  1707. NOTES
  1708.         None.
  1709.  
  1710.  
  1711. BUGS
  1712.         The dateduration may not be longer (in days) than an integer value!
  1713.  
  1714.  
  1715. SEE ALSO
  1716.         operator+(),operator-(),operator+=(),dateduration/getindays(),
  1717.         Date/HeisDiffDate()
  1718.  
  1719.  
  1720.  
  1721.  
  1722. DateClass/date/operator-=()
  1723.  
  1724. NAME
  1725.         operator-=() -- Sub from operator for date object and weekday (V33)
  1726.  
  1727.  
  1728. SYNOPSIS
  1729.         (*this) -= wd;
  1730.  
  1731.         const date &operator-=(const Weekdays wd);
  1732.  
  1733.  
  1734. FUNCTION
  1735.         Corrects the date object to the last date that is the specified weekday
  1736.         (could be the same date!).
  1737.  
  1738.  
  1739. INPUTS
  1740.         *this - date object
  1741.         wd    - Weekday
  1742.  
  1743.  
  1744. RESULT
  1745.         *this - Modified date object
  1746.  
  1747.  
  1748. EXAMPLE
  1749.         ...
  1750.         d -= wd;
  1751.         ...
  1752.  
  1753.  
  1754. NOTES
  1755.         None.
  1756.  
  1757.  
  1758. BUGS
  1759.         No known bugs.
  1760.  
  1761.  
  1762. SEE ALSO
  1763.         operator+(),operator-(),operator+=(),Date/HeisDaysBeforeWeekday(),
  1764.         Date/HeisDiffDate()
  1765.  
  1766.  
  1767.  
  1768.  
  1769.  
  1770. DateClass/date/operator<()
  1771.  
  1772. NAME
  1773.         operator<() -- Lower than operator for date objects (V33)
  1774.  
  1775.  
  1776. SYNOPSIS
  1777.         compare = ((*this) < d);
  1778.  
  1779.         bool operator<(const date &d) const;
  1780.  
  1781.  
  1782. FUNCTION
  1783.         Compares if date object 1 is lower than date object 2.
  1784.  
  1785.  
  1786. INPUTS
  1787.         *this - date object
  1788.         d     - date object
  1789.  
  1790.  
  1791. RESULT
  1792.         compare - Boolean result of the lower than compare operation
  1793.  
  1794.  
  1795. EXAMPLE
  1796.         ...
  1797.         if (d1 < d2)
  1798.           printf("<\n");
  1799.         else
  1800.           printf(">=\n");
  1801.         ...
  1802.  
  1803.  
  1804. NOTES
  1805.         None.
  1806.  
  1807.  
  1808. BUGS
  1809.         No known bugs.
  1810.  
  1811.  
  1812. SEE ALSO
  1813.         operator==(),operator!=(),operator>(),operator<=(),operator>=(),
  1814.         Date/Compare2Dates()
  1815.  
  1816.  
  1817.  
  1818.  
  1819. DateClass/date/operator<()
  1820.  
  1821. NAME
  1822.         operator<() -- Lower than operator for date object and weekday (V33)
  1823.  
  1824.  
  1825. SYNOPSIS
  1826.         compare = ((*this) < wd);
  1827.  
  1828.         bool operator< (const Weekdays wd) const;
  1829.  
  1830.  
  1831. FUNCTION
  1832.         Compares if the date object is lower than a weekday.
  1833.  
  1834.  
  1835. INPUTS
  1836.         *this - date object
  1837.         wd    - Weekday
  1838.  
  1839.  
  1840. RESULT
  1841.         compare - Boolean result of the lower than compare operation
  1842.  
  1843.  
  1844. EXAMPLE
  1845.         ...
  1846.         if (d1 < wd)
  1847.           printf("<\n");
  1848.         else
  1849.           printf(">=\n");
  1850.         ...
  1851.  
  1852.  
  1853. NOTES
  1854.         None.
  1855.  
  1856.  
  1857. BUGS
  1858.         No known bugs.
  1859.  
  1860.  
  1861. SEE ALSO
  1862.         operator==(),operator!=(),operator>(),operator<=(),operator>=(),
  1863.         Date/HeisWeekday()
  1864.  
  1865.  
  1866.  
  1867.  
  1868. DateClass/date/operator<=()
  1869.  
  1870. NAME
  1871.         operator<=() -- Lower or equal operator for date objects (V33)
  1872.  
  1873.  
  1874. SYNOPSIS
  1875.         compare = ((*this) <= d);
  1876.  
  1877.         bool operator<=(const date &d) const;
  1878.  
  1879.  
  1880. FUNCTION
  1881.         Compares if date object 1 is lower or equal than date object 2.
  1882.  
  1883.  
  1884. INPUTS
  1885.         *this - date object
  1886.         d     - date object
  1887.  
  1888.  
  1889. RESULT
  1890.         compare - Boolean result of the lower or equal compare operation
  1891.  
  1892.  
  1893. EXAMPLE
  1894.         ...
  1895.         if (d1 <= d2)
  1896.           printf("<=\n");
  1897.         else
  1898.           printf(">\n");
  1899.         ...
  1900.  
  1901.  
  1902. NOTES
  1903.         None.
  1904.  
  1905.  
  1906. BUGS
  1907.         No known bugs.
  1908.  
  1909.  
  1910. SEE ALSO
  1911.         operator==(),operator!=(),operator<(),operator>(),operator>=().
  1912.         Date/Compare2Dates()
  1913.  
  1914.  
  1915.  
  1916.  
  1917. DateClass/date/operator<=()
  1918.  
  1919. NAME
  1920.         operator<=() -- Lower or equal operator for date obj. and weekday (V33)
  1921.  
  1922.  
  1923. SYNOPSIS
  1924.         compare = ((*this) <= wd);
  1925.  
  1926.         bool operator<=(const Weekdays wd) const;
  1927.  
  1928.  
  1929. FUNCTION
  1930.         Compares if the date object is lower or equal to a weekday.
  1931.  
  1932.  
  1933. INPUTS
  1934.         *this - date object
  1935.         wd    - Weekday
  1936.  
  1937.  
  1938. RESULT
  1939.         compare - Boolean result of the lower or equal compare operation
  1940.  
  1941.  
  1942. EXAMPLE
  1943.         ...
  1944.         if (d1 <= wd)
  1945.           printf("<=\n");
  1946.         else
  1947.           printf(">\n");
  1948.         ...
  1949.  
  1950.  
  1951. NOTES
  1952.         None.
  1953.  
  1954.  
  1955. BUGS
  1956.         No known bugs.
  1957.  
  1958.  
  1959. SEE ALSO
  1960.         operator==(),operator!=(),operator<(),operator>(),operator>=(),
  1961.         Date/HeisWeekday()
  1962.  
  1963.  
  1964.  
  1965.  
  1966. DateClass/date/operator==()
  1967.  
  1968. NAME
  1969.         operator==() -- Equal operator for date objects (V33)
  1970.  
  1971.  
  1972. SYNOPSIS
  1973.         compare = ((*this) == d);
  1974.  
  1975.         bool operator==(const date &d) const;
  1976.  
  1977.  
  1978. FUNCTION
  1979.         Compares two date objects for equality.
  1980.  
  1981.  
  1982. INPUTS
  1983.         *this - date object
  1984.         d     - date object
  1985.  
  1986.  
  1987. RESULT
  1988.         compare - Boolean result of the equal compare operation
  1989.  
  1990.  
  1991. EXAMPLE
  1992.         ...
  1993.         if (d1 == d2)
  1994.           printf("==\n");
  1995.         else
  1996.           printf("!=\n");
  1997.         ...
  1998.  
  1999.  
  2000. NOTES
  2001.         None.
  2002.  
  2003.  
  2004. BUGS
  2005.         No known bugs.
  2006.  
  2007.  
  2008. SEE ALSO
  2009.         operator!=(),operator<(),operator>(),operator<=(),operator>=(),
  2010.         Date/Compre2Dates()
  2011.  
  2012.  
  2013.  
  2014.  
  2015. DateClass/date/operator==()
  2016.  
  2017. NAME
  2018.         operator==() -- Equal operator for date object and weekday (V33)
  2019.  
  2020.  
  2021. SYNOPSIS
  2022.         compare = ((*this) == wd);
  2023.  
  2024.         bool operator==(const Weekdays wd) const;
  2025.  
  2026.  
  2027. FUNCTION
  2028.         Compares if the date object is equal to a weekday.
  2029.  
  2030.  
  2031. INPUTS
  2032.         *this - date object
  2033.         wd    - Weekday
  2034.  
  2035.  
  2036. RESULT
  2037.         compare - Boolean result of the equal compare operation
  2038.  
  2039.  
  2040. EXAMPLE
  2041.         ...
  2042.         if (d1 == wd)
  2043.           printf("==\n");
  2044.         else
  2045.           printf("!=\n");
  2046.         ...
  2047.  
  2048.  
  2049. NOTES
  2050.         None.
  2051.  
  2052.  
  2053. BUGS
  2054.         No known bugs.
  2055.  
  2056.  
  2057. SEE ALSO
  2058.         operator!=(),operator<(),operator>(),operator<=(),operator>=(),
  2059.         Date/HeisWeekday()
  2060.  
  2061.  
  2062.  
  2063.  
  2064. DateClass/date/operator>()
  2065.  
  2066. NAME
  2067.         operator>() -- Greater than operator for date objects (V33)
  2068.  
  2069.  
  2070. SYNOPSIS
  2071.         compare = ((*this) > d);
  2072.  
  2073.         bool operator>(const date &d) const;
  2074.  
  2075.  
  2076. FUNCTION
  2077.         Compares if date object 1 is greater than date object 2.
  2078.  
  2079.  
  2080. INPUTS
  2081.         *this - date object
  2082.         d     - date object
  2083.  
  2084.  
  2085. RESULT
  2086.         compare - Boolean result of the greater than compare operation
  2087.  
  2088.  
  2089. EXAMPLE
  2090.         ...
  2091.         if (d1 > d2)
  2092.           printf(">\n");
  2093.         else
  2094.           printf("<=\n");
  2095.         ...
  2096.  
  2097.  
  2098. NOTES
  2099.         None.
  2100.  
  2101.  
  2102. BUGS
  2103.         No known bugs.
  2104.  
  2105.  
  2106. SEE ALSO
  2107.         operator==(),operator!=(),operator<(),operator<=(),operator>=(),
  2108.         Date/Compare2Dates()
  2109.  
  2110.  
  2111.  
  2112.  
  2113. DateClass/date/operator>()
  2114.  
  2115. NAME
  2116.         operator>() -- Greater than operator for date object and weekday (V33)
  2117.  
  2118.  
  2119. SYNOPSIS
  2120.         compare = ((*this) > wd);
  2121.  
  2122.         bool operator> (const Weekdays wd) const;
  2123.  
  2124.  
  2125. FUNCTION
  2126.         Compares if the date objects is greater than a weekday.
  2127.  
  2128.  
  2129. INPUTS
  2130.         *this - date object
  2131.         wd    - Weekday
  2132.  
  2133.  
  2134. RESULT
  2135.         compare - Boolean result of the greater than compare operation
  2136.  
  2137.  
  2138. EXAMPLE
  2139.         ...
  2140.         if (d1 > wd)
  2141.           printf(">\n");
  2142.         else
  2143.           printf("<=\n");
  2144.         ...
  2145.  
  2146.  
  2147. NOTES
  2148.         None.
  2149.  
  2150.  
  2151. BUGS
  2152.         No known bugs.
  2153.  
  2154.  
  2155. SEE ALSO
  2156.         operator==(),operator!=(),operator<(),operator<=(),operator>=(),
  2157.         Date/HeisWeekday()
  2158.  
  2159.  
  2160.  
  2161.  
  2162. DateClass/date/operator>=()
  2163.  
  2164. NAME
  2165.         operator>=() -- Greater or equal operator for date objects (V33)
  2166.  
  2167.  
  2168. SYNOPSIS
  2169.         compare = ((*this) >= d);
  2170.  
  2171.         bool operator>=(const date &d) const;
  2172.  
  2173.  
  2174. FUNCTION
  2175.         Compares if date object 1 is greater or equal than date object 2.
  2176.  
  2177.  
  2178. INPUTS
  2179.         *this - date object
  2180.         d     - date object
  2181.  
  2182.  
  2183. RESULT
  2184.         compare - Boolean result of the greater or equal compare operation
  2185.  
  2186.  
  2187. EXAMPLE
  2188.         ...
  2189.         if (d1 >= d2)
  2190.           printf(">=\n");
  2191.         else
  2192.           printf("<\n");
  2193.         ...
  2194.  
  2195.  
  2196. NOTES
  2197.         None.
  2198.  
  2199.  
  2200. BUGS
  2201.         No known bugs.
  2202.  
  2203.  
  2204. SEE ALSO
  2205.         operator==(),operator!=(),operator<(),operator>(),operator<=(),
  2206.         Date/Compare2Dates()
  2207.  
  2208.  
  2209.  
  2210.  
  2211. DateClass/date/operator>=()
  2212.  
  2213. NAME
  2214.         operator>=() -- Greater or equal oper. for date obj. and weekday (V33)
  2215.  
  2216.  
  2217. SYNOPSIS
  2218.         compare = ((*this) >= wd);
  2219.  
  2220.         bool operator>=(const Weekdays wd) const;
  2221.  
  2222.  
  2223. FUNCTION
  2224.         Compares if the date object is greater or equal to a weekday.
  2225.  
  2226.  
  2227. INPUTS
  2228.         *this - date object
  2229.         wd    - Weekday
  2230.  
  2231.  
  2232. RESULT
  2233.         compare - Boolean result of the greater or equal compare operation
  2234.  
  2235.  
  2236. EXAMPLE
  2237.         ...
  2238.         if (d1 >= wd)
  2239.           printf(">=\n");
  2240.         else
  2241.           printf("<\n");
  2242.         ...
  2243.  
  2244.  
  2245. NOTES
  2246.         None.
  2247.  
  2248.  
  2249. BUGS
  2250.         No known bugs.
  2251.  
  2252.  
  2253. SEE ALSO
  2254.         operator==(),operator!=(),operator<(),operator>(),operator<=(),
  2255.         Date/HeisWeekday()
  2256.  
  2257.  
  2258.  
  2259.  
  2260.  
  2261. DateClass/dateduration
  2262.  
  2263. NAME
  2264.         dateduration -- Class for date durations (V33)
  2265.  
  2266.  
  2267. FUNCTION
  2268.         This class maps the concept of date durations.
  2269.  
  2270.  
  2271. NOTES
  2272.         None.
  2273.  
  2274.  
  2275. BUGS
  2276.         No known bugs.
  2277.  
  2278.  
  2279. SEE ALSO
  2280.         timeduration,time,date
  2281.  
  2282.  
  2283.  
  2284.  
  2285. DateClass/dateduration/dateduration()
  2286.  
  2287. NAME
  2288.         dateduration() -- Constructor of dateduration class (V33)
  2289.  
  2290.  
  2291. SYNOPSIS
  2292.         dd = dateduration(days=0,months=0,years=0);
  2293.  
  2294.         dateduration(unsigned long days=0, unsigned short months=0,
  2295.             unsigned short years=0);
  2296.  
  2297.  
  2298. FUNCTION
  2299.         Constructor of the dateduration class.
  2300.  
  2301.  
  2302. INPUTS
  2303.         days   - Days of a dateduration
  2304.         months - Months of a dateduration
  2305.         years  - Years of a dateduration
  2306.  
  2307.  
  2308. RESULT
  2309.         dd - Dateduration object
  2310.  
  2311.  
  2312. EXAMPLE
  2313.         ...
  2314.         dateduration dd1(14,0,0);
  2315.         ...
  2316.  
  2317.  
  2318. NOTES
  2319.         None.
  2320.  
  2321.  
  2322. BUGS
  2323.         No known bugs.
  2324.  
  2325.  
  2326. SEE ALSO
  2327.  
  2328.  
  2329.  
  2330.  
  2331.  
  2332. DateClass/dateduration/getdays()
  2333.  
  2334. NAME
  2335.         getdays() -- Get days of dateduration object (V33)
  2336.  
  2337.  
  2338. SYNOPSIS
  2339.         days = (*this).getdays();
  2340.  
  2341.         unsigned long getdays(void) const;
  2342.  
  2343.  
  2344. FUNCTION
  2345.         Gets the number of days from the dateduration object.
  2346.  
  2347.  
  2348. INPUTS
  2349.         *this - dateduration object
  2350.  
  2351.  
  2352. RESULT
  2353.         days - Days of the dateduration object
  2354.  
  2355.  
  2356. EXAMPLE
  2357.         ...
  2358.         days = dd.getdays();
  2359.         ...
  2360.  
  2361.  
  2362. NOTES
  2363.         None.
  2364.  
  2365.  
  2366. BUGS
  2367.         No known bugs.
  2368.  
  2369.  
  2370. SEE ALSO
  2371.         getmonths(),getyears(),getindays()
  2372.  
  2373.  
  2374.  
  2375.  
  2376. DateClass/dateduration/getindays()
  2377.  
  2378. NAME
  2379.         getindays() -- Get dateduration in days of dateduration object (V33)
  2380.  
  2381.  
  2382. SYNOPSIS
  2383.         days = (*this).getindays();
  2384.  
  2385.         unsigned long getindays(void) const;
  2386.  
  2387.  
  2388. FUNCTION
  2389.         Gets duration of the dateduration object in days.
  2390.  
  2391.  
  2392. INPUTS
  2393.         *this - dateduration object
  2394.  
  2395.  
  2396. RESULT
  2397.         days - Dateduration of the datedurationobject in days
  2398.  
  2399.  
  2400. EXAMPLE
  2401.         ...
  2402.         days = dd.getindays();
  2403.         ...
  2404.  
  2405.  
  2406. NOTES
  2407.         A month will be calculated as 30 days, a year as 365 days.
  2408.  
  2409.  
  2410. BUGS
  2411.         No known bugs.
  2412.  
  2413.  
  2414. SEE ALSO
  2415.         getdays(),getmonths(),getyears()
  2416.  
  2417.  
  2418.  
  2419.  
  2420. DateClass/dateduration/getmonths()
  2421.  
  2422. NAME
  2423.         getmonths() -- Get months of dateduration object (V33)
  2424.  
  2425.  
  2426. SYNOPSIS
  2427.         months = (*this).getmonths();
  2428.  
  2429.         unsigned short getmonths(void) const;
  2430.  
  2431.  
  2432. FUNCTION
  2433.         Gets the number of months from the dateduration object.
  2434.  
  2435.  
  2436. INPUTS
  2437.         *this - dateduration object
  2438.  
  2439.  
  2440. RESULT
  2441.         months - Months of the dateduration object
  2442.  
  2443.  
  2444. EXAMPLE
  2445.         ...
  2446.         months = dd.getmonths();
  2447.         ...
  2448.  
  2449.  
  2450. NOTES
  2451.         None.
  2452.  
  2453.  
  2454. BUGS
  2455.         No known bugs.
  2456.  
  2457.  
  2458. SEE ALSO
  2459.         getdays(),getyears(),getindays()
  2460.  
  2461.  
  2462.  
  2463.  
  2464.  
  2465. DateClass/dateduration/getyears()
  2466.  
  2467. NAME
  2468.         getyears() -- Get years of dateduration object (V33)
  2469.  
  2470.  
  2471. SYNOPSIS
  2472.         years = (*this).getyears();
  2473.  
  2474.         unsigned short getyears(void) const;
  2475.  
  2476.  
  2477. FUNCTION
  2478.         Gets the number of years from the dateduration object.
  2479.  
  2480.  
  2481. INPUTS
  2482.         *this - dateduration object
  2483.  
  2484.  
  2485. RESULT
  2486.         years - Years of the dateduration object
  2487.  
  2488.  
  2489. EXAMPLE
  2490.         ...
  2491.         years = dd.getyears();
  2492.         ...
  2493.  
  2494.  
  2495. NOTES
  2496.         None.
  2497.  
  2498.  
  2499. BUGS
  2500.         No known bugs.
  2501.  
  2502.  
  2503. SEE ALSO
  2504.         getdays(),getmonths(),getindays()
  2505.  
  2506.  
  2507.  
  2508.  
  2509. DateClass/dateduration/operator!=()
  2510.  
  2511. NAME
  2512.         operator!=() -- Unequal operator for dateduration objects (V33)
  2513.  
  2514.  
  2515. SYNOPSIS
  2516.         compare = ((*this) != dd);
  2517.  
  2518.         bool operator!=(const dateduration &dd) const;
  2519.  
  2520.  
  2521. FUNCTION
  2522.         Compares two dateduration objects for unequality.
  2523.  
  2524.  
  2525. INPUTS
  2526.         *this - dateduration object
  2527.         dd    - dateduration object
  2528.  
  2529.  
  2530. RESULT
  2531.         compare - Boolean result of the unequal compare operation
  2532.  
  2533.  
  2534. EXAMPLE
  2535.         ...
  2536.         if (dd1 != dd2)
  2537.           printf("!=\n");
  2538.         else
  2539.           printf("==\n");
  2540.         ...
  2541.  
  2542.  
  2543. NOTES
  2544.         None.
  2545.  
  2546.  
  2547. BUGS
  2548.         No known bugs.
  2549.  
  2550.  
  2551. SEE ALSO
  2552.         operator==(),operator<(),operator>(),operator<=(),operator>=()
  2553.  
  2554.  
  2555.  
  2556.  
  2557. DateClass/dateduration/operator%()
  2558.  
  2559. NAME
  2560.         operator%() -- Modulo operator for dateduration object (V33)
  2561.  
  2562.  
  2563. SYNOPSIS
  2564.         ddf = (*this) % dd;
  2565.  
  2566.         unsigned long operator%(const dateduration &dd) const;
  2567.  
  2568.  
  2569. FUNCTION
  2570.         Modulo devide the dateduration object by another dateduration object
  2571.         to the modulo factor.
  2572.  
  2573.  
  2574. INPUTS
  2575.         *this - dateduration object
  2576.         dd    - dateduration object
  2577.  
  2578.  
  2579. RESULT
  2580.         ddf - Modulo factor
  2581.  
  2582.  
  2583. EXAMPLE
  2584.         ...
  2585.         ddf = dd1 % dd2;
  2586.         ...
  2587.  
  2588.  
  2589. NOTES
  2590.         None.
  2591.  
  2592.  
  2593. BUGS
  2594.         No known bugs.
  2595.  
  2596.  
  2597. SEE ALSO
  2598.         operator+(),operator-(),operator+=(),operator-=(),operator*(),
  2599.         operator/(),operator*=(),operator/=()
  2600.  
  2601.  
  2602.  
  2603.  
  2604. DateClass/dateduration/operator*()
  2605.  
  2606. NAME
  2607.         operator*() -- Multiply operator for dateduration object (V33)
  2608.  
  2609.  
  2610. SYNOPSIS
  2611.         ddres = (*this) * ddm;
  2612.  
  2613.         dateduration operator*(const unsigned short ddm) const;
  2614.  
  2615.  
  2616. FUNCTION
  2617.         Muliply the dateduration object with a constant value to a new
  2618.         dateduration object.
  2619.  
  2620.  
  2621. INPUTS
  2622.         *this - dateduration object
  2623.         ddm   - Multiplication factor
  2624.  
  2625.  
  2626. RESULT
  2627.         ddres - New dateduration object
  2628.  
  2629.  
  2630. EXAMPLE
  2631.         ...
  2632.         ddres = dd * 2;
  2633.         ...
  2634.  
  2635.  
  2636. NOTES
  2637.         None.
  2638.  
  2639.  
  2640. BUGS
  2641.         No known bugs.
  2642.  
  2643.  
  2644. SEE ALSO
  2645.         operator+(),operator-(),operator+=(),operator-=(),operator/(),
  2646.         operator*=(),operator/=(),dateduration()
  2647.  
  2648.  
  2649.  
  2650.  
  2651. DateClass/dateduration/operator*()
  2652.  
  2653. NAME
  2654.         operator*() -- Multiply operator for dateduration object (V33)
  2655.  
  2656.  
  2657. SYNOPSIS
  2658.         ddres = (*this) * ddm;
  2659.  
  2660.         dateduration operator*(const unsigned int ddm) const;
  2661.  
  2662.  
  2663. FUNCTION
  2664.         Muliply the dateduration object with a constant value to a new
  2665.         dateduration object.
  2666.  
  2667.  
  2668. INPUTS
  2669.         *this - dateduration object
  2670.         ddm   - Multiplication factor
  2671.  
  2672.  
  2673. RESULT
  2674.         ddres - New dateduration object
  2675.  
  2676.  
  2677. EXAMPLE
  2678.         ...
  2679.         ddres = dd * 2;
  2680.         ...
  2681.  
  2682.  
  2683. NOTES
  2684.         None.
  2685.  
  2686.  
  2687. BUGS
  2688.         No known bugs.
  2689.  
  2690.  
  2691. SEE ALSO
  2692.         operator+(),operator-(),operator+=(),operator-=(),operator/(),
  2693.         operator*=(),operator/=(),dateduration()
  2694.  
  2695.  
  2696.  
  2697.  
  2698.  
  2699. DateClass/dateduration/operator*()
  2700.  
  2701. NAME
  2702.         operator*() -- Multiply operator for dateduration object (V33)
  2703.  
  2704.  
  2705. SYNOPSIS
  2706.         ddres = (*this) * ddm;
  2707.  
  2708.         dateduration operator*(const unsigned long ddm) const;
  2709.  
  2710.  
  2711. FUNCTION
  2712.         Muliply the dateduration object with a constant value to a new
  2713.         dateduration object.
  2714.  
  2715.  
  2716. INPUTS
  2717.         *this - dateduration object
  2718.         ddm   - Multiplication factor
  2719.  
  2720.  
  2721. RESULT
  2722.         ddres - New dateduration object
  2723.  
  2724.  
  2725. EXAMPLE
  2726.         ...
  2727.         ddres = dd * 2;
  2728.         ...
  2729.  
  2730.  
  2731. NOTES
  2732.         None.
  2733.  
  2734.  
  2735. BUGS
  2736.         No known bugs.
  2737.  
  2738.  
  2739. SEE ALSO
  2740.         operator+(),operator-(),operator+=(),operator-=(),operator/(),
  2741.         operator*=(),operator/=(),dateduration()
  2742.  
  2743.  
  2744.  
  2745.  
  2746. DateClass/dateduration/operator*=()
  2747.  
  2748. NAME
  2749.         operator*=() -- Multiply with operator for dateduration object (V33)
  2750.  
  2751.  
  2752. SYNOPSIS
  2753.         (*this) *= ddm;
  2754.  
  2755.         const dateduration &operator*=(const unsigned short ddm);
  2756.  
  2757.  
  2758. FUNCTION
  2759.         Muliply the dateduration object with a constant value.
  2760.  
  2761.  
  2762. INPUTS
  2763.         *this - dateduration object
  2764.         ddm   - Multiplication factor
  2765.  
  2766.  
  2767. RESULT
  2768.         *this - Modified dateduration object
  2769.  
  2770.  
  2771. EXAMPLE
  2772.         ...
  2773.         dd *= 2;
  2774.         ...
  2775.  
  2776.  
  2777. NOTES
  2778.         None.
  2779.  
  2780.  
  2781. BUGS
  2782.         No known bugs.
  2783.  
  2784.  
  2785. SEE ALSO
  2786.         operator+(),operator-(),operator+=(),operator-=(),operator*(),
  2787.         operator/(),operator/=()
  2788.  
  2789.  
  2790.  
  2791.  
  2792. DateClass/dateduration/operator*=()
  2793.  
  2794. NAME
  2795.         operator*=() -- Multiply with operator for dateduration object (V33)
  2796.  
  2797.  
  2798. SYNOPSIS
  2799.         (*this) *= ddm;
  2800.  
  2801.         const dateduration &operator*=(const unsigned int ddm);
  2802.  
  2803.  
  2804. FUNCTION
  2805.         Muliply the dateduration object with a constant value.
  2806.  
  2807.  
  2808. INPUTS
  2809.         *this - dateduration object
  2810.         ddm   - Multiplication factor
  2811.  
  2812.  
  2813. RESULT
  2814.         *this - Modified dateduration object
  2815.  
  2816.  
  2817. EXAMPLE
  2818.         ...
  2819.         dd *= 2;
  2820.         ...
  2821.  
  2822.  
  2823. NOTES
  2824.         None.
  2825.  
  2826.  
  2827. BUGS
  2828.         No known bugs.
  2829.  
  2830.  
  2831. SEE ALSO
  2832.         operator+(),operator-(),operator+=(),operator-=(),operator*(),
  2833.         operator/(),operator/=()
  2834.  
  2835.  
  2836.  
  2837.  
  2838.  
  2839. DateClass/dateduration/operator*=()
  2840.  
  2841. NAME
  2842.         operator*=() -- Multiply with operator for dateduration object (V33)
  2843.  
  2844.  
  2845. SYNOPSIS
  2846.         (*this) *= ddm;
  2847.  
  2848.         const dateduration &operator*=(const unsigned long ddm);
  2849.  
  2850.  
  2851. FUNCTION
  2852.         Muliply the dateduration object with a constant value.
  2853.  
  2854.  
  2855. INPUTS
  2856.         *this - dateduration object
  2857.         ddm   - Multiplication factor
  2858.  
  2859.  
  2860. RESULT
  2861.         *this - Modified dateduration object
  2862.  
  2863.  
  2864. EXAMPLE
  2865.         ...
  2866.         dd *= 2;
  2867.         ...
  2868.  
  2869.  
  2870. NOTES
  2871.         None.
  2872.  
  2873.  
  2874. BUGS
  2875.         No known bugs.
  2876.  
  2877.  
  2878. SEE ALSO
  2879.         operator+(),operator-(),operator+=(),operator-=(),operator*(),
  2880.         operator/(),operator/=()
  2881.  
  2882.  
  2883.  
  2884.  
  2885. DateClass/dateduration/operator+()
  2886.  
  2887. NAME
  2888.         operator+() -- Add operator for dateduration objects (V33)
  2889.  
  2890.  
  2891. SYNOPSIS
  2892.         ddres = (*this) + dd;
  2893.  
  2894.         dateduration operator+(const dateduration &dd) const;
  2895.  
  2896.  
  2897. FUNCTION
  2898.         Add two dateduration objects to a new dateduration object.
  2899.  
  2900.  
  2901. INPUTS
  2902.         *this - dateduration object
  2903.         dd    - dateduration object
  2904.  
  2905.  
  2906. RESULT
  2907.         ddres - new dateduration object
  2908.  
  2909.  
  2910. EXAMPLE
  2911.         ...
  2912.         ddres = dd1 + dd2;
  2913.         ...
  2914.  
  2915.  
  2916. NOTES
  2917.         None.
  2918.  
  2919.  
  2920. BUGS
  2921.         No known bugs.
  2922.  
  2923.  
  2924. SEE ALSO
  2925.         operator-(),operator+=(),operator-=(),operator*(),operator/(),
  2926.         operator*=(),operator/=(),dateduration()
  2927.  
  2928.  
  2929.  
  2930.  
  2931. DateClass/dateduration/operator++()
  2932.  
  2933. NAME
  2934.         operator++() -- Increment operator for dateduration object (V33)
  2935.  
  2936.  
  2937. SYNOPSIS
  2938.         dd++;
  2939.  
  2940.         dateduration operator++();
  2941.  
  2942.  
  2943. FUNCTION
  2944.         Increments the dateduration object by one day.
  2945.  
  2946.  
  2947. INPUTS
  2948.         *this - dateduration object
  2949.  
  2950.  
  2951. RESULT
  2952.         *this - modified dateduration object
  2953.  
  2954.  
  2955. EXAMPLE
  2956.         ...
  2957.         dd++;
  2958.         ...
  2959.  
  2960.  
  2961. NOTES
  2962.         None.
  2963.  
  2964.  
  2965. BUGS
  2966.         No known bugs.
  2967.  
  2968.  
  2969. SEE ALSO
  2970.         operator++(int),operator--(),operator--(int)
  2971.  
  2972.  
  2973.  
  2974.  
  2975. DateClass/dateduration/operator++(int)
  2976.  
  2977. NAME
  2978.         operator++() -- Increment operator for dateduration object (V33)
  2979.  
  2980.  
  2981. SYNOPSIS
  2982.         ++dd;
  2983.  
  2984.         dateduration operator++(int);
  2985.  
  2986.  
  2987. FUNCTION
  2988.         Increments the dateduration object by one day.
  2989.  
  2990.  
  2991. INPUTS
  2992.         *this - dateduration object
  2993.  
  2994.  
  2995. RESULT
  2996.         *this - modified dateduration object
  2997.  
  2998.  
  2999. EXAMPLE
  3000.         ...
  3001.         ++dd;
  3002.         ...
  3003.  
  3004.  
  3005. NOTES
  3006.         None.
  3007.  
  3008.  
  3009. BUGS
  3010.         No known bugs.
  3011.  
  3012.  
  3013. SEE ALSO
  3014.         operator++(),operator--(),operator--(int)
  3015.  
  3016.  
  3017.  
  3018.  
  3019. DateClass/dateduration/operator+=()
  3020.  
  3021. NAME
  3022.         operator+=() -- Add to operator for dateduration objects (V33)
  3023.  
  3024.  
  3025. SYNOPSIS
  3026.         (*this) += dd;
  3027.  
  3028.         const dateduration &operator+=(const dateduration &dd);
  3029.  
  3030.  
  3031. FUNCTION
  3032.         Add dateduration object 2 to dateduration object 1.
  3033.  
  3034.  
  3035. INPUTS
  3036.         *this - dateduration object
  3037.         dd    - dateduration object
  3038.  
  3039.  
  3040. RESULT
  3041.         *this - modified dateduration object
  3042.  
  3043.  
  3044. EXAMPLE
  3045.         ...
  3046.         dd1 += dd2;
  3047.         ...
  3048.  
  3049.  
  3050. NOTES
  3051.         None.
  3052.  
  3053.  
  3054. BUGS
  3055.         No known bugs.
  3056.  
  3057.  
  3058. SEE ALSO
  3059.         operator+(),operator-(),operator-=(),operator*(),operator/(),
  3060.         operator*=(),operator/=()
  3061.  
  3062.  
  3063.  
  3064.  
  3065. DateClass/dateduration/operator-()
  3066.  
  3067. NAME
  3068.         operator-() -- Sub operator for dateduration objects (V33)
  3069.  
  3070.  
  3071. SYNOPSIS
  3072.         ddres = (*this) - dd;
  3073.  
  3074.         dateduration operator-(const dateduration &dd) const;
  3075.  
  3076.  
  3077. FUNCTION
  3078.         Subtract dateduration object 2 from dateduration object 1 to a new
  3079.         dateduration object.
  3080.         If object 2 is greater than object 1 you get back an object with a
  3081.         duration of 0!
  3082.  
  3083.  
  3084. INPUTS
  3085.         *this - dateduration object
  3086.         dd    - dateduration object
  3087.  
  3088.  
  3089. RESULT
  3090.         ddres - new dateduration object
  3091.  
  3092.  
  3093. EXAMPLE
  3094.         ...
  3095.         ddres = dd1 - dd2;
  3096.         ...
  3097.  
  3098.  
  3099. NOTES
  3100.         None.
  3101.  
  3102.  
  3103. BUGS
  3104.         No known bugs.
  3105.  
  3106.  
  3107. SEE ALSO
  3108.         operator+(),operator+=(),operator-=(),operator*(),operator/(),
  3109.         operator*=(),operator/=(),dateduration()
  3110.  
  3111.  
  3112.  
  3113.  
  3114. DateClass/dateduration/operator--()
  3115.  
  3116. NAME
  3117.         operator--() -- Decrement operator for dateduration object (V33)
  3118.  
  3119.  
  3120. SYNOPSIS
  3121.         dd--;
  3122.  
  3123.         dateduration operator--();
  3124.  
  3125.  
  3126. FUNCTION
  3127.         Decrements the dateduration object by one day.
  3128.  
  3129.  
  3130. INPUTS
  3131.         *this - dateduration object
  3132.  
  3133.  
  3134. RESULT
  3135.         *this - modified dateduration object
  3136.  
  3137.  
  3138. EXAMPLE
  3139.         ...
  3140.         dd--;
  3141.         ...
  3142.  
  3143.  
  3144. NOTES
  3145.         None.
  3146.  
  3147.  
  3148. BUGS
  3149.         No known bugs.
  3150.  
  3151.  
  3152. SEE ALSO
  3153.         operator++(),operator++(int),operator--(int)
  3154.  
  3155.  
  3156.  
  3157.  
  3158. DateClass/dateduration/operator--(int)
  3159.  
  3160. NAME
  3161.         operator--() -- Decrement operator for dateduration object (V33)
  3162.  
  3163.  
  3164. SYNOPSIS
  3165.         --dd;
  3166.  
  3167.         dateduration operator--(int);
  3168.  
  3169.  
  3170. FUNCTION
  3171.         Decrements the dateduration object by one day.
  3172.  
  3173.  
  3174. INPUTS
  3175.         *this - dateduration object
  3176.  
  3177.  
  3178. RESULT
  3179.         *this - modified dateduration object
  3180.  
  3181.  
  3182. EXAMPLE
  3183.         ...
  3184.         --dd;
  3185.         ...
  3186.  
  3187.  
  3188. NOTES
  3189.         None.
  3190.  
  3191.  
  3192. BUGS
  3193.         No known bugs.
  3194.  
  3195.  
  3196. SEE ALSO
  3197.         operator++(),operator++(int),operator--()
  3198.  
  3199.  
  3200.  
  3201.  
  3202. DateClass/dateduration/operator-=()
  3203.  
  3204. NAME
  3205.         operator-=() -- Sub from operator for dateduration objects (V33)
  3206.  
  3207.  
  3208. SYNOPSIS
  3209.         (*this) -= dd;
  3210.  
  3211.         const dateduration &operator-=(const dateduration &dd);
  3212.  
  3213.  
  3214. FUNCTION
  3215.         Subtract dateduration object 2 from dateduration object 1.
  3216.         If object 2 is greater than object 1 you get back an object with a
  3217.         duration of 0!
  3218.  
  3219.  
  3220. INPUTS
  3221.         *this - dateduration object
  3222.         dd    - dateduration object
  3223.  
  3224.  
  3225. RESULT
  3226.         *this - modified dateduration object
  3227.  
  3228.  
  3229. EXAMPLE
  3230.         ...
  3231.         dd1 -= dd2;
  3232.         ...
  3233.  
  3234.  
  3235. NOTES
  3236.         None.
  3237.  
  3238.  
  3239. BUGS
  3240.         No known bugs.
  3241.  
  3242.  
  3243. SEE ALSO
  3244.         operator+(),operator-(),operator+=(),operator*(),operator/(),
  3245.         operator*=(),operator/=()
  3246.  
  3247.  
  3248.  
  3249.  
  3250. DateClass/dateduration/operator/()
  3251.  
  3252. NAME
  3253.         operator/() -- Div operator for dateduration object (V33)
  3254.  
  3255.  
  3256. SYNOPSIS
  3257.         ddres = (*this) / ddd;
  3258.  
  3259.         dateduration operator/(const unsigned short ddd) const;
  3260.  
  3261.  
  3262. FUNCTION
  3263.         Devide the dateduration object by a constant value to a new
  3264.         dateduration object.
  3265.         If ddd is 0 you will get back an object with a duration of 0!
  3266.  
  3267.  
  3268. INPUTS
  3269.         *this - dateduration object
  3270.         ddd   - Division factor
  3271.  
  3272.  
  3273. RESULT
  3274.         ddres - New dateduration object
  3275.  
  3276.  
  3277. EXAMPLE
  3278.         ...
  3279.         ddres = dd / 2;
  3280.         ...
  3281.  
  3282.  
  3283. NOTES
  3284.         None.
  3285.  
  3286.  
  3287. BUGS
  3288.         No known bugs.
  3289.  
  3290.  
  3291. SEE ALSO
  3292.         operator+(),operator-(),operator+=(),operator-=(),operator*(),
  3293.         operator*=(),operator/=(),dateduration()
  3294.  
  3295.  
  3296.  
  3297.  
  3298.  
  3299. DateClass/dateduration/operator/()
  3300.  
  3301. NAME
  3302.         operator/() -- Div operator for dateduration object (V33)
  3303.  
  3304.  
  3305. SYNOPSIS
  3306.         ddres = (*this) / ddd;
  3307.  
  3308.         dateduration operator/(const unsigned int ddd) const;
  3309.  
  3310.  
  3311. FUNCTION
  3312.         Devide the dateduration object by a constant value to a new
  3313.         dateduration object.
  3314.         If ddd is 0 you will get back an object with a duration of 0!
  3315.  
  3316.  
  3317. INPUTS
  3318.         *this - dateduration object
  3319.         ddd   - Division factor
  3320.  
  3321.  
  3322. RESULT
  3323.         ddres - New dateduration object
  3324.  
  3325.  
  3326. EXAMPLE
  3327.         ...
  3328.         ddres = dd / 2;
  3329.         ...
  3330.  
  3331.  
  3332. NOTES
  3333.         None.
  3334.  
  3335.  
  3336. BUGS
  3337.         No known bugs.
  3338.  
  3339.  
  3340. SEE ALSO
  3341.         operator+(),operator-(),operator+=(),operator-=(),operator*(),
  3342.         operator*=(),operator/=(),dateduration()
  3343.  
  3344.  
  3345.  
  3346.  
  3347. DateClass/dateduration/operator/()
  3348.  
  3349. NAME
  3350.         operator/() -- Div operator for dateduration object (V33)
  3351.  
  3352.  
  3353. SYNOPSIS
  3354.         ddres = (*this) / ddd;
  3355.  
  3356.         dateduration operator/(const unsigned long ddd) const;
  3357.  
  3358.  
  3359. FUNCTION
  3360.         Devide the dateduration object by a constant value to a new
  3361.         dateduration object.
  3362.         If ddd is 0 you will get back an object with a duration of 0!
  3363.  
  3364.  
  3365. INPUTS
  3366.         *this - dateduration object
  3367.         ddd   - Division factor
  3368.  
  3369.  
  3370. RESULT
  3371.         ddres - New dateduration object
  3372.  
  3373.  
  3374. EXAMPLE
  3375.         ...
  3376.         ddres = dd / 2;
  3377.         ...
  3378.  
  3379.  
  3380. NOTES
  3381.         None.
  3382.  
  3383.  
  3384. BUGS
  3385.         No known bugs.
  3386.  
  3387.  
  3388. SEE ALSO
  3389.         operator+(),operator-(),operator+=(),operator-=(),operator*(),
  3390.         operator*=(),operator/=(),dateduration()
  3391.  
  3392.  
  3393.  
  3394.  
  3395. DateClass/dateduration/operator/()
  3396.  
  3397. NAME
  3398.         operator/() -- Div operator for dateduration object (V33)
  3399.  
  3400.  
  3401. SYNOPSIS
  3402.         ddf = (*this) / dd;
  3403.  
  3404.         unsigned long operator/(const dateduration &dd) const;
  3405.  
  3406.  
  3407. FUNCTION
  3408.         Devide the dateduration object by another dateduration object
  3409.         to the devision factor.
  3410.  
  3411.  
  3412. INPUTS
  3413.         *this - dateduration object
  3414.         dd    - dateduration object
  3415.  
  3416.  
  3417. RESULT
  3418.         ddf - Division factor
  3419.  
  3420.  
  3421. EXAMPLE
  3422.         ...
  3423.         ddf = dd1 / dd2;
  3424.         ...
  3425.  
  3426.  
  3427. NOTES
  3428.         None.
  3429.  
  3430.  
  3431. BUGS
  3432.         No known bugs.
  3433.  
  3434.  
  3435. SEE ALSO
  3436.         operator+(),operator-(),operator+=(),operator-=(),operator*(),
  3437.         operator*=(),operator/=(),operator%()
  3438.  
  3439.  
  3440.  
  3441.  
  3442. DateClass/dateduration/operator/=()
  3443.  
  3444. NAME
  3445.         operator/=() -- Div through operator for dateduration object (V33)
  3446.  
  3447.  
  3448. SYNOPSIS
  3449.         (*this) /= ddd;
  3450.  
  3451.         const dateduration &operator/=(const unsigned short ddd);
  3452.  
  3453.  
  3454. FUNCTION
  3455.         Devide the dateduration object by a constant value.
  3456.         If ddd is 0 you will get back an object with a duration of 0!
  3457.  
  3458.  
  3459. INPUTS
  3460.         *this - dateduration object
  3461.         ddd   - Division factor
  3462.  
  3463.  
  3464. RESULT
  3465.         *this - Modified dateduration object
  3466.  
  3467.  
  3468. EXAMPLE
  3469.         ...
  3470.         dd /= 2;
  3471.         ...
  3472.  
  3473.  
  3474. NOTES
  3475.         None.
  3476.  
  3477.  
  3478. BUGS
  3479.         No known bugs.
  3480.  
  3481.  
  3482. SEE ALSO
  3483.         operator+(),operator-(),operator+=(),operator-=(),operator*(),
  3484.         operator/(),operator*=()
  3485.  
  3486.  
  3487.  
  3488.  
  3489. DateClass/dateduration/operator/=()
  3490.  
  3491. NAME
  3492.         operator/=() -- Div through operator for dateduration object (V33)
  3493.  
  3494.  
  3495. SYNOPSIS
  3496.         (*this) /= ddd;
  3497.  
  3498.         const dateduration &operator/=(const unsigned int ddd);
  3499.  
  3500.  
  3501. FUNCTION
  3502.         Devide the dateduration object by a constant value.
  3503.         If ddd is 0 you will get back an object with a duration of 0!
  3504.  
  3505.  
  3506. INPUTS
  3507.         *this - dateduration object
  3508.         ddd   - Division factor
  3509.  
  3510.  
  3511. RESULT
  3512.         *this - Modified dateduration object
  3513.  
  3514.  
  3515. EXAMPLE
  3516.         ...
  3517.         dd /= 2;
  3518.         ...
  3519.  
  3520.  
  3521. NOTES
  3522.         None.
  3523.  
  3524.  
  3525. BUGS
  3526.         No known bugs.
  3527.  
  3528.  
  3529. SEE ALSO
  3530.         operator+(),operator-(),operator+=(),operator-=(),operator*(),
  3531.         operator/(),operator*=()
  3532.  
  3533.  
  3534.  
  3535.  
  3536. DateClass/dateduration/operator/=()
  3537.  
  3538. NAME
  3539.         operator/=() -- Div through operator for dateduration object (V33)
  3540.  
  3541.  
  3542. SYNOPSIS
  3543.         (*this) /= ddd;
  3544.  
  3545.         const dateduration &operator/=(const unsigned long ddd);
  3546.  
  3547.  
  3548. FUNCTION
  3549.         Devide the dateduration object by a constant value.
  3550.         If ddd is 0 you will get back an object with a duration of 0!
  3551.  
  3552.  
  3553. INPUTS
  3554.         *this - dateduration object
  3555.         ddd   - Division factor
  3556.  
  3557.  
  3558. RESULT
  3559.         *this - Modified dateduration object
  3560.  
  3561.  
  3562. EXAMPLE
  3563.         ...
  3564.         dd /= 2;
  3565.         ...
  3566.  
  3567.  
  3568. NOTES
  3569.         None.
  3570.  
  3571.  
  3572. BUGS
  3573.         No known bugs.
  3574.  
  3575.  
  3576. SEE ALSO
  3577.         operator+(),operator-(),operator+=(),operator-=(),operator*(),
  3578.         operator/(),operator*=()
  3579.  
  3580.  
  3581.  
  3582.  
  3583. DateClass/dateduration/operator<=()
  3584.  
  3585. NAME
  3586.         operator<=() -- Lower or equal operator for dateduration objects (V33)
  3587.  
  3588.  
  3589. SYNOPSIS
  3590.         compare = ((*this) <= dd);
  3591.  
  3592.         bool operator<=(const dateduration &dd) const;
  3593.  
  3594.  
  3595. FUNCTION
  3596.         Compares if dateduration object 1 is lower or equal than dateduration
  3597.         object 2.
  3598.  
  3599.  
  3600. INPUTS
  3601.         *this - dateduration object
  3602.         dd    - dateduration object
  3603.  
  3604.  
  3605. RESULT
  3606.         compare - Boolean result of the lower or equal compare operation
  3607.  
  3608.  
  3609. EXAMPLE
  3610.         ...
  3611.         if (dd1 <= dd2)
  3612.           printf("<=\n");
  3613.         else
  3614.           printf(">\n");
  3615.         ...
  3616.  
  3617.  
  3618. NOTES
  3619.         A month will be calculated as 30 days, a year as 365 days.
  3620.  
  3621.  
  3622. BUGS
  3623.         No known bugs.
  3624.  
  3625.  
  3626. SEE ALSO
  3627.         operator==(),operator!=(),operator<(),operator>(),operator>=()
  3628.  
  3629.  
  3630.  
  3631.  
  3632.  
  3633. DateClass/dateduration/operator==()
  3634.  
  3635. NAME
  3636.         operator==() -- Equal operator for dateduration objects (V33)
  3637.  
  3638.  
  3639. SYNOPSIS
  3640.         compare = ((*this) == dd);
  3641.  
  3642.         bool operator==(const dateduration &dd) const;
  3643.  
  3644.  
  3645. FUNCTION
  3646.         Compares two dateduration objects for equality.
  3647.  
  3648.  
  3649. INPUTS
  3650.         *this - dateduration object
  3651.         dd    - dateduration object
  3652.  
  3653.  
  3654. RESULT
  3655.         compare - Boolean result of the equal compare operation
  3656.  
  3657.  
  3658. EXAMPLE
  3659.         ...
  3660.         if (dd1 == dd2)
  3661.           printf("==\n");
  3662.         else
  3663.           printf("!=\n");
  3664.         ...
  3665.  
  3666.  
  3667. NOTES
  3668.         None.
  3669.  
  3670.  
  3671. BUGS
  3672.         No known bugs.
  3673.  
  3674.  
  3675. SEE ALSO
  3676.         operator!=(),operator<(),operator>(),operator<=(),operator>=()
  3677.  
  3678.  
  3679.  
  3680.  
  3681.  
  3682. DateClass/dateduration/operator>()
  3683.  
  3684. NAME
  3685.         operator>() -- Greater than operator for dateduration objects (V33)
  3686.  
  3687.  
  3688. SYNOPSIS
  3689.         compare = ((*this) > dd);
  3690.  
  3691.         bool operator>(const dateduration &dd) const;
  3692.  
  3693.  
  3694. FUNCTION
  3695.         Compares if dateduration object 1 is greater than dateduration
  3696.         object 2.
  3697.  
  3698.  
  3699. INPUTS
  3700.         *this - dateduration object
  3701.         dd    - dateduration object
  3702.  
  3703.  
  3704. RESULT
  3705.         compare - Boolean result of the greater than compare operation
  3706.  
  3707.  
  3708. EXAMPLE
  3709.         ...
  3710.         if (dd1 > dd2)
  3711.           printf(">\n");
  3712.         else
  3713.           printf("<=\n");
  3714.         ...
  3715.  
  3716.  
  3717. NOTES
  3718.         A month will be calculated as 30 days, a year as 365 days.
  3719.  
  3720.  
  3721. BUGS
  3722.         No known bugs.
  3723.  
  3724.  
  3725. SEE ALSO
  3726.         operator==(),operator!=(),operator<(),operator<=(),operator>=()
  3727.  
  3728.  
  3729.  
  3730.  
  3731. DateClass/dateduration/operator>=()
  3732.  
  3733. NAME
  3734.         operator>=() -- Greater or equal operator for dateduration objs (V33)
  3735.  
  3736.  
  3737. SYNOPSIS
  3738.         compare = ((*this) >= dd);
  3739.  
  3740.         bool operator>=(const dateduration &dd) const;
  3741.  
  3742.  
  3743. FUNCTION
  3744.         Compares if dateduration object 1 is greater or equal than dateduration
  3745.         object 2.
  3746.  
  3747.  
  3748. INPUTS
  3749.         *this - dateduration object
  3750.         dd    - dateduration object
  3751.  
  3752.  
  3753. RESULT
  3754.         compare - Boolean result of the greater or equal compare operation
  3755.  
  3756.  
  3757. EXAMPLE
  3758.         ...
  3759.         if (dd1 >= dd2)
  3760.           printf(">=\n");
  3761.         else
  3762.           printf("<\n");
  3763.         ...
  3764.  
  3765.  
  3766. NOTES
  3767.         A month will be calculated as 30 days, a year as 365 days.
  3768.  
  3769.  
  3770. BUGS
  3771.         No known bugs.
  3772.  
  3773.  
  3774. SEE ALSO
  3775.         operator==(),operator!=(),operator<(),operator>(),operator<=()
  3776.  
  3777.  
  3778.  
  3779.  
  3780. DateClass/dateeduration/operator<()
  3781.  
  3782. NAME
  3783.         operator<() -- Lower than operator for dateduration objects (V33)
  3784.  
  3785.  
  3786. SYNOPSIS
  3787.         compare = ((*this) < dd);
  3788.  
  3789.         bool operator<(const dateduration &dd) const;
  3790.  
  3791.  
  3792. FUNCTION
  3793.         Compares if dateduration object 1 is lower than dateduration object 2.
  3794.  
  3795.  
  3796. INPUTS
  3797.         *this - dateduration object
  3798.         dd    - dateduration object
  3799.  
  3800.  
  3801. RESULT
  3802.         compare - Boolean result of the lower than compare operation
  3803.  
  3804.  
  3805. EXAMPLE
  3806.         ...
  3807.         if (dd1 < dd2)
  3808.           printf("<\n");
  3809.         else
  3810.           printf(">=\n");
  3811.         ...
  3812.  
  3813.  
  3814. NOTES
  3815.         A month will be calculated as 30 days, a year as 365 days.
  3816.  
  3817.  
  3818. BUGS
  3819.         No known bugs.
  3820.  
  3821.  
  3822. SEE ALSO
  3823.         operator==(),operator!=(),operator>(),operator<=(),operator>=()
  3824.  
  3825.  
  3826.  
  3827.  
  3828. DateClass/time
  3829.  
  3830. NAME
  3831.         time -- Class for times. (V33)
  3832.  
  3833.  
  3834. FUNCTION
  3835.         This class maps 24h times.
  3836.  
  3837.  
  3838. NOTES
  3839.         None.
  3840.  
  3841.  
  3842. BUGS
  3843.         No known bugs.
  3844.  
  3845.  
  3846. SEE ALSO
  3847.         timeduration,dateduration,date
  3848.  
  3849.  
  3850.  
  3851.  
  3852. DateClass/time/gethour()
  3853.  
  3854. NAME
  3855.         gethour() -- Get hour of time object (V33)
  3856.  
  3857.  
  3858. SYNOPSIS
  3859.         hour = (*this).gethour();
  3860.  
  3861.         unsigned short gethour(void) const;
  3862.  
  3863.  
  3864. FUNCTION
  3865.         Get the hour from the time object.
  3866.  
  3867.  
  3868. INPUTS
  3869.         *this - time object
  3870.  
  3871.  
  3872. RESULT
  3873.         hour - Hour of the time object
  3874.  
  3875.  
  3876. EXAMPLE
  3877.         ...
  3878.         hour = t.gethour();
  3879.         ...
  3880.  
  3881.  
  3882. NOTES
  3883.         None.
  3884.  
  3885.  
  3886. BUGS
  3887.         No known bugs.
  3888.  
  3889.  
  3890. SEE ALSO
  3891.         getmin(),getsec(),getzone(),getjd()
  3892.  
  3893.  
  3894.  
  3895.  
  3896. DateClass/time/getjd()
  3897.  
  3898. NAME
  3899.         getjd() -- Get time in JD format from time object (V33)
  3900.  
  3901.  
  3902. SYNOPSIS
  3903.         jd = (*this).getjd();
  3904.  
  3905.         float getjd(void) const;
  3906.  
  3907.  
  3908. FUNCTION
  3909.         Get the time in JD format from the time object.
  3910.  
  3911.  
  3912. INPUTS
  3913.         *this - time object
  3914.  
  3915.  
  3916. RESULT
  3917.         jd - Time of the time object in JD format
  3918.  
  3919.  
  3920. EXAMPLE
  3921.         ...
  3922.         jd = t.getjd();
  3923.         ...
  3924.  
  3925.  
  3926. NOTES
  3927.         None.
  3928.  
  3929.  
  3930. BUGS
  3931.         No known bugs.
  3932.  
  3933.  
  3934. SEE ALSO
  3935.         gethour(),getmin(),getsec(),getzone(),Date/TimeToJD()
  3936.  
  3937.  
  3938.  
  3939.  
  3940. DateClass/time/getmin()
  3941.  
  3942. NAME
  3943.         getmin() -- Get min of time object (V33)
  3944.  
  3945.  
  3946. SYNOPSIS
  3947.         min = (*this).getmin();
  3948.  
  3949.         unsigned short getmin(void) const;
  3950.  
  3951.  
  3952. FUNCTION
  3953.         Get the minute from the time object.
  3954.  
  3955.  
  3956. INPUTS
  3957.         *this - time object
  3958.  
  3959.  
  3960. RESULT
  3961.         min - Minute of the time object
  3962.  
  3963.  
  3964. EXAMPLE
  3965.         ...
  3966.         min = t.getmin();
  3967.         ...
  3968.  
  3969.  
  3970. NOTES
  3971.         None.
  3972.  
  3973.  
  3974. BUGS
  3975.         No known bugs.
  3976.  
  3977.  
  3978. SEE ALSO
  3979.         gethour(),getsec(),getzone(),getjd()
  3980.  
  3981.  
  3982.  
  3983.  
  3984.  
  3985. DateClass/time/getsec()
  3986.  
  3987. NAME
  3988.         getsec() -- Get sec of time object (V33)
  3989.  
  3990.  
  3991. SYNOPSIS
  3992.         sec = (*this).getsec();
  3993.  
  3994.         unsigned short getsec(void) const;
  3995.  
  3996.  
  3997. FUNCTION
  3998.         Get the second from the time object.
  3999.  
  4000.  
  4001. INPUTS
  4002.         *this - time object
  4003.  
  4004.  
  4005. RESULT
  4006.         sec - Second of the time object
  4007.  
  4008.  
  4009. EXAMPLE
  4010.         ...
  4011.         sec = t.getsec();
  4012.         ...
  4013.  
  4014.  
  4015. NOTES
  4016.         None.
  4017.  
  4018.  
  4019. BUGS
  4020.         No known bugs.
  4021.  
  4022.  
  4023. SEE ALSO
  4024.         gethour(),getmin(),getzone(),getjd()
  4025.  
  4026.  
  4027.  
  4028.  
  4029.  
  4030. DateClass/time/getzone()
  4031.  
  4032. NAME
  4033.         getzone() -- Get timezone of time object (V33)
  4034.  
  4035.  
  4036. SYNOPSIS
  4037.         zone = (*this).getzone();
  4038.  
  4039.         short getzone(void) const;
  4040.  
  4041.  
  4042. FUNCTION
  4043.         Get the timezone from the time object.
  4044.  
  4045.  
  4046. INPUTS
  4047.         *this - time object
  4048.  
  4049.  
  4050. RESULT
  4051.         zone - Timezone of the time object
  4052.  
  4053.  
  4054. EXAMPLE
  4055.         ...
  4056.         zone = t.getzone();
  4057.         ...
  4058.  
  4059.  
  4060. NOTES
  4061.         None.
  4062.  
  4063.  
  4064. BUGS
  4065.         No known bugs.
  4066.  
  4067.  
  4068. SEE ALSO
  4069.         gethour(),getmin(),getsec(),getjd()
  4070.  
  4071.  
  4072.  
  4073.  
  4074. DateClass/time/operator!=()
  4075.  
  4076. NAME
  4077.         operator!=() -- Unequal operator for time objects (V33)
  4078.  
  4079.  
  4080. SYNOPSIS
  4081.         compare = ((*this) != t);
  4082.  
  4083.         bool operator!=(time t) const;
  4084.  
  4085.  
  4086. FUNCTION
  4087.         Compares two time objects for unequality.
  4088.  
  4089.  
  4090. INPUTS
  4091.         *this - time object
  4092.         t     - time object
  4093.  
  4094.  
  4095. RESULT
  4096.         compare - Boolean result of the unequal compare operation
  4097.  
  4098.  
  4099. EXAMPLE
  4100.         ...
  4101.         if (t1 != t2)
  4102.           printf("!=\n");
  4103.         else
  4104.           printf("==\n");
  4105.         ...
  4106.  
  4107.  
  4108. NOTES
  4109.         None.
  4110.  
  4111.  
  4112. BUGS
  4113.         No known bugs.
  4114.  
  4115.  
  4116. SEE ALSO
  4117.         operator==(),operator<(),operator>(),operator<=(),operator>=(),
  4118.         operator[](),Date/Compare2Times()
  4119.  
  4120.  
  4121.  
  4122.  
  4123.  
  4124. DateClass/time/operator()()
  4125.  
  4126. NAME
  4127.         operator()() -- Calc. to new timezone operator for time object (V33)
  4128.  
  4129.  
  4130. SYNOPSIS
  4131.         t = (*this)(zone);
  4132.  
  4133.         time operator()(const short zone) const;
  4134.  
  4135.  
  4136. FUNCTION
  4137.         Change the timezone of a time object to a new time object with another
  4138.         timezone
  4139.  
  4140.  
  4141. INPUTS
  4142.         *this - time object
  4143.         zone  - Add this value to the actual timezone
  4144.  
  4145.  
  4146. RESULT
  4147.         t - New time object
  4148.  
  4149.  
  4150. EXAMPLE
  4151.         ...
  4152.         t1 = t2(2);
  4153.         ...
  4154.  
  4155.  
  4156. NOTES
  4157.         None.
  4158.  
  4159.  
  4160. BUGS
  4161.         No known bugs.
  4162.  
  4163.  
  4164. SEE ALSO
  4165.         operator<<(),operator>>(),operator<<=(),operator>>=(),operator[](),
  4166.         time(),Date/DiffTime()
  4167.  
  4168.  
  4169.  
  4170.  
  4171.  
  4172. DateClass/time/operator+()
  4173.  
  4174. NAME
  4175.         operator+() -- Add operator for time and timeduration objects (V33)
  4176.  
  4177.  
  4178. SYNOPSIS
  4179.         t = (*this) + td;
  4180.  
  4181.         time operator+(const timeduration &td) const;
  4182.  
  4183.  
  4184. FUNCTION
  4185.         Add a time object and a timeduration object to a new time object.
  4186.  
  4187.  
  4188. INPUTS
  4189.         *this - time object
  4190.         td    - timeduration object
  4191.  
  4192.  
  4193. RESULT
  4194.         t - New time object
  4195.  
  4196.  
  4197. EXAMPLE
  4198.         ...
  4199.         t1 = t2 + td;
  4200.         ...
  4201.  
  4202.  
  4203. NOTES
  4204.         None.
  4205.  
  4206.  
  4207. BUGS
  4208.         No known bugs.
  4209.  
  4210.  
  4211. SEE ALSO
  4212.         operator-(),operator+=(),operator-=(),time(),timeduration/getinsecs(),
  4213.         Date/DiffTime()
  4214.  
  4215.  
  4216.  
  4217.  
  4218. DateClass/time/operator+=()
  4219.  
  4220. NAME
  4221.         operator+=() -- Add to operator for time and timeduration objects (V33)
  4222.  
  4223.  
  4224. SYNOPSIS
  4225.         (*this) += td;
  4226.  
  4227.         const time &operator+=(const timeduration &td);
  4228.  
  4229.  
  4230. FUNCTION
  4231.         Add a timeduration object to a time object.
  4232.  
  4233.  
  4234. INPUTS
  4235.         *this - time object
  4236.         td    - timeduration object
  4237.  
  4238.  
  4239. RESULT
  4240.         *this - Modified time object
  4241.  
  4242.  
  4243. EXAMPLE
  4244.         ...
  4245.         t += td;
  4246.         ...
  4247.  
  4248.  
  4249. NOTES
  4250.         None.
  4251.  
  4252.  
  4253. BUGS
  4254.         No known bugs.
  4255.  
  4256.  
  4257. SEE ALSO
  4258.         operator+(),operator-(),operator-=(),timeduration/getinsecs(),
  4259.         Date/DiffTime()
  4260.  
  4261.  
  4262.  
  4263.  
  4264.  
  4265. DateClass/time/operator-()
  4266.  
  4267. NAME
  4268.         operator-() -- Sub operator for time objects (V33)
  4269.  
  4270.  
  4271. SYNOPSIS
  4272.         td = (*this) - t;
  4273.  
  4274.         timeduration operator-(time t) const;
  4275.  
  4276.  
  4277. FUNCTION
  4278.         Subtract time object 2 from time object 1 to a new timeduration object.
  4279.  
  4280.  
  4281. INPUTS
  4282.         *this - time object
  4283.         t     - time object
  4284.  
  4285.  
  4286. RESULT
  4287.         td - New timeduration object
  4288.  
  4289.  
  4290. EXAMPLE
  4291.         ...
  4292.         td = t1 - t2;
  4293.         ...
  4294.  
  4295.  
  4296. NOTES
  4297.         None.
  4298.  
  4299.  
  4300. BUGS
  4301.         No known bugs.
  4302.  
  4303.  
  4304. SEE ALSO
  4305.         operator+(),operator-(),timeduration(),operator[](),Date/TimeDiff(),
  4306.         Date/SecToTime()
  4307.  
  4308.  
  4309.  
  4310.  
  4311.  
  4312. DateClass/time/operator-()
  4313.  
  4314. NAME
  4315.         operator-() -- Sub operator for time and timeduration objects (V33)
  4316.  
  4317.  
  4318. SYNOPSIS
  4319.         t = (*this) - td;
  4320.  
  4321.         time operator-(const timeduration &td) const;
  4322.  
  4323.  
  4324. FUNCTION
  4325.         Subtract a timeduration object from a time object to a new time object.
  4326.  
  4327.  
  4328. INPUTS
  4329.         *this - time object
  4330.         td    - timeduration object
  4331.  
  4332.  
  4333. RESULT
  4334.         t - New time object
  4335.  
  4336.  
  4337. EXAMPLE
  4338.         ...
  4339.         t1 = t2 - td;
  4340.         ...
  4341.  
  4342.  
  4343. NOTES
  4344.         None.
  4345.  
  4346.  
  4347. BUGS
  4348.         No known bugs.
  4349.  
  4350.  
  4351. SEE ALSO
  4352.         operator+(),operator+=(),operator-=(),time(),timeduration/getinsecs(),
  4353.         Date/DiffTime(),
  4354.  
  4355.  
  4356.  
  4357.  
  4358. DateClass/time/operator-=()
  4359.  
  4360. NAME
  4361.         operator-=() -- Sub from operator for time and timeduration objs (V33)
  4362.  
  4363.  
  4364. SYNOPSIS
  4365.         (*this) -= td;
  4366.  
  4367.         const time &operator-=(const timeduration &td);
  4368.  
  4369.  
  4370. FUNCTION
  4371.         Subtract a timeduration object from a time object.
  4372.  
  4373.  
  4374. INPUTS
  4375.         *this - time object
  4376.         td    - timeduration object
  4377.  
  4378.  
  4379. RESULT
  4380.         *this - Modified time object
  4381.  
  4382.  
  4383. EXAMPLE
  4384.         ...
  4385.         t -= td;
  4386.         ...
  4387.  
  4388.  
  4389. NOTES
  4390.         None.
  4391.  
  4392.  
  4393. BUGS
  4394.         No known bugs.
  4395.  
  4396.  
  4397. SEE ALSO
  4398.         operator+(),operator-(),operator+=(),timeduration/getinsecs(),
  4399.         Date/DiffTime()
  4400.  
  4401.  
  4402.  
  4403.  
  4404. DateClass/time/operator<()
  4405.  
  4406. NAME
  4407.         operator<() -- Lower than operator for time objects (V33)
  4408.  
  4409.  
  4410. SYNOPSIS
  4411.         compare = ((*this) < t);
  4412.  
  4413.         bool operator<(time t) const;
  4414.  
  4415.  
  4416. FUNCTION
  4417.         Compares if time object 1 is lower than time object 2.
  4418.  
  4419.  
  4420. INPUTS
  4421.         *this - time object
  4422.         t     - time object
  4423.  
  4424.  
  4425. RESULT
  4426.         compare - Boolean result of the lower than compare operation
  4427.  
  4428.  
  4429. EXAMPLE
  4430.         ...
  4431.         if (t1 < t2)
  4432.           printf("<\n");
  4433.         else
  4434.           printf(">=\n");
  4435.         ...
  4436.  
  4437.  
  4438. NOTES
  4439.         None.
  4440.  
  4441.  
  4442. BUGS
  4443.         No known bugs.
  4444.  
  4445.  
  4446. SEE ALSO
  4447.         operator==(),operator!=(),operator>(),operator<=(),operator>=(),
  4448.         operator[](),Date/Compare2Times()
  4449.  
  4450.  
  4451.  
  4452.  
  4453. DateClass/time/operator<<()
  4454.  
  4455. NAME
  4456.         operator<<() -- Decrement timezone operator for time object (V33)
  4457.  
  4458.  
  4459. SYNOPSIS
  4460.         t = (*this) << subzone;
  4461.  
  4462.         time operator<<(const unsigned short subzone) const;
  4463.  
  4464.  
  4465. FUNCTION
  4466.         Decrement the timezone of a time object to a new time object.
  4467.  
  4468.  
  4469. INPUTS
  4470.         *this   - time object
  4471.         subzone - Subtract this value from the actual timezone
  4472.  
  4473.  
  4474. RESULT
  4475.         t - New time object
  4476.  
  4477.  
  4478. EXAMPLE
  4479.         ...
  4480.         t1 = t2 << 2;
  4481.         ...
  4482.  
  4483.  
  4484. NOTES
  4485.         None.
  4486.  
  4487.  
  4488. BUGS
  4489.         No known bugs.
  4490.  
  4491.  
  4492. SEE ALSO
  4493.         operator>>(),operator<<=(),operator>>=(),operator[](),operator()(),
  4494.         time(),Date/DiffTime()
  4495.  
  4496.  
  4497.  
  4498.  
  4499. DateClass/time/operator<<=()
  4500.  
  4501. NAME
  4502.         operator<<=() -- Decrement timezone operator for time object (V33)
  4503.  
  4504.  
  4505. SYNOPSIS
  4506.         (*this) <<= subzone;
  4507.  
  4508.         const time &operator<<=(const unsigned short subzone);
  4509.  
  4510.  
  4511. FUNCTION
  4512.         Decrement the timezone of a time object.
  4513.  
  4514.  
  4515. INPUTS
  4516.         *this   - time object
  4517.         subzone - Subtract this value from the actual timezone
  4518.  
  4519.  
  4520. RESULT
  4521.         *this - Modified time object
  4522.  
  4523.  
  4524. EXAMPLE
  4525.         ...
  4526.         t <<= 2;
  4527.         ...
  4528.  
  4529.  
  4530. NOTES
  4531.         None.
  4532.  
  4533.  
  4534. BUGS
  4535.         No known bugs.
  4536.  
  4537.  
  4538. SEE ALSO
  4539.         operator<<(),operator>>(),operator>>=(),operator[](),operator()(),
  4540.         Date/DiffTime()
  4541.  
  4542.  
  4543.  
  4544.  
  4545. DateClass/time/operator<=()
  4546.  
  4547. NAME
  4548.         operator<=() -- Lower or equal operator for time objects (V33)
  4549.  
  4550.  
  4551. SYNOPSIS
  4552.         compare = ((*this) <= t);
  4553.  
  4554.         bool operator<=(time t) const;
  4555.  
  4556.  
  4557. FUNCTION
  4558.         Compares if time object 1 is lower or equal than time object 2.
  4559.  
  4560.  
  4561. INPUTS
  4562.         *this - time object
  4563.         t     - time object
  4564.  
  4565.  
  4566. RESULT
  4567.         compare - Boolean result of the lower or equal compare operation
  4568.  
  4569.  
  4570. EXAMPLE
  4571.         ...
  4572.         if (t1 <= t2)
  4573.           printf("<=\n");
  4574.         else
  4575.           printf(">\n");
  4576.         ...
  4577.  
  4578.  
  4579. NOTES
  4580.         None.
  4581.  
  4582.  
  4583. BUGS
  4584.         No known bugs.
  4585.  
  4586.  
  4587. SEE ALSO
  4588.         operator==(),operator!=(),operator<(),operator>(),operator>=(),
  4589.         operator[](),Date/Compare2Times()
  4590.  
  4591.  
  4592.  
  4593.  
  4594. DateClass/time/operator==()
  4595.  
  4596. NAME
  4597.         operator==() -- Equal operator for time objects (V33)
  4598.  
  4599.  
  4600. SYNOPSIS
  4601.         compare = ((*this) == t);
  4602.  
  4603.         bool operator==(time t) const;
  4604.  
  4605.  
  4606. FUNCTION
  4607.         Compares two time objects for equality.
  4608.  
  4609.  
  4610. INPUTS
  4611.         *this - time object
  4612.         t     - time object
  4613.  
  4614.  
  4615. RESULT
  4616.         compare - Boolean result of the equal compare operation
  4617.  
  4618.  
  4619. EXAMPLE
  4620.         ...
  4621.         if (t1 == t2)
  4622.           printf("==\n");
  4623.         else
  4624.           printf("!=\n");
  4625.         ...
  4626.  
  4627.  
  4628. NOTES
  4629.         None.
  4630.  
  4631.  
  4632. BUGS
  4633.         No known bugs.
  4634.  
  4635.  
  4636. SEE ALSO
  4637.         operator!=(),operator<(),operator>(),operator<=(),operator>=(),
  4638.         operator[](),Date/Compare2Times()
  4639.  
  4640.  
  4641.  
  4642.  
  4643. DateClass/time/operator>()
  4644.  
  4645. NAME
  4646.         operator>() -- Greater than operator for time objects (V33)
  4647.  
  4648.  
  4649. SYNOPSIS
  4650.         compare = ((*this) > t);
  4651.  
  4652.         bool operator>(time t) const;
  4653.  
  4654.  
  4655. FUNCTION
  4656.         Compares if time object 1 is greater than time object 2.
  4657.  
  4658.  
  4659. INPUTS
  4660.         *this - time object
  4661.         t     - time object
  4662.  
  4663.  
  4664. RESULT
  4665.         compare - Boolean result of the greater than compare operation
  4666.  
  4667.  
  4668. EXAMPLE
  4669.         ...
  4670.         if (t1 > t2)
  4671.           printf(">\n");
  4672.         else
  4673.           printf("<=\n");
  4674.         ...
  4675.  
  4676.  
  4677. NOTES
  4678.         None.
  4679.  
  4680.  
  4681. BUGS
  4682.         No known bugs.
  4683.  
  4684.  
  4685. SEE ALSO
  4686.         operator==(),operator!=(),operator<(),operator<=(),operator>=(),
  4687.         operator[](),Date/Compare2Times()
  4688.  
  4689.  
  4690.  
  4691.  
  4692. DateClass/time/operator>=()
  4693.  
  4694. NAME
  4695.         operator>=() -- Greater or equal operator for time objects (V33)
  4696.  
  4697.  
  4698. SYNOPSIS
  4699.         compare = ((*this) >= t);
  4700.  
  4701.         bool operator>=(time t) const;
  4702.  
  4703.  
  4704. FUNCTION
  4705.         Compares if time object 1 is greater or equal than time object 2.
  4706.  
  4707.  
  4708. INPUTS
  4709.         *this - time object
  4710.         t     - time object
  4711.  
  4712.  
  4713. RESULT
  4714.         compare - Boolean result of the greater or equal compare operation
  4715.  
  4716.  
  4717. EXAMPLE
  4718.         ...
  4719.         if (t1 >= t2)
  4720.           printf(">=\n");
  4721.         else
  4722.           printf("<\n");
  4723.         ...
  4724.  
  4725.  
  4726. NOTES
  4727.         None.
  4728.  
  4729.  
  4730. BUGS
  4731.         No known bugs.
  4732.  
  4733.  
  4734. SEE ALSO
  4735.         operator==(),operator!=(),operator<(),operator>(),operator<=(),
  4736.         operator[](),Date/Compare2Times()
  4737.  
  4738.  
  4739.  
  4740.  
  4741. DateClass/time/operator>>()
  4742.  
  4743. NAME
  4744.         operator>>() -- Increment timezone operator for time object (V33)
  4745.  
  4746.  
  4747. SYNOPSIS
  4748.         t = (*this) >> addzone;
  4749.  
  4750.         time operator>>(const unsigned short addzone) const;
  4751.  
  4752.  
  4753. FUNCTION
  4754.         Increment the timezone of a time object to a new time object.
  4755.  
  4756.  
  4757. INPUTS
  4758.         *this   - time object
  4759.         addzone - Add this value to the actual timezone
  4760.  
  4761.  
  4762. RESULT
  4763.         t - New time object
  4764.  
  4765.  
  4766. EXAMPLE
  4767.         ...
  4768.         t1 = t2 >> 2;
  4769.         ...
  4770.  
  4771.  
  4772. NOTES
  4773.         None.
  4774.  
  4775.  
  4776. BUGS
  4777.         No known bugs.
  4778.  
  4779.  
  4780. SEE ALSO
  4781.         operator<<(),operator<<=(),operator>>=(),operator[](),operator()(),
  4782.         time(),Date/DiffTime()
  4783.  
  4784.  
  4785.  
  4786.  
  4787.  
  4788. DateClass/time/operator>>=()
  4789.  
  4790. NAME
  4791.         operator>>=() -- Increment timezone operator for time object (V33)
  4792.  
  4793.  
  4794. SYNOPSIS
  4795.         (*this) >>= addzone;
  4796.  
  4797.         const time &operator>>=(const unsigned short addzone);
  4798.  
  4799.  
  4800. FUNCTION
  4801.         Increment the timezone of a time object.
  4802.  
  4803.  
  4804. INPUTS
  4805.         *this   - time object
  4806.         addzone - Add this value to the actual timezone
  4807.  
  4808.  
  4809. RESULT
  4810.         *this - Modified time object
  4811.  
  4812.  
  4813. EXAMPLE
  4814.         ...
  4815.         t >>= 2;
  4816.         ...
  4817.  
  4818.  
  4819. NOTES
  4820.         None.
  4821.  
  4822.  
  4823. BUGS
  4824.         No known bugs.
  4825.  
  4826.  
  4827. SEE ALSO
  4828.         operator<<(),operator>>(),operator<<=(),operator[](),operator()(),
  4829.         Date/DiffTime()
  4830.  
  4831.  
  4832.  
  4833.  
  4834. DateClass/time/operator[]()
  4835.  
  4836. NAME
  4837.         operator[]() -- Change to timezone operator for time object (V33)
  4838.  
  4839.  
  4840. SYNOPSIS
  4841.         (*this) = (*this)[zone];
  4842.  
  4843.         const time &operator[](const short zone);
  4844.  
  4845.  
  4846. FUNCTION
  4847.         Change the timezone of a time object to another timezone.
  4848.  
  4849.  
  4850. INPUTS
  4851.         *this - time object
  4852.         zone  - Add this value to the actual timezone
  4853.  
  4854.  
  4855. RESULT
  4856.         *this - Modified time object
  4857.  
  4858.  
  4859. EXAMPLE
  4860.         ...
  4861.         t[2];
  4862.         t1 = t2[2];
  4863.         ...
  4864.  
  4865.  
  4866. NOTES
  4867.         None.
  4868.  
  4869.  
  4870. BUGS
  4871.         No known bugs.
  4872.  
  4873.  
  4874. SEE ALSO
  4875.         operator<<(),operator>>(),operator<<=(),operator>>=(),operator()(),
  4876.         Date/DiffTime()
  4877.  
  4878.  
  4879.  
  4880.  
  4881. DateClass/time/time()
  4882.  
  4883. NAME
  4884.         time() -- Constructor of time class (V33)
  4885.  
  4886.  
  4887. SYNOPSIS
  4888.         t = time(jd,zone=0);
  4889.  
  4890.         time(float jd, short zone = 0);
  4891.  
  4892.  
  4893. FUNCTION
  4894.         Constructor of the time class using the JD format.
  4895.  
  4896.  
  4897. INPUTS
  4898.         jd    - Time in JD format
  4899.         zone  - Timezone of the time
  4900.  
  4901.  
  4902. RESULT
  4903.         t - Time object
  4904.  
  4905.  
  4906. EXAMPLE
  4907.         ...
  4908.         time t(0.5,2);
  4909.         ...
  4910.  
  4911.  
  4912. NOTES
  4913.         None.
  4914.  
  4915.  
  4916. BUGS
  4917.         No known bugs.
  4918.  
  4919.  
  4920. SEE ALSO
  4921.         time(),Date/JDToTime()
  4922.  
  4923.  
  4924.  
  4925.  
  4926. DateClass/time/time()
  4927.  
  4928. NAME
  4929.         time() -- Constructor of time class (V33)
  4930.  
  4931.  
  4932. SYNOPSIS
  4933.         t = time(jd,zone=0);
  4934.  
  4935.         time(double jd, short zone = 0);
  4936.  
  4937.  
  4938. FUNCTION
  4939.         Constructor of the time class using the JD format.
  4940.  
  4941.  
  4942. INPUTS
  4943.         jd    - Time in JD format
  4944.         zone  - Timezone of the time
  4945.  
  4946.  
  4947. RESULT
  4948.         t - Time object
  4949.  
  4950.  
  4951. EXAMPLE
  4952.         ...
  4953.         time t(0.5,2);
  4954.         ...
  4955.  
  4956.  
  4957. NOTES
  4958.         None.
  4959.  
  4960.  
  4961. BUGS
  4962.         No known bugs.
  4963.  
  4964.  
  4965. SEE ALSO
  4966.         time(),Date/JDToTime()
  4967.  
  4968.  
  4969.  
  4970.  
  4971. DateClass/time/time()
  4972.  
  4973. NAME
  4974.         time() -- Constructor of time class (V33)
  4975.  
  4976.  
  4977. SYNOPSIS
  4978.         t = time(hour=0,min=0,sec=0,zone=0);
  4979.  
  4980.         time(unsigned short hour=0, unsigned short min=0, unsigned short sec=0,
  4981.             short zone=0);
  4982.  
  4983.  
  4984. FUNCTION
  4985.         Constructor of the time class.
  4986.  
  4987.  
  4988. INPUTS
  4989.         hour  - Hour of time
  4990.         min   - Min of time
  4991.         sec   - Sec of time
  4992.         zone  - Timezone of time
  4993.  
  4994.  
  4995. RESULT
  4996.         t - Time object
  4997.  
  4998.  
  4999. EXAMPLE
  5000.         ...
  5001.         time t(12,1,58,2);
  5002.         ...
  5003.  
  5004.  
  5005. NOTES
  5006.         None.
  5007.  
  5008.  
  5009. BUGS
  5010.         No known bugs.
  5011.  
  5012.  
  5013. SEE ALSO
  5014.         time()
  5015.  
  5016.  
  5017.  
  5018.  
  5019. DateClass/timeduration
  5020.  
  5021. NAME
  5022.         timeduration -- Class for time durations (V33)
  5023.  
  5024.  
  5025. FUNCTION
  5026.         This class maps the concept of time durations.
  5027.  
  5028.  
  5029. NOTES
  5030.         None.
  5031.  
  5032.  
  5033. BUGS
  5034.         No known bugs.
  5035.  
  5036.  
  5037. SEE ALSO
  5038.         dateduration,time,date
  5039.  
  5040.  
  5041.  
  5042.  
  5043. DateClass/timeduration/gethours()
  5044.  
  5045. NAME
  5046.         gethours() -- Get hours of timeduration object (V33)
  5047.  
  5048.  
  5049. SYNOPSIS
  5050.         hours = (*this).gethours();
  5051.  
  5052.         unsigned short gethours(void) const;
  5053.  
  5054.  
  5055. FUNCTION
  5056.         Gets the number of hours from the timeduration object.
  5057.  
  5058.  
  5059. INPUTS
  5060.         *this - timeduration object
  5061.  
  5062.  
  5063. RESULT
  5064.         hours - Hours of the timeduration object
  5065.  
  5066.  
  5067. EXAMPLE
  5068.         ...
  5069.         hours = td.gethours();
  5070.         ...
  5071.  
  5072.  
  5073. NOTES
  5074.         None.
  5075.  
  5076.  
  5077. BUGS
  5078.         No known bugs.
  5079.  
  5080.  
  5081. SEE ALSO
  5082.         getmins(),getsecs(),getinsecs()
  5083.  
  5084.  
  5085.  
  5086.  
  5087. DateClass/timeduration/getinsecs()
  5088.  
  5089. NAME
  5090.         getinsecs() -- Get timeduration in secs of timeduration object (V33)
  5091.  
  5092.  
  5093. SYNOPSIS
  5094.         secs = (*this).getinsecs();
  5095.  
  5096.         unsigned long getinsecs(void) const;
  5097.  
  5098.  
  5099. FUNCTION
  5100.         Gets duration of the timeduration object in seconds.
  5101.  
  5102.  
  5103. INPUTS
  5104.         *this - timeduration object
  5105.  
  5106.  
  5107. RESULT
  5108.         secs - Timeduration of the timeduration object in seconds.
  5109.  
  5110.  
  5111. EXAMPLE
  5112.         ...
  5113.         secs = td.getinsecs();
  5114.         ...
  5115.  
  5116.  
  5117. NOTES
  5118.         None.
  5119.  
  5120.  
  5121. BUGS
  5122.         No known bugs.
  5123.  
  5124.  
  5125. SEE ALSO
  5126.         gethours(),getmins(),getsecs(),Date/TimeToSec()
  5127.  
  5128.  
  5129.  
  5130.  
  5131. DateClass/timeduration/getmins()
  5132.  
  5133. NAME
  5134.         getmins() -- Get mins of timeduration object (V33)
  5135.  
  5136.  
  5137. SYNOPSIS
  5138.         mins = (*this).getmins();
  5139.  
  5140.         unsigned short getmins(void) const;
  5141.  
  5142.  
  5143. FUNCTION
  5144.         Gets the number of minutes from the timeduration object.
  5145.  
  5146.  
  5147. INPUTS
  5148.         *this - timeduration object
  5149.  
  5150.  
  5151. RESULT
  5152.         mins - Minutes of the timeduration object
  5153.  
  5154.  
  5155. EXAMPLE
  5156.         ...
  5157.         mins = td.getmins();
  5158.         ...
  5159.  
  5160.  
  5161. NOTES
  5162.         None.
  5163.  
  5164.  
  5165. BUGS
  5166.         No known bugs.
  5167.  
  5168.  
  5169. SEE ALSO
  5170.         gethours(),getsecs(),getinsecs()
  5171.  
  5172.  
  5173.  
  5174.  
  5175. DateClass/timeduration/getsecs()
  5176.  
  5177. NAME
  5178.         getsecs() -- Get secs of timeduration object (V33)
  5179.  
  5180.  
  5181. SYNOPSIS
  5182.         secs = (*this).getsecs();
  5183.  
  5184.         unsigned short getsecs(void) const;
  5185.  
  5186.  
  5187. FUNCTION
  5188.         Gets the number of seconds from the timeduration object.
  5189.  
  5190.  
  5191. INPUTS
  5192.         *this - timeduration object
  5193.  
  5194.  
  5195. RESULT
  5196.         secs - Seconds of the timeduration object
  5197.  
  5198.  
  5199. EXAMPLE
  5200.         ...
  5201.         secs = td.getsecs();
  5202.         ...
  5203.  
  5204.  
  5205. NOTES
  5206.         None.
  5207.  
  5208.  
  5209. BUGS
  5210.         No known bugs.
  5211.  
  5212.  
  5213. SEE ALSO
  5214.         gethours(),getmins(),getinsecs()
  5215.  
  5216.  
  5217.  
  5218.  
  5219. DateClass/timeduration/operator!=()
  5220.  
  5221. NAME
  5222.         operator!=() -- Unequal operator for timeduration objects (V33)
  5223.  
  5224.  
  5225. SYNOPSIS
  5226.         compare = ((*this) != td);
  5227.  
  5228.         bool operator!=(const timeduration &td) const;
  5229.  
  5230.  
  5231. FUNCTION
  5232.         Compares two timeduration objects for unequality.
  5233.  
  5234.  
  5235. INPUTS
  5236.         *this - timeduration object
  5237.         td    - timeduration object
  5238.  
  5239.  
  5240. RESULT
  5241.         compare - Boolean result of the unequal compare operation
  5242.  
  5243.  
  5244. EXAMPLE
  5245.         ...
  5246.         if (td1 != td2)
  5247.           printf("!=\n");
  5248.         else
  5249.           printf("==\n");
  5250.         ...
  5251.  
  5252.  
  5253. NOTES
  5254.         None.
  5255.  
  5256.  
  5257. BUGS
  5258.         No known bugs.
  5259.  
  5260.  
  5261. SEE ALSO
  5262.         operator==(),operator<(),operator>(),operator<=(),operator>=(),
  5263.         Date/Compare2Times()
  5264.  
  5265.  
  5266.  
  5267.  
  5268. DateClass/timeduration/operator%()
  5269.  
  5270. NAME
  5271.         operator%() -- Modulo operator for timeduration object (V33)
  5272.  
  5273.  
  5274. SYNOPSIS
  5275.         tdf = (*this) % td;
  5276.  
  5277.         unsigned long operator%(const timeduration &td) const;
  5278.  
  5279.  
  5280. FUNCTION
  5281.         Modulo devide the timeduration object by another timeduration object
  5282.         to the modulo factor.
  5283.  
  5284.  
  5285. INPUTS
  5286.         *this - timeduration object
  5287.         td    - timeduration object
  5288.  
  5289.  
  5290. RESULT
  5291.         tdf - Modulo factor
  5292.  
  5293.  
  5294. EXAMPLE
  5295.         ...
  5296.         tdf = td1 % td2;
  5297.         ...
  5298.  
  5299.  
  5300. NOTES
  5301.         None.
  5302.  
  5303.  
  5304. BUGS
  5305.         No known bugs.
  5306.  
  5307.  
  5308. SEE ALSO
  5309.         operator+(),operator-(),operator+=(),operator-=(),operator*(),
  5310.         operator/(),operator*=(),operator/=(),Date/TimeToSec()
  5311.  
  5312.  
  5313.  
  5314.  
  5315.  
  5316. DateClass/timeduration/operator*()
  5317.  
  5318. NAME
  5319.         operator*() -- Multiply operator for timeduration object (V33)
  5320.  
  5321.  
  5322. SYNOPSIS
  5323.         tdres = (*this) * tdm;
  5324.  
  5325.         timeduration operator*(const unsigned short tdm) const;
  5326.  
  5327.  
  5328. FUNCTION
  5329.         Muliply the timeeduration object with a constant value to a new
  5330.         timeduration object.
  5331.  
  5332.  
  5333. INPUTS
  5334.         *this - timeduration object
  5335.         tdm   - Multiplication factor
  5336.  
  5337.  
  5338. RESULT
  5339.         tdres - new timeduration object
  5340.  
  5341.  
  5342. EXAMPLE
  5343.         ...
  5344.         tdres = td * 2;
  5345.         ...
  5346.  
  5347.  
  5348. NOTES
  5349.         None.
  5350.  
  5351.  
  5352. BUGS
  5353.         No known bugs.
  5354.  
  5355.  
  5356. SEE ALSO
  5357.         operator+(),operator-(),operator+=(),operator-=(),operator/(),
  5358.         operator*=(),operator/=(),timeduration(),Date/TimeToSec(),
  5359.         Date/SecToTime()
  5360.  
  5361.  
  5362.  
  5363.  
  5364.  
  5365. DateClass/timeduration/operator*()
  5366.  
  5367. NAME
  5368.         operator*() -- Multiply operator for timeduration object (V33)
  5369.  
  5370.  
  5371. SYNOPSIS
  5372.         tdres = (*this) * tdm;
  5373.  
  5374.         timeduration operator*(const unsigned int tdm) const;
  5375.  
  5376.  
  5377. FUNCTION
  5378.         Muliply the timeeduration object with a constant value to a new
  5379.         timeduration object.
  5380.  
  5381.  
  5382. INPUTS
  5383.         *this - timeduration object
  5384.         tdm   - Multiplication factor
  5385.  
  5386.  
  5387. RESULT
  5388.         tdres - new timeduration object
  5389.  
  5390.  
  5391. EXAMPLE
  5392.         ...
  5393.         tdres = td * 2;
  5394.         ...
  5395.  
  5396.  
  5397. NOTES
  5398.         None.
  5399.  
  5400.  
  5401. BUGS
  5402.         No known bugs.
  5403.  
  5404.  
  5405. SEE ALSO
  5406.         operator+(),operator-(),operator+=(),operator-=(),operator/(),
  5407.         operator*=(),operator/=(),timeduration(),Date/TimeToSec(),
  5408.         Date/SecToTime()
  5409.  
  5410.  
  5411.  
  5412.  
  5413. DateClass/timeduration/operator*()
  5414.  
  5415. NAME
  5416.         operator*() -- Multiply operator for timeduration object (V33)
  5417.  
  5418.  
  5419. SYNOPSIS
  5420.         tdres = (*this) * tdm;
  5421.  
  5422.         timeduration operator*(const unsigned long tdm) const;
  5423.  
  5424.  
  5425. FUNCTION
  5426.         Muliply the timeeduration object with a constant value to a new
  5427.         timeduration object.
  5428.  
  5429.  
  5430. INPUTS
  5431.         *this - timeduration object
  5432.         tdm   - Multiplication factor
  5433.  
  5434.  
  5435. RESULT
  5436.         tdres - new timeduration object
  5437.  
  5438.  
  5439. EXAMPLE
  5440.         ...
  5441.         tdres = td * 2;
  5442.         ...
  5443.  
  5444.  
  5445. NOTES
  5446.         None.
  5447.  
  5448.  
  5449. BUGS
  5450.         No known bugs.
  5451.  
  5452.  
  5453. SEE ALSO
  5454.         operator+(),operator-(),operator+=(),operator-=(),operator/(),
  5455.         operator*=(),operator/=(),timeduration(),Date/TimeToSec(),
  5456.         Date/SecToTime()
  5457.  
  5458.  
  5459.  
  5460.  
  5461. DateClass/timeduration/operator*=()
  5462.  
  5463. NAME
  5464.         operator*=() -- Multiply with operator for timeduration object (V33)
  5465.  
  5466.  
  5467. SYNOPSIS
  5468.         (*this) *= tdm;
  5469.  
  5470.         const timeduration &operator*=(const unsigned short tdm);
  5471.  
  5472.  
  5473. FUNCTION
  5474.         Muliply the timeduration object with a constant value.
  5475.  
  5476.  
  5477. INPUTS
  5478.         *this - timeduration object
  5479.         tdm   - Multiplication factor
  5480.  
  5481.  
  5482. RESULT
  5483.         *this - Modified timeduration object
  5484.  
  5485.  
  5486. EXAMPLE
  5487.         ...
  5488.         td *= 2;
  5489.         ...
  5490.  
  5491.  
  5492. NOTES
  5493.         None.
  5494.  
  5495.  
  5496. BUGS
  5497.         No known bugs.
  5498.  
  5499.  
  5500. SEE ALSO
  5501.         operator+(),operator-(),operator+=(),operator-=(),operator*(),
  5502.         operator/(),operator/=(),Date/TimeToSec(),Date/SecToTime()
  5503.  
  5504.  
  5505.  
  5506.  
  5507.  
  5508. DateClass/timeduration/operator*=()
  5509.  
  5510. NAME
  5511.         operator*=() -- Multiply with operator for timeduration object (V33)
  5512.  
  5513.  
  5514. SYNOPSIS
  5515.         (*this) *= tdm;
  5516.  
  5517.         const timeduration &operator*=(const unsigned int tdm);
  5518.  
  5519.  
  5520. FUNCTION
  5521.         Muliply the timeduration object with a constant value.
  5522.  
  5523.  
  5524. INPUTS
  5525.         *this - timeduration object
  5526.         tdm   - Multiplication factor
  5527.  
  5528.  
  5529. RESULT
  5530.         *this - Modified timeduration object
  5531.  
  5532.  
  5533. EXAMPLE
  5534.         ...
  5535.         td *= 2;
  5536.         ...
  5537.  
  5538.  
  5539. NOTES
  5540.         None.
  5541.  
  5542.  
  5543. BUGS
  5544.         No known bugs.
  5545.  
  5546.  
  5547. SEE ALSO
  5548.         operator+(),operator-(),operator+=(),operator-=(),operator*(),
  5549.         operator/(),operator/=(),Date/TimeToSec(),Date/SecToTime()
  5550.  
  5551.  
  5552.  
  5553.  
  5554. DateClass/timeduration/operator*=()
  5555.  
  5556. NAME
  5557.         operator*=() -- Multiply with operator for timeduration object (V33)
  5558.  
  5559.  
  5560. SYNOPSIS
  5561.         (*this) *= tdm;
  5562.  
  5563.         const timeduration &operator*=(const unsigned long tdm);
  5564.  
  5565.  
  5566. FUNCTION
  5567.         Muliply the timeduration object with a constant value.
  5568.  
  5569.  
  5570. INPUTS
  5571.         *this - timeduration object
  5572.         tdm   - Multiplication factor
  5573.  
  5574.  
  5575. RESULT
  5576.         *this - Modified timeduration object
  5577.  
  5578.  
  5579. EXAMPLE
  5580.         ...
  5581.         td *= 2;
  5582.         ...
  5583.  
  5584.  
  5585. NOTES
  5586.         None.
  5587.  
  5588.  
  5589. BUGS
  5590.         No known bugs.
  5591.  
  5592.  
  5593. SEE ALSO
  5594.         operator+(),operator-(),operator+=(),operator-=(),operator*(),
  5595.         operator/(),operator/=(),Date/TimeToSec(),Date/SecToTime()
  5596.  
  5597.  
  5598.  
  5599.  
  5600. DateClass/timeduration/operator+()
  5601.  
  5602. NAME
  5603.         operator+() -- Add operator for timeduration objects (V33)
  5604.  
  5605.  
  5606. SYNOPSIS
  5607.         tdres = (*this) + td;
  5608.  
  5609.         timeduration operator+(const timeduration &td) const;
  5610.  
  5611.  
  5612. FUNCTION
  5613.         Add two timeduration objects to a new timeduration object.
  5614.  
  5615.  
  5616. INPUTS
  5617.         *this - timeduration object
  5618.         td    - timeduration object
  5619.  
  5620.  
  5621. RESULT
  5622.         tdres - new timeduration object
  5623.  
  5624.  
  5625. EXAMPLE
  5626.         ...
  5627.         tdres = td1 + td2;
  5628.         ...
  5629.  
  5630.  
  5631. NOTES
  5632.         None.
  5633.  
  5634.  
  5635. BUGS
  5636.         No known bugs.
  5637.  
  5638.  
  5639. SEE ALSO
  5640.         operator-(),operator+=(),operator-=(),timeduration(),Date/TimeToSec(),
  5641.         Date/SecToTime()
  5642.  
  5643.  
  5644.  
  5645.  
  5646. DateClass/timeduration/operator+=()
  5647.  
  5648. NAME
  5649.         operator+=() -- Add to operator for timeduration objects (V33)
  5650.  
  5651.  
  5652. SYNOPSIS
  5653.         (*this) += td;
  5654.  
  5655.         const timeduration &operator+=(const timeduration &td);
  5656.  
  5657.  
  5658. FUNCTION
  5659.         Add timeduration object 2 to timeduration object 1.
  5660.  
  5661.  
  5662. INPUTS
  5663.         *this - timeduration object
  5664.         td    - timeduration object
  5665.  
  5666.  
  5667. RESULT
  5668.         *this - modified timeduration object
  5669.  
  5670.  
  5671. EXAMPLE
  5672.         ...
  5673.         td1 += td2;
  5674.         ...
  5675.  
  5676.  
  5677. NOTES
  5678.         None.
  5679.  
  5680.  
  5681. BUGS
  5682.         No known bugs.
  5683.  
  5684.  
  5685. SEE ALSO
  5686.         operator+(),operator-(),operator-=(),Date/TimeToSec(),Date/SecToTime()
  5687.  
  5688.  
  5689.  
  5690.  
  5691.  
  5692. DateClass/timeduration/operator-()
  5693.  
  5694. NAME
  5695.         operator-() -- Sub operator for timeduration objects (V33)
  5696.  
  5697.  
  5698. SYNOPSIS
  5699.         tdres = (*this) - td;
  5700.  
  5701.         timeduration operator-(const timeduration &td) const;
  5702.  
  5703.  
  5704. FUNCTION
  5705.         Difference between two timeduration objects to a new timeduration
  5706.         object.
  5707.  
  5708.  
  5709. INPUTS
  5710.         *this - timeduration object
  5711.         td    - timeduration object
  5712.  
  5713.  
  5714. RESULT
  5715.         tdres - new timeduration object
  5716.  
  5717.  
  5718. EXAMPLE
  5719.         ...
  5720.         tdres = td1 - td2;
  5721.         ...
  5722.  
  5723.  
  5724. NOTES
  5725.         None.
  5726.  
  5727.  
  5728. BUGS
  5729.         No known bugs.
  5730.  
  5731.  
  5732. SEE ALSO
  5733.         operator+(),operator+=(),operator-=(),timeduration(),Date/TimeDiff()
  5734.         Date/SecToTime()
  5735.  
  5736.  
  5737.  
  5738.  
  5739.  
  5740. DateClass/timeduration/operator-=()
  5741.  
  5742. NAME
  5743.         operator-=() -- Sub from operator for timeduration objects (V33)
  5744.  
  5745.  
  5746. SYNOPSIS
  5747.         (*this) -= td;
  5748.  
  5749.         const timeduration &operator-=(const timeduration &td);
  5750.  
  5751.  
  5752. FUNCTION
  5753.         Difference between two timeduration objects.
  5754.  
  5755.  
  5756. INPUTS
  5757.         *this - timeduration object
  5758.         td    - timeduration object
  5759.  
  5760.  
  5761. RESULT
  5762.         *this - modified timeduration object
  5763.  
  5764.  
  5765. EXAMPLE
  5766.         ...
  5767.         td1 -= td2;
  5768.         ...
  5769.  
  5770.  
  5771. NOTES
  5772.         None.
  5773.  
  5774.  
  5775. BUGS
  5776.         No known bugs.
  5777.  
  5778.  
  5779. SEE ALSO
  5780.         operator+(),operator-(),operator+=(),Date/TimeDiff(),Date/SecToTime()
  5781.  
  5782.  
  5783.  
  5784.  
  5785. DateClass/timeduration/operator/()
  5786.  
  5787. NAME
  5788.         operator/() -- Div operator for timeduration object (V33)
  5789.  
  5790.  
  5791. SYNOPSIS
  5792.         tdres = (*this) / tdd;
  5793.  
  5794.         timeduration operator/(const unsigned short tdd) const;
  5795.  
  5796.  
  5797. FUNCTION
  5798.         Devide the timeeduration object by a constant value to a new
  5799.         timeeduration object.
  5800.         If tdd is 0 you will get back an object with a duration of 0!
  5801.  
  5802.  
  5803. INPUTS
  5804.         *this - timeduration object
  5805.         tdd   - Division factor
  5806.  
  5807.  
  5808. RESULT
  5809.         tdres - new timeduration object
  5810.  
  5811.  
  5812. EXAMPLE
  5813.         ...
  5814.         tdres = td / 2;
  5815.         ...
  5816.  
  5817.  
  5818. NOTES
  5819.         None.
  5820.  
  5821.  
  5822. BUGS
  5823.         No known bugs.
  5824.  
  5825.  
  5826. SEE ALSO
  5827.         operator+(),operator-(),operator+=(),operator-=(),operator*(),
  5828.         operator*=(),operator/=(),timeduration(),Date/TimeToSec(),
  5829.         Date/SecToTime()
  5830.  
  5831.  
  5832.  
  5833.  
  5834. DateClass/timeduration/operator/()
  5835.  
  5836. NAME
  5837.         operator/() -- Div operator for timeduration object (V33)
  5838.  
  5839.  
  5840. SYNOPSIS
  5841.         tdres = (*this) / tdd;
  5842.  
  5843.         timeduration operator/(const unsigned int tdd) const;
  5844.  
  5845.  
  5846. FUNCTION
  5847.         Devide the timeeduration object by a constant value to a new
  5848.         timeeduration object.
  5849.         If tdd is 0 you will get back an object with a duration of 0!
  5850.  
  5851.  
  5852. INPUTS
  5853.         *this - timeduration object
  5854.         tdd   - Division factor
  5855.  
  5856.  
  5857. RESULT
  5858.         tdres - new timeduration object
  5859.  
  5860.  
  5861. EXAMPLE
  5862.         ...
  5863.         tdres = td / 2;
  5864.         ...
  5865.  
  5866.  
  5867. NOTES
  5868.         None.
  5869.  
  5870.  
  5871. BUGS
  5872.         No known bugs.
  5873.  
  5874.  
  5875. SEE ALSO
  5876.         operator+(),operator-(),operator+=(),operator-=(),operator*(),
  5877.         operator*=(),operator/=(),timeduration(),Date/TimeToSec(),
  5878.         Date/SecToTime()
  5879.  
  5880.  
  5881.  
  5882.  
  5883. DateClass/timeduration/operator/()
  5884.  
  5885. NAME
  5886.         operator/() -- Div operator for timeduration object (V33)
  5887.  
  5888.  
  5889. SYNOPSIS
  5890.         tdres = (*this) / tdd;
  5891.  
  5892.         timeduration operator/(const unsigned long tdd) const;
  5893.  
  5894.  
  5895. FUNCTION
  5896.         Devide the timeeduration object by a constant value to a new
  5897.         timeeduration object.
  5898.         If tdd is 0 you will get back an object with a duration of 0!
  5899.  
  5900.  
  5901. INPUTS
  5902.         *this - timeduration object
  5903.         tdd   - Division factor
  5904.  
  5905.  
  5906. RESULT
  5907.         tdres - new timeduration object
  5908.  
  5909.  
  5910. EXAMPLE
  5911.         ...
  5912.         tdres = td / 2;
  5913.         ...
  5914.  
  5915.  
  5916. NOTES
  5917.         None.
  5918.  
  5919.  
  5920. BUGS
  5921.         No known bugs.
  5922.  
  5923.  
  5924. SEE ALSO
  5925.         operator+(),operator-(),operator+=(),operator-=(),operator*(),
  5926.         operator*=(),operator/=(),timeduration(),Date/TimeToSec(),
  5927.         Date/SecToTime()
  5928.  
  5929.  
  5930.  
  5931.  
  5932. DateClass/timeduration/operator/()
  5933.  
  5934. NAME
  5935.         operator/() -- Div operator for timeduration object (V33)
  5936.  
  5937.  
  5938. SYNOPSIS
  5939.         tdf = (*this) / td;
  5940.  
  5941.         unsigned long operator/(const timeduration &td) const;
  5942.  
  5943.  
  5944. FUNCTION
  5945.         Devide the timeduration object by another timeduration object
  5946.         to the devision factor.
  5947.  
  5948.  
  5949. INPUTS
  5950.         *this - timeduration object
  5951.         td    - timeduration object
  5952.  
  5953.  
  5954. RESULT
  5955.         tdf - Devision factor
  5956.  
  5957.  
  5958. EXAMPLE
  5959.         ...
  5960.         tdf = td1 / td2;
  5961.         ...
  5962.  
  5963.  
  5964. NOTES
  5965.         None.
  5966.  
  5967.  
  5968. BUGS
  5969.         No known bugs.
  5970.  
  5971.  
  5972. SEE ALSO
  5973.         operator+(),operator-(),operator+=(),operator-=(),operator*(),
  5974.         operator*=(),operator/=(),operator%(),Date/TimeToSec()
  5975.  
  5976.  
  5977.  
  5978.  
  5979. DateClass/timeduration/operator/=()
  5980.  
  5981. NAME
  5982.         operator/=() -- Div through operator for timeduration object (V33)
  5983.  
  5984.  
  5985. SYNOPSIS
  5986.         (*this) /= tdd;
  5987.  
  5988.         const timeduration &operator/=(const unsigned short tdd);
  5989.  
  5990.  
  5991. FUNCTION
  5992.         Devide the timeduration object by a constant value.
  5993.         If tdd is 0 you will get back an object with a duration of 0!
  5994.  
  5995.  
  5996. INPUTS
  5997.         *this - timeduration object
  5998.         tdd   - Division factor
  5999.  
  6000.  
  6001. RESULT
  6002.         *this - Modified timeduration object
  6003.  
  6004.  
  6005. EXAMPLE
  6006.         ...
  6007.         td /= 2;
  6008.         ...
  6009.  
  6010.  
  6011. NOTES
  6012.         None.
  6013.  
  6014.  
  6015. BUGS
  6016.         No known bugs.
  6017.  
  6018.  
  6019. SEE ALSO
  6020.         operator+(),operator-(),operator+=(),operator-=(),operator*(),
  6021.         operator/(),operator*=(),Date/TimeToSec(),Date/SecToTime()
  6022.  
  6023.  
  6024.  
  6025.  
  6026. DateClass/timeduration/operator/=()
  6027.  
  6028. NAME
  6029.         operator/=() -- Div through operator for timeduration object (V33)
  6030.  
  6031.  
  6032. SYNOPSIS
  6033.         (*this) /= tdd;
  6034.  
  6035.         const timeduration &operator/=(const unsigned int tdd);
  6036.  
  6037.  
  6038. FUNCTION
  6039.         Devide the timeduration object by a constant value.
  6040.         If tdd is 0 you will get back an object with a duration of 0!
  6041.  
  6042.  
  6043. INPUTS
  6044.         *this - timeduration object
  6045.         tdd   - Division factor
  6046.  
  6047.  
  6048. RESULT
  6049.         *this - Modified timeduration object
  6050.  
  6051.  
  6052. EXAMPLE
  6053.         ...
  6054.         td /= 2;
  6055.         ...
  6056.  
  6057.  
  6058. NOTES
  6059.         None.
  6060.  
  6061.  
  6062. BUGS
  6063.         No known bugs.
  6064.  
  6065.  
  6066. SEE ALSO
  6067.         operator+(),operator-(),operator+=(),operator-=(),operator*(),
  6068.         operator/(),operator*=(),Date/TimeToSec(),Date/SecToTime()
  6069.  
  6070.  
  6071.  
  6072.  
  6073. DateClass/timeduration/operator/=()
  6074.  
  6075. NAME
  6076.         operator/=() -- Div through operator for timeduration object (V33)
  6077.  
  6078.  
  6079. SYNOPSIS
  6080.         (*this) /= tdd;
  6081.  
  6082.         const timeduration &operator/=(const unsigned long tdd);
  6083.  
  6084.  
  6085. FUNCTION
  6086.         Devide the timeduration object by a constant value.
  6087.         If tdd is 0 you will get back an object with a duration of 0!
  6088.  
  6089.  
  6090. INPUTS
  6091.         *this - timeduration object
  6092.         tdd   - Division factor
  6093.  
  6094.  
  6095. RESULT
  6096.         *this - Modified timeduration object
  6097.  
  6098.  
  6099. EXAMPLE
  6100.         ...
  6101.         td /= 2;
  6102.         ...
  6103.  
  6104.  
  6105. NOTES
  6106.         None.
  6107.  
  6108.  
  6109. BUGS
  6110.         No known bugs.
  6111.  
  6112.  
  6113. SEE ALSO
  6114.         operator+(),operator-(),operator+=(),operator-=(),operator*(),
  6115.         operator/(),operator*=(),Date/TimeToSec(),Date/SecToTime()
  6116.  
  6117.  
  6118.  
  6119.  
  6120.  
  6121. DateClass/timeduration/operator<()
  6122.  
  6123. NAME
  6124.         operator<() -- Lower than operator for timeduration objects (V33)
  6125.  
  6126.  
  6127. SYNOPSIS
  6128.         compare = ((*this) < td);
  6129.  
  6130.         bool operator<(const timeduration &td) const;
  6131.  
  6132.  
  6133. FUNCTION
  6134.         Compares if timeduration object 1 is lower than timeduration object 2.
  6135.  
  6136.  
  6137. INPUTS
  6138.         *this - timeduration object
  6139.         td    - timeduration object
  6140.  
  6141.  
  6142. RESULT
  6143.         compare - Boolean result of the lower than compare operation
  6144.  
  6145.  
  6146. EXAMPLE
  6147.         ...
  6148.         if (td1 < td2)
  6149.           printf("<\n");
  6150.         else
  6151.           printf(">=\n");
  6152.         ...
  6153.  
  6154.  
  6155. NOTES
  6156.         None.
  6157.  
  6158.  
  6159. BUGS
  6160.         No known bugs.
  6161.  
  6162.  
  6163. SEE ALSO
  6164.         operator==(),operator!=(),operator>(),operator<=(),operator>=(),
  6165.         Date/Compare2Times()
  6166.  
  6167.  
  6168.  
  6169.  
  6170. DateClass/timeduration/operator<=()
  6171.  
  6172. NAME
  6173.         operator<=() -- Lower or equal operator for timeduration objects (V33)
  6174.  
  6175.  
  6176. SYNOPSIS
  6177.         compare = ((*this) <= td);
  6178.  
  6179.         bool operator<=(const timeduration &td) const;
  6180.  
  6181.  
  6182. FUNCTION
  6183.         Compares if timeduration object 1 is lower or equal than timeduration
  6184.         object 2.
  6185.  
  6186.  
  6187. INPUTS
  6188.         *this - timeduration object
  6189.         td    - timeduration object
  6190.  
  6191.  
  6192. RESULT
  6193.         compare - Boolean result of the lower or equal compare operation
  6194.  
  6195.  
  6196. EXAMPLE
  6197.         ...
  6198.         if (td1 <= td2)
  6199.           printf("<=\n");
  6200.         else
  6201.           printf(">\n");
  6202.         ...
  6203.  
  6204.  
  6205. NOTES
  6206.         None.
  6207.  
  6208.  
  6209. BUGS
  6210.         No known bugs.
  6211.  
  6212.  
  6213. SEE ALSO
  6214.         operator==(),operator!=(),operator<(),operator>(),operator>=(),
  6215.         Date/Compare2Times()
  6216.  
  6217.  
  6218.  
  6219.  
  6220. DateClass/timeduration/operator==()
  6221.  
  6222. NAME
  6223.         operator==() -- Equal operator for timeduration objects (V33)
  6224.  
  6225.  
  6226. SYNOPSIS
  6227.         compare = ((*this) == td);
  6228.  
  6229.         bool operator==(const timeduration &td) const;
  6230.  
  6231.  
  6232. FUNCTION
  6233.         Compares two timeduration objects for equality.
  6234.  
  6235.  
  6236. INPUTS
  6237.         *this - timeduration object
  6238.         td    - timeduration object
  6239.  
  6240.  
  6241. RESULT
  6242.         compare - Boolean result of the equal compare operation
  6243.  
  6244.  
  6245. EXAMPLE
  6246.         ...
  6247.         if (td1 == td2)
  6248.           printf("==\n");
  6249.         else
  6250.           printf("!=\n");
  6251.         ...
  6252.  
  6253.  
  6254. NOTES
  6255.         None.
  6256.  
  6257.  
  6258. BUGS
  6259.         No known bugs.
  6260.  
  6261.  
  6262. SEE ALSO
  6263.         operator!=(),operator<(),operator>(),operator<=(),operator>=(),
  6264.         Date/Compare2Times()
  6265.  
  6266.  
  6267.  
  6268.  
  6269.  
  6270. DateClass/timeduration/operator>()
  6271.  
  6272. NAME
  6273.         operator>() -- Greater than operator for timeduration objects (V33)
  6274.  
  6275.  
  6276. SYNOPSIS
  6277.         compare = ((*this) > td);
  6278.  
  6279.         bool operator>(const timeduration &td) const;
  6280.  
  6281.  
  6282. FUNCTION
  6283.         Compares if timeduration object 1 is greater than timeduration
  6284.         object 2.
  6285.  
  6286.  
  6287. INPUTS
  6288.         *this - timeduration object
  6289.         td    - timeduration object
  6290.  
  6291.  
  6292. RESULT
  6293.         compare - Boolean result of the greater than compare operation
  6294.  
  6295.  
  6296. EXAMPLE
  6297.         ...
  6298.         if (td1 > td2)
  6299.           printf(">\n");
  6300.         else
  6301.           printf("<=\n");
  6302.         ...
  6303.  
  6304.  
  6305. NOTES
  6306.         None.
  6307.  
  6308.  
  6309. BUGS
  6310.         No known bugs.
  6311.  
  6312.  
  6313. SEE ALSO
  6314.         operator==(),operator!=(),operator<(),operator<=(),operator>=(),
  6315.         Date/Compare2Times()
  6316.  
  6317.  
  6318.  
  6319.  
  6320. DateClass/timeduration/operator>=()
  6321.  
  6322. NAME
  6323.         operator>=() -- Greater or equal operator for timeduration objs (V33)
  6324.  
  6325.  
  6326. SYNOPSIS
  6327.         compare = ((*this) >= td);
  6328.  
  6329.         bool operator>=(const timeduration &td) const;
  6330.  
  6331.  
  6332. FUNCTION
  6333.         Compares if timeduration object 1 is greater or equal than timeduration
  6334.         object 2.
  6335.  
  6336.  
  6337. INPUTS
  6338.         *this - timeduration object
  6339.         td    - timeduration object
  6340.  
  6341.  
  6342. RESULT
  6343.         compare - Boolean result of the greater or equal compare operation
  6344.  
  6345.  
  6346. EXAMPLE
  6347.         ...
  6348.         if (td1 >= td2)
  6349.           printf(">=\n");
  6350.         else
  6351.           printf("<\n");
  6352.         ...
  6353.  
  6354.  
  6355. NOTES
  6356.         None.
  6357.  
  6358.  
  6359. BUGS
  6360.         No known bugs.
  6361.  
  6362.  
  6363. SEE ALSO
  6364.         operator==(),operator!=(),operator<(),operator>(),operator<=(),
  6365.         Date/Compare2Times()
  6366.  
  6367.  
  6368.  
  6369.  
  6370. DateClass/timeduration/timeduration()
  6371.  
  6372. NAME
  6373.         timeduration() -- Constructor of timeduration class (V33)
  6374.  
  6375.  
  6376. SYNOPSIS
  6377.         td = timeduration(jd);
  6378.  
  6379.         timeduration(float jd);
  6380.  
  6381.  
  6382. FUNCTION
  6383.         Constructor of the timeduration class using the JD format.
  6384.  
  6385.  
  6386. INPUTS
  6387.         jd - Timeduration in JD format
  6388.  
  6389.  
  6390. RESULT
  6391.         td - Timeduration object
  6392.  
  6393.  
  6394. EXAMPLE
  6395.         ...
  6396.         timeduration td(0.5);
  6397.         ...
  6398.  
  6399.  
  6400. NOTES
  6401.         None.
  6402.  
  6403.  
  6404. BUGS
  6405.         No known bugs.
  6406.  
  6407.  
  6408. SEE ALSO
  6409.         timeduration(),Date/JDToTime()
  6410.  
  6411.  
  6412.  
  6413.  
  6414. DateClass/timeduration/timeduration()
  6415.  
  6416. NAME
  6417.         timeduration() -- Constructor of timeduration class (V33)
  6418.  
  6419.  
  6420. SYNOPSIS
  6421.         td = timeduration(jd);
  6422.  
  6423.         timeduration(double jd);
  6424.  
  6425.  
  6426. FUNCTION
  6427.         Constructor of the timeduration class using the JD format.
  6428.  
  6429.  
  6430. INPUTS
  6431.         jd - Timeduration in JD format
  6432.  
  6433.  
  6434. RESULT
  6435.         td - Timeduration object
  6436.  
  6437.  
  6438. EXAMPLE
  6439.         ...
  6440.         timeduration td(0.5);
  6441.         ...
  6442.  
  6443.  
  6444. NOTES
  6445.         None.
  6446.  
  6447.  
  6448. BUGS
  6449.         No known bugs.
  6450.  
  6451.  
  6452. SEE ALSO
  6453.         timeduration(),Date/JDToTime()
  6454.  
  6455.  
  6456.  
  6457.  
  6458. DateClass/timeduration/timeduration()
  6459.  
  6460. NAME
  6461.         timeduration() -- Constructor of timeduration class (V33)
  6462.  
  6463.  
  6464. SYNOPSIS
  6465.         td = timeduration(hours=0,mins=0,secs=0);
  6466.  
  6467.         timeduration(unsigned short hours=0, unsigned short mins=0,
  6468.             unsigned short secs=0);
  6469.  
  6470.  
  6471. FUNCTION
  6472.         Constructor of the timeduration class.
  6473.  
  6474.  
  6475. INPUTS
  6476.         hours - Hours of a timeduration
  6477.         mins  - Mins of a timeduration
  6478.         secs  - Secs of a timeduration
  6479.  
  6480.  
  6481. RESULT
  6482.         td - Timeduration object
  6483.  
  6484.  
  6485. EXAMPLE
  6486.         ...
  6487.         timeduration td(2,30,0);
  6488.         ...
  6489.  
  6490.  
  6491. NOTES
  6492.         None.
  6493.  
  6494.  
  6495. BUGS
  6496.         No known bugs.
  6497.  
  6498.  
  6499. SEE ALSO
  6500.         timeduration(),Date/SecToTime()
  6501.  
  6502.  
  6503.  
  6504.