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/Calendar/leapyr.pro

    r9 r93  
    11;----------------------------------------------------------------- 
    2 function leapyr, year 
    32;+ 
    4 ; NAME:                 leapyr 
    53; 
    6 ; PURPOSE:              determine whether the input year is a leap year or not 
    7 ;                       Very useful for finding number of days in a year. 
    8 ;                       eg. NUM_DAYS_IN_YR = 365 + leapyr(year) 
     4; determine whether the input year is a leap year or not 
     5; Very useful for finding number of days in a year. 
     6; eg. NUM_DAYS_IN_YR = 365 + leapyr(year) 
    97; 
    10 ; CATEGORY:             Utility 
     8; @categories calendar 
    119; 
    12 ; CALLING SEQUENCE:     result = leapyr(year) 
     10; @param year {in}{required} year to be tested as a leap year 
    1311; 
    14 ; INPUTS:               year    = test if year is a leap year  
     12; @returns 0 then not a leap year  
     13;          1 then year is a leap year 
    1514; 
    16 ; OUTPUTS:              result  = 0 then not a leap year 
    17 ;                               = 1 then year is a leap year 
     15; @uses cm_4cal 
    1816; 
    19 ; COMMON BLOCKS: cm_4cal 
     17; @examples 
     18; IDL> result = leapyr(2000) 
    2019; 
    21 ; SIDE EFFECTS: 
    22 ;       none. 
    23 ; MODIFICATION HISTORY: 
     20; @history 
    2421; 
    25 ;       Originally Written by: Trevor Harris, Physics Dept., University of Adelaide, 
    26 ;               20/09/88 
     22; Originally Written by: Trevor Harris, Physics Dept., University of Adelaide, 
     23;20/09/88 
    2724; 
    2825;       November 2004: correction for century years... S. Masson; 
     
    4037;- 
    4138;------------------------------------------------------------ 
     39function leapyr, year 
    4240; include commons 
    4341@cm_4cal 
    44 ;------------------------------------------------------------    
    4542  yr = long(year) 
    4643  IF n_elements(key_caltype) EQ 0 THEN key_caltype = 'greg' 
Note: See TracChangeset for help on using the changeset viewer.