Changeset 93 for trunk/SRC/Calendar/daysinmonth.pro
- Timestamp:
- 06/07/06 19:12:14 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Calendar/daysinmonth.pro
r9 r93 3 3 ;------------------------------------------------------------ 4 4 ;+ 5 ; NAME:daysinmonth6 5 ; 7 ; PURPOSE:give the nomber of days in a specefic month6 ; give the number of days in a specific month 8 7 ; 9 ; CATEGORY: calandar8 ; @categories calendar 10 9 ; 11 ; CALLING SEQUENCE: ndays = daysinmonth([month[, year]])12 10 ; 13 ; INPUTS (optionnal): month and year. Year is used only if the 14 ; common variable key_caltype = 'greg'. In that case, month 15 ; and year must have the same number of elements. if not 16 ; provided, we take month and year from "time" common variable. 11 ; @param month {in}{optional} 12 ; @param year {in}{optional} 13 ; Year is used only if the common variable key_caltype = 'greg'. 14 ; In that case, month and year must have the same number of elements. 15 ; If not provided, we take month and year from "time" common variable. 17 16 ; 18 ; KEYWORD PARAMETERS:17 ; @returns number of days in a month or -1 in case of error 19 18 ; 20 ; OUTPUTS: 19 ; @uses cm_4cal 20 ; 21 ; @examples 22 ; IDL> ndays = daysinmonth(2, 2000) 21 23 ; 22 ; COMMON BLOCKS: cm_4cal 23 ; 24 ; SIDE EFFECTS: return -1 in case of error 25 ; 26 ; RESTRICTIONS: 27 ; 28 ; EXAMPLE: 29 ; 30 ; MODIFICATION HISTORY: Sebastien Masson (smasson@lodyc.jussieu.fr) 24 ; @history Sebastien Masson (smasson\@lodyc.jussieu.fr) 31 25 ; 2/7/98 32 26 ; update/review/english/new commons: June 2005 Sebastien Masson.
Note: See TracChangeset
for help on using the changeset viewer.