libtime++: Date and time calculation

◆ time_fullyear()

subroutine time_fullyear ( integer  year)

Definition at line 32 of file time_fullyear.f.

References time_util_warning_n().

32 c
33 c Makes year to be a full 4 digit year value. This is used to set
34 c the year to a meanigfull value. Notice that this routine does not
35 c make sense in combination with relative times.
36 c
37 c year < 70 ---> year := year+2000
38 c 69 < year < 100 ---> year := year+1900
39 c
40 c last change: V2.00 (05/08/2000)
41 c
42  integer year
43 cE
44  if (year.lt.70) year=year+2000
45  if (year.lt.100) year=year+1900
46  if (year.lt.1970)
47  & call time_util_warning_n('time_fullyear',
48  & 'spurious year value: ',year)
49  return
subroutine time_util_warning_n(caller, text, n)
Here is the call graph for this function: