libtime++: Date and time calculation
time_copy.f
Go to the documentation of this file.
1 c this is <time_copy.f> (extracted from ../libtime.f)
2 c automatically generated by "SPLITF.PL V1.0 SPLIT Fortran source code"
3 c----------------------------------------------------------------------
4 c
5 c Copyright 2000 by Thomas Forbriger (IfG Stuttgart)
6 c
7 c ----
8 c libtime is free software; you can redistribute it and/or modify
9 c it under the terms of the GNU General Public License as published by
10 c the Free Software Foundation; either version 2 of the License, or
11 c (at your option) any later version.
12 c
13 c This program is distributed in the hope that it will be useful,
14 c but WITHOUT ANY WARRANTY; without even the implied warranty of
15 c MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 c GNU General Public License for more details.
17 c
18 c You should have received a copy of the GNU General Public License
19 c along with this program; if not, write to the Free Software
20 c Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21 c ----
22 c
23 c copy time record
24 c
25 c REVISIONS and CHANGES
26 c 05/08/2000 V2.0 Thomas Forbriger
27 c
28 c ============================================================================
29 cS
30  subroutine time_copy(date1, date2)
31 c
32 c copy: date1 --> date2
33 c
34 c input:
35 c date1: any time record
36 c output:
37 c date2: copy of date1
38 c
39 c last change: V2.00 (05/08/2000)
40 c
41  integer date1(7), date2(7)
42 cE
43  integer i
44 c
45  do i=1,7
46  date2(i)=date1(i)
47  enddo
48  return
49  end
50 c
51 c ----- END OF <time_copy.f> -----
void time_copy(time_Ts Date1, time_Ts *Pdate2)
Definition: ctime_copy.c:33