Ignore:
Timestamp:
06/07/06 19:12:14 (18 years ago)
Author:
pinsard
Message:

start to modify headers of Calendar and Utilities *.pro files for bet
ter idldoc output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Documentation/idldoc_html_output/Calendar/leapyr.html

    r89 r93  
    102102        <div class="routine_details" id="_leapyr"> 
    103103 
    104           <h2><a class="top" href="#container">top</a>leapyr </h2> 
     104          <h2><a class="top" href="#container">top</a>leapyr <span class="categories"> calendar 
     105</span></h2> 
    105106         
    106107          <p class="header"> 
    107108            <span class="result">result = </span>leapyr(<span class="result"><a href="#_leapyr_param_year">year</a></span>)</p> 
    108109         
    109           <div class="comments"></div> 
     110          <div class="comments"> 
    110111 
    111            
     112 determine whether the input year is a leap year or not 
     113 Very useful for finding number of days in a year. 
     114 eg. NUM_DAYS_IN_YR = 365 + leapyr(year) 
     115</div> 
     116 
     117          <h3>Return value</h3><div class="value"> 0 then not a leap year  
     118          1 then year is a leap year 
     119</div> 
    112120 
    113121           
     
    116124             
    117125            <h4 id="_leapyr_param_year">year&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     126              <span class="attr">in</span> 
    118127               
    119128               
    120                
    121                
     129              <span class="attr">required</span> 
    122130               
    123131               
     
    126134            </h4> 
    127135         
    128           <div class="comments"></div> 
     136          <div class="comments"> year to be tested as a leap year 
     137</div> 
    129138             
    130139 
     
    133142           
    134143 
     144          <h3>Examples</h3><div class="value"> 
     145 IDL> result = leapyr(2000) 
     146</div> 
     147          <h3>Version history</h3> 
    135148           
    136149           
    137            
    138            
    139            
     150          <h4>History</h4><div class="value"> 
     151 
     152 Originally Written by: Trevor Harris, Physics Dept., University of Adelaide, 
     15320/09/88 
     154 
     155       November 2004: correction for century years... S. Masson; 
     156 
     157       Every year divisible by 4 is a leap year.  
     158       But every year divisible by 100 is NOT a leap year  
     159       Unless the year is also divisible by 400, then it is still a 
     160       leap year. 
     161       This means that year 1800, 1900, 2100, 2200, 2300 and 2500 are 
     162       NOT leap years, while year 2000 and 2400 are leap years.  
     163       + supress the automatic change 89 -> 1989 
     164 
     165       June 2005 update for new commons, Sebastien Masson. 
     166</div> 
    140167           
    141168           
     
    146173           
    147174         
     175          <h3>Other attributes</h3> 
    148176           
    149177           
    150            
    151            
     178          <h4>Uses routines</h4><div class="value"> cm_4cal 
     179</div> 
    152180           
    153181           
Note: See TracChangeset for help on using the changeset viewer.