Changeset 157 for trunk/SRC/Calendar


Ignore:
Timestamp:
08/21/06 11:01:50 (18 years ago)
Author:
navarro
Message:

header improvements + xxx doc

Location:
trunk/SRC/Calendar
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Calendar/date2jul.pro

    r137 r157  
    77; gives Julian day equivalent of a date in yyyymmdd format 
    88; 
    9 ; @categories calendar 
     9; @categories 
     10; Calendar 
    1011; 
    1112; @param date {in}{required}  
  • trunk/SRC/Calendar/date2string.pro

    r137 r157  
    55; create a nice and readable format to print a date 
    66; 
    7 ; @categories calendar, string 
     7; @categories  
     8; Calendar, String 
    89; 
    910; @param yyyymmdd {in}{required}  
  • trunk/SRC/Calendar/daysinmonth.pro

    r155 r157  
    77; give the number of days in a specific month 
    88; 
    9 ; @categories calendar 
     9; @categories  
     10; Calendar 
    1011; 
    11 ; @param month {in}{optional}{default=from "time" common variable of cm_4cal} 
    12 ; Scalar or array giving the month number for which we want to know the 
    13 ; number of days  
    14 ; 
    15 ; @param year {in}{optional}{default=from "time" common variable of cm_4cal} 
    16 ; To specify the year of the month. Used only if the common variable 
     12; @param YEAR {in}{optional}{default=from "time" common variable of cm_4cal} 
     13; To specify the year of the onth. Used only if the common variable 
    1714; key_caltype = 'greg'. In that case, month and year must have the same 
    1815; number of elements. 
     16; 
     17; @param MONTH  
    1918; 
    2019; @returns  
    2120; number of days in a month or -1 in case of error 
    2221; 
    23 ; @uses cm_4cal, updatenew 
     22; @uses  
     23; cm_4cal, updatenew 
    2424; 
    2525; @examples 
     
    2727; 
    2828; @history  
    29 ; 2/7/98 Sebastien Masson (smasson\@lodyc.jussieu.fr)  
     29; Sebastien Masson (smasson\@lodyc.jussieu.fr) 
     30; 2/7/98 
    3031; update/review/english/new commons: June 2005 Sebastien Masson. 
    3132; 
    32 ; @version $Id$ 
     33; @version  
     34; $Id$ 
    3335; 
    3436;- 
     
    4951  IF n_elements(key_caltype) EQ 0 THEN key_caltype = 'greg' 
    5052  CASE key_caltype OF 
    51     '360d':BEGIN 
    52       if n_elements(month) GT 1 THEN res = replicate(30, n_elements(month)) $ 
    53       ELSE res = replicate(30, n_elements(time)) 
    54       IF n_elements(res) EQ 1 THEN res = res[0] 
    55       return, res 
    56     END 
     53    '360d': if n_elements(month) GT 1 THEN $ 
     54        return, replicate(30, n_elements(month)) ELSE return, 30 
    5755    'noleap':BEGIN 
    5856      days_in_mth = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31] 
  • trunk/SRC/Calendar/jul2date.pro

    r137 r157  
    55; gives yyyymmdd date equivalent of a Julian day 
    66; 
    7 ; @categories calendar 
     7; @categories  
     8; Calendar 
    89; 
    910; @param jday {in}{required}  
  • trunk/SRC/Calendar/leapyr.pro

    r137 r157  
    77; eg. NUM_DAYS_IN_YR = 365 + leapyr(year) 
    88; 
    9 ; @categories calendar 
     9; @categories  
     10; Calendar 
    1011; 
    1112; @param year {in}{required}  
  • trunk/SRC/Calendar/monthname.pro

    r137 r157  
    55; gives the name of a month 
    66; 
    7 ; @categories calendar, string 
     7; @categories  
     8; Calendar,String 
    89; 
    910; @param month {in}{required}  
Note: See TracChangeset for help on using the changeset viewer.