Changeset 138 for trunk/SRC/Documentation/idldoc_html_output/Calendar
- Timestamp:
- 07/12/06 11:52:09 (18 years ago)
- Location:
- trunk/SRC/Documentation/idldoc_html_output/Calendar
- Files:
-
- 2 added
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Documentation/idldoc_html_output/Calendar/date2jul.html
r119 r138 328 328 table.variables td.image { width: 64px; } 329 329 330 div#file_comments { 330 div#file_comments { white-space: pre; 331 331 margin: 2em; 332 332 font-size: 80%; … … 681 681 <div id="secondary_navbar"> 682 682 683 << prev file| <a href="date2string.html?format=raw">next file >></a> <a href="date2jul.html?format=raw" target="_TOP">view single page</a> | <a href="./../index.html?format=raw" target="_TOP">view frames</a> summary: fields | routine details: <a href="#routine_details">routine</a>683 <a href="caldat.html?format=raw"><<prev file</a> | <a href="date2string.html?format=raw">next file >></a> <a href="date2jul.html?format=raw" target="_TOP">view single page</a> | <a href="./../index.html?format=raw" target="_TOP">view frames</a> summary: fields | routine details: <a href="#routine_details">routine</a> 684 684 685 685 </div> … … 696 696 </div> 697 697 698 <div id="file_comments"> gives julian day equivalent of a date in yyyymmdd format 698 <div id="file_comments"> 699 gives Julian day equivalent of a date in yyyymmdd format 699 700 </div> 700 701 … … 716 717 717 718 <p class="header"> 718 <span class="result">result = </span>date2jul(<span class="result"><a href="#_date2jul_param_date">date</a></span> [, <a href="#_date2jul_keyword_GRADS">GRADS</a>=<span class="result">GRADS</span>])</p>719 <span class="result">result = </span>date2jul(<span class="result"><a href="#_date2jul_param_date">date</a></span>, <a href="#_date2jul_keyword_GRADS">GRADS</a>=<span class="result">GRADS</span>)</p> 719 720 720 721 <div class="comments"> 721 722 </div> 722 723 723 <h3>Return value</h3><div class="value"> date in julian day 724 <h3>Return value</h3><div class="preformat"> 725 date in Julian day 724 726 </div> 725 727 … … 739 741 </h4> 740 742 741 <div class="comments"> date in yyyymmdd format 743 <div class="comments"> 744 date in yyyymmdd format 742 745 </div> 743 746 … … 750 753 751 754 <h4 id="_date2jul_keyword_GRADS">GRADS 752 <span class="attr">in</span>753 754 <span class="attr">optional</span>755 756 757 755 758 756 759 … … 760 763 </h4> 761 764 762 <div class="comments"> 763 764 765 <div class="comments"> 766 if 1 <= year <= 49 --> year = 2000 + year 767 if 50 <= year <= 99 --> year = 1900 + year 765 768 </div> 766 769 767 770 768 771 769 <h3>Examples</h3><div class=" value">770 771 772 IDL> print, date2jul(19931205) EQ julday(12,5,1993)772 <h3>Examples</h3><div class="preformat"> 773 774 IDL> jday = juldate(19930124) 775 IDL> print, date2jul(19931205) EQ julday(12,5,1993) 773 776 1 774 IDL> print, date2jul(931205,/grads) EQ julday(12,5,1993)777 IDL> print, date2jul(931205,/grads) EQ julday(12,5,1993) 775 778 1 776 779 </div> 777 780 <h3>Version history</h3> 778 781 779 <h4>Version</h4><div class=" value"> $Id: date2jul.pro 118 2006-06-27 15:47:06Z pinsard$780 </div> 781 <h4>History</h4><div class=" value"> Sebastien Masson (smasson@lodyc.jussieu.fr)782 782 <h4>Version</h4><div class="preformat"> $Id: date2jul.pro 137 2006-07-12 09:33:44Z smasson $ 783 </div> 784 <h4>History</h4><div class="preformat"> 785 Sebastien Masson (smasson@lodyc.jussieu.fr) June 2005 783 786 </div> 784 787 -
trunk/SRC/Documentation/idldoc_html_output/Calendar/date2string.html
r119 r138 328 328 table.variables td.image { width: 64px; } 329 329 330 div#file_comments { 330 div#file_comments { white-space: pre; 331 331 margin: 2em; 332 332 font-size: 80%; … … 696 696 </div> 697 697 698 <div id="file_comments"> create a nice and readable format to print a date 699 700 keyword parameters of string function to specify the format of the month (the C format) can be used 698 <div id="file_comments"> 699 create a nice and readable format to print a date 701 700 </div> 702 701 … … 723 722 </div> 724 723 725 <h3>Return value</h3><div class="value"> a string containing the date in a easy readable format 724 <h3>Return value</h3><div class="preformat"> 725 a string containing the date in a easy readable format with the 726 same number of elements than yyyymmdd. 726 727 </div> 727 728 … … 741 742 </h4> 742 743 743 <div class="comments"> the date in the format yyyymmdd 744 <div class="comments"> 745 the date in the format yyyymmdd. Can be scalar or array 744 746 </div> 745 747 … … 762 764 </h4> 763 765 764 <div class="comments"> used to pass your keywords to the created procedure. 766 <div class="comments"> 767 used to pass your keywords to other procedures, for example 768 keyword FORMAT of string function (see example bellow) 765 769 </div> 766 770 767 771 768 772 769 <h3>Examples</h3><div class=" value">770 771 773 <h3>Examples</h3><div class="preformat"> 774 775 IDL> print, date2string(19900123) 772 776 Jan 23, 1990 773 777 IDL> print, date2string(19900123, format = '(C(CMOA))') 774 778 JAN 23, 1990 775 779 </div> 776 780 <h3>Version history</h3> 777 781 778 <h4>Version</h4><div class=" value"> $Id: date2string.pro 118 2006-06-27 15:47:06Z pinsard$779 </div> 780 <h4>History</h4><div class=" value"> Sebastien Masson (smasson@lodyc.jussieu.fr)782 <h4>Version</h4><div class="preformat"> $Id: date2string.pro 137 2006-07-12 09:33:44Z smasson $ 783 </div> 784 <h4>History</h4><div class="preformat"> Sebastien Masson (smasson@lodyc.jussieu.fr) 781 785 Creation ??? 782 786 update/review June 2005 Sebastien Masson. -
trunk/SRC/Documentation/idldoc_html_output/Calendar/daysinmonth.html
r119 r138 328 328 table.variables td.image { width: 64px; } 329 329 330 div#file_comments { 330 div#file_comments { white-space: pre; 331 331 margin: 2em; 332 332 font-size: 80%; … … 696 696 </div> 697 697 698 <div id="file_comments"> give the number of days in a specific month 698 <div id="file_comments"> 699 give the number of days in a specific month 699 700 </div> 700 701 … … 716 717 717 718 <p class="header"> 718 <span class="result">result = </span>daysinmonth(<span class="result"> [<a href="#_daysinmonth_param_month">month</a>][, <a href="#_daysinmonth_param_year">year</a>]</span>)</p>719 <span class="result">result = </span>daysinmonth(<span class="result"><a href="#_daysinmonth_param_month">month</a>[, <a href="#_daysinmonth_param_year">year</a>]</span>)</p> 719 720 720 721 <div class="comments"> 721 722 </div> 722 723 723 <h3>Return value</h3><div class="value"> number of days in a month or -1 in case of error 724 <h3>Return value</h3><div class="preformat"> 725 number of days in a month or -1 in case of error 724 726 </div> 725 727 … … 729 731 730 732 <h4 id="_daysinmonth_param_month">month 731 <span class="attr">in</span>732 733 <span class="attr">optional</span>733 734 735 734 736 735 737 … … 739 741 </h4> 740 742 741 <div class="comments"> 743 <div class="comments"></div> 742 744 743 745 <h4 id="_daysinmonth_param_year">year … … 748 750 749 751 750 752 <span class="attr">default:</span> <span class="value">from "time" common variable of cm_4cal</span> 751 753 752 754 </h4> 753 755 754 <div class="comments"> 755 Year is used only if the common variable key_caltype = 'greg'.756 In that case, month and year must have the same number of elements.757 If not provided, we take month and year from "time" common variable.756 <div class="comments"> 757 To specify the year of the onth. Used only if the common variable 758 key_caltype = 'greg'. In that case, month and year must have the same 759 number of elements. 758 760 </div> 759 761 … … 763 765 764 766 765 <h3>Examples</h3><div class=" value">767 <h3>Examples</h3><div class="preformat"> 766 768 IDL> ndays = daysinmonth(2, 2000) 767 769 </div> 768 770 <h3>Version history</h3> 769 771 770 <h4>Version</h4><div class=" value"> $Id: daysinmonth.pro 118 2006-06-27 15:47:06Z pinsard$771 </div> 772 <h4>History</h4><div class=" value"> Sebastien Masson (smasson@lodyc.jussieu.fr)773 772 <h4>Version</h4><div class="preformat"> $Id: daysinmonth.pro 137 2006-07-12 09:33:44Z smasson $ 773 </div> 774 <h4>History</h4><div class="preformat"> Sebastien Masson (smasson@lodyc.jussieu.fr) 775 2/7/98 774 776 update/review/english/new commons: June 2005 Sebastien Masson. 775 777 </div> … … 785 787 786 788 787 <h4>Uses routines</h4><div class=" value"> cm_4cal788 789 <h4>Uses routines</h4><div class="preformat"> cm_4cal, updatenew 790 </div> 789 791 790 792 -
trunk/SRC/Documentation/idldoc_html_output/Calendar/dir-files.html
r109 r138 65 65 <ul> 66 66 67 <li><a href="caldat.html?format=raw" target="file_frame">caldat.pro</a></li> 67 68 <li><a href="date2jul.html?format=raw" target="file_frame">date2jul.pro</a></li> 68 69 <li><a href="date2string.html?format=raw" target="file_frame">date2string.pro</a></li> 69 70 <li><a href="daysinmonth.html?format=raw" target="file_frame">daysinmonth.pro</a></li> 70 71 <li><a href="jul2date.html?format=raw" target="file_frame">jul2date.pro</a></li> 72 <li><a href="julday.html?format=raw" target="file_frame">julday.pro</a></li> 71 73 <li><a href="leapyr.html?format=raw" target="file_frame">leapyr.pro</a></li> 72 74 <li><a href="monthname.html?format=raw" target="file_frame">monthname.pro</a></li> 73 75 </ul> 74 76 75 <div id="tagline"> 6files</div>77 <div id="tagline">8 files</div> 76 78 77 79 -
trunk/SRC/Documentation/idldoc_html_output/Calendar/directory-overview.html
r111 r138 328 328 table.variables td.image { width: 64px; } 329 329 330 div#file_comments { 330 div#file_comments { white-space: pre; 331 331 margin: 2em; 332 332 font-size: 80%; … … 698 698 <dl> 699 699 700 <dt><a href="caldat.html?format=raw">caldat.pro</a></dt> 701 <dd> Return the calendar date and time given julian date.</dd> 702 700 703 <dt><a href="date2jul.html?format=raw">date2jul.pro</a></dt> 701 <dd> gives julian day equivalent of a date in yyyymmdd format</dd>704 <dd> gives Julian day equivalent of a date in yyyymmdd format </dd> 702 705 703 706 <dt><a href="date2string.html?format=raw">date2string.pro</a></dt> 704 <dd> create a nice and readable format to print a date keyword parameters of string function to specify the format of the month (the C format) can be used</dd>707 <dd> create a nice and readable format to print a date </dd> 705 708 706 709 <dt><a href="daysinmonth.html?format=raw">daysinmonth.pro</a></dt> 707 <dd> give the number of days in a specific month </dd>710 <dd> give the number of days in a specific month </dd> 708 711 709 712 <dt><a href="jul2date.html?format=raw">jul2date.pro</a></dt> 710 <dd> gives yyyymmdd date equivalent of a julian day </dd> 713 <dd> gives yyyymmdd date equivalent of a Julian day </dd> 714 715 <dt><a href="julday.html?format=raw">julday.pro</a></dt> 716 <dd> Calculate the Julian Day Number for a given month, day, and year.</dd> 711 717 712 718 <dt><a href="leapyr.html?format=raw">leapyr.pro</a></dt> 713 <dd> determine whether the input year is a leap year or not Very useful for finding number of days in a year.</dd>719 <dd> determine whether the input year is a leap year or not Very useful for finding number of days in a year.</dd> 714 720 715 721 <dt><a href="monthname.html?format=raw">monthname.pro</a></dt> 716 <dd> gives the name of a month keyword parameters of string function to specify the format of the month (the C format) can be used.</dd>722 <dd> gives the name of a month </dd> 717 723 718 724 </dl> -
trunk/SRC/Documentation/idldoc_html_output/Calendar/jul2date.html
r119 r138 328 328 table.variables td.image { width: 64px; } 329 329 330 div#file_comments { 330 div#file_comments { white-space: pre; 331 331 margin: 2em; 332 332 font-size: 80%; … … 681 681 <div id="secondary_navbar"> 682 682 683 <a href="daysinmonth.html?format=raw"><<prev file</a> | <a href=" leapyr.html?format=raw">next file >></a> <a href="jul2date.html?format=raw" target="_TOP">view single page</a> | <a href="./../index.html?format=raw" target="_TOP">view frames</a> summary: fields | routine details: <a href="#routine_details">routine</a>683 <a href="daysinmonth.html?format=raw"><<prev file</a> | <a href="julday.html?format=raw">next file >></a> <a href="jul2date.html?format=raw" target="_TOP">view single page</a> | <a href="./../index.html?format=raw" target="_TOP">view frames</a> summary: fields | routine details: <a href="#routine_details">routine</a> 684 684 685 685 </div> … … 696 696 </div> 697 697 698 <div id="file_comments"> gives yyyymmdd date equivalent of a julian day 698 <div id="file_comments"> 699 gives yyyymmdd date equivalent of a Julian day 699 700 </div> 700 701 … … 721 722 </div> 722 723 723 <h3>Return value</h3><div class="value"> date in yyyymmdd format 724 <h3>Return value</h3><div class="preformat"> 725 date in yyyymmdd format 724 726 </div> 725 727 … … 739 741 </h4> 740 742 741 <div class="comments"> julian day 743 <div class="comments"> 744 Julian day 742 745 </div> 743 746 … … 747 750 748 751 749 <h3>Examples</h3><div class=" value">750 751 752 <h3>Examples</h3><div class="preformat"> 753 754 IDL> print, jul2date(julday(12,23,1999)) 752 755 19991223 753 756 </div> 754 757 <h3>Version history</h3> 755 758 756 <h4>Version</h4><div class=" value"> $Id: jul2date.pro 118 2006-06-27 15:47:06Z pinsard$757 </div> 758 <h4>History</h4><div class=" value"> Sebastien Masson (smasson@lodyc.jussieu.fr)759 <h4>Version</h4><div class="preformat"> $Id: jul2date.pro 137 2006-07-12 09:33:44Z smasson $ 760 </div> 761 <h4>History</h4><div class="preformat"> Sebastien Masson (smasson@lodyc.jussieu.fr) 759 762 June 2005 760 763 </div> -
trunk/SRC/Documentation/idldoc_html_output/Calendar/leapyr.html
r119 r138 328 328 table.variables td.image { width: 64px; } 329 329 330 div#file_comments { 330 div#file_comments { white-space: pre; 331 331 margin: 2em; 332 332 font-size: 80%; … … 681 681 <div id="secondary_navbar"> 682 682 683 <a href="jul 2date.html?format=raw"><<prev file</a> | <a href="monthname.html?format=raw">next file >></a> <a href="leapyr.html?format=raw" target="_TOP">view single page</a> | <a href="./../index.html?format=raw" target="_TOP">view frames</a> summary: fields | routine details: <a href="#routine_details">routine</a>683 <a href="julday.html?format=raw"><<prev file</a> | <a href="monthname.html?format=raw">next file >></a> <a href="leapyr.html?format=raw" target="_TOP">view single page</a> | <a href="./../index.html?format=raw" target="_TOP">view frames</a> summary: fields | routine details: <a href="#routine_details">routine</a> 684 684 685 685 </div> … … 696 696 </div> 697 697 698 <div id="file_comments"> determine whether the input year is a leap year or not 698 <div id="file_comments"> 699 determine whether the input year is a leap year or not 699 700 Very useful for finding number of days in a year. 700 701 eg. NUM_DAYS_IN_YR = 365 + leapyr(year) … … 723 724 </div> 724 725 725 <h3>Return value</h3><div class="value"> 0 then not a leap year 726 1 then year is a leap year 726 <h3>Return value</h3><div class="preformat"> 727 0 then not a leap year, 1 then year is a leap year 728 with the same number of elements than year. 727 729 </div> 728 730 … … 742 744 </h4> 743 745 744 <div class="comments"> year to be tested as a leap year 746 <div class="comments"> 747 year to be tested as a leap year. Can be scalar or array 745 748 </div> 746 749 … … 750 753 751 754 752 <h3>Examples</h3><div class=" value">755 <h3>Examples</h3><div class="preformat"> 753 756 IDL> result = leapyr(2000) 754 757 </div> 755 758 <h3>Version history</h3> 756 759 757 <h4>Version</h4><div class=" value"> $Id: leapyr.pro 118 2006-06-27 15:47:06Z pinsard$758 </div> 759 <h4>History</h4><div class=" value">760 <h4>Version</h4><div class="preformat"> $Id: leapyr.pro 137 2006-07-12 09:33:44Z smasson $ 761 </div> 762 <h4>History</h4><div class="preformat"> 760 763 761 764 Originally Written by: Trevor Harris, Physics Dept., University of Adelaide, 762 765 20/09/88 763 766 764 November 2004: correction for century years... S. Masson; 765 766 Every year divisible by 4 is a leap year. 767 But every year divisible by 100 is NOT a leap year 768 Unless the year is also divisible by 400, then it is still a 769 leap year. 770 This means that year 1800, 1900, 2100, 2200, 2300 and 2500 are 771 NOT leap years, while year 2000 and 2400 are leap years. 772 + supress the automatic change 89 -> 1989 773 774 June 2005 update for new commons, Sebastien Masson. 775 767 November 2004: correction for century years... S. Masson; 768 769 Every year divisible by 4 is a leap year. 770 But every year divisible by 100 is NOT a leap year 771 Unless the year is also divisible by 400, then it is still a 772 leap year. 773 This means that year 1800, 1900, 2100, 2200, 2300 and 2500 are 774 NOT leap years, while year 2000 and 2400 are leap years. 775 + supress the automatic change 89 -> 1989 776 777 June 2005 update for new commons, Sebastien Masson. 776 778 </div> 777 779 … … 786 788 787 789 788 <h4>Uses routines</h4><div class=" value"> cm_4cal790 <h4>Uses routines</h4><div class="preformat"> cm_4cal 789 791 </div> 790 792 -
trunk/SRC/Documentation/idldoc_html_output/Calendar/monthname.html
r119 r138 328 328 table.variables td.image { width: 64px; } 329 329 330 div#file_comments { 330 div#file_comments { white-space: pre; 331 331 margin: 2em; 332 332 font-size: 80%; … … 696 696 </div> 697 697 698 <div id="file_comments"> gives the name of a month 699 700 keyword parameters of string function to specify the format of the month (the C format) can be used. 698 <div id="file_comments"> 699 gives the name of a month 701 700 </div> 702 701 … … 714 713 <div class="routine_details" id="_monthname"> 715 714 716 <h2><a class="top" href="#container">top</a>monthname <span class="categories"> calendar 717 715 <h2><a class="top" href="#container">top</a>monthname <span class="categories"> calendar, string 716 </span></h2> 718 717 719 718 <p class="header"> 720 <span class="result">result = </span>monthname(<span class="result"><a href="#_monthname_param_m m1">mm1</a></span>, <a href="#_monthname_keyword__EXTRA">_EXTRA</a>=<span class="result">_EXTRA</span>)</p>719 <span class="result">result = </span>monthname(<span class="result"><a href="#_monthname_param_month">month</a></span>, <a href="#_monthname_keyword__EXTRA">_EXTRA</a>=<span class="result">_EXTRA</span>)</p> 721 720 722 721 <div class="comments"> 723 722 </div> 724 723 725 <h3>Return value</h3><div class="value"> the month's name 724 <h3>Return value</h3><div class="preformat"> 725 the month names, a string with the same number of elements than month. 726 726 </div> 727 727 … … 730 730 731 731 732 <h4 id="_monthname_param_m m1">mm1 732 <h4 id="_monthname_param_month">month 733 733 <span class="attr">in</span> 734 734 … … 741 741 </h4> 742 742 743 <div class="comments"> the month number (from 1 to 12) 743 <div class="comments"> 744 the month number (from 1 to 12). Can be scalar or array 744 745 </div> 745 746 … … 762 763 </h4> 763 764 764 <div class="comments"> used to pass your keywords to the created procedure. 765 <div class="comments"> 766 used to pass your keywords to other procedures, for example 767 keyword FORMAT of string function (see example bellow) 765 768 </div> 766 769 767 770 768 771 769 <h3>Examples</h3><div class=" value">772 <h3>Examples</h3><div class="preformat"> 770 773 IDL> name=monthname(2) 771 774 </div> 772 775 <h3>Version history</h3> 773 776 774 <h4>Version</h4><div class=" value"> $Id: monthname.pro 118 2006-06-27 15:47:06Z pinsard$775 </div> 776 <h4>History</h4><div class=" value"> Sebastien Masson (smasson@lodyc.jussieu.fr)777 <h4>Version</h4><div class="preformat"> $Id: monthname.pro 137 2006-07-12 09:33:44Z smasson $ 778 </div> 779 <h4>History</h4><div class="preformat"> Sebastien Masson (smasson@lodyc.jussieu.fr) 777 780 1 October 2001 778 781 </div>
Note: See TracChangeset
for help on using the changeset viewer.