Skip to content

Commit 8e63792

Browse files
committed
More doc about time interval string.
1 parent b182b2e commit 8e63792

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

src/Infrastructure/TimeMgr/interface/ESMF_TimeInterval.F90

+11-6
Original file line numberDiff line numberDiff line change
@@ -3135,10 +3135,12 @@ end subroutine ESMF_ParseDurString
31353135
#undef ESMF_METHOD
31363136
#define ESMF_METHOD "ESMF_TimeIntervalSetStr()"
31373137
!BOP
3138+
!\label{API:TimeIntervalSetStr}
31383139
! !IROUTINE: ESMF_TimeIntervalSet - Initialize or set a TimeInterval from ISO format string
31393140

31403141
! !INTERFACE:
3141-
! Private name; call using ESMF_TimeIntervalSet()
3142+
! Private name; call using ESMF_TimeIntervalSet()
3143+
31423144
subroutine ESMF_TimeIntervalSetStr(timeinterval, timeIntervalString, rc)
31433145

31443146
! !ARGUMENTS:
@@ -3169,7 +3171,7 @@ subroutine ESMF_TimeIntervalSetStr(timeinterval, timeIntervalString, rc)
31693171
! \item[timeinterval]
31703172
! The object instance to initialize.
31713173
! \item[timeIntervalString]
3172-
! ISO format duration string.
3174+
! ISO format duration string (i.e. P[y]Y[mm]M[d]DT[h]H[m]M[s]S ).
31733175
! \item[{[rc]}]
31743176
! Return code; equals {\tt ESMF\_SUCCESS} if there are no errors.
31753177
! \end{description}
@@ -3247,9 +3249,12 @@ subroutine ESMF_TimeIntervalSetStrCal(timeinterval, calendar, &
32473249
!
32483250
!
32493251
! !DESCRIPTION:
3250-
! Sets the value of the {\tt ESMF\_TimeInterval} using a user specified
3251-
! string in ISO duration format (P[n]Y[n]M[n]DT[n]H[n]M[n]S).
3252-
!
3252+
! Sets the value of the {\tt ESMF\_TimeInterval} using a user specified
3253+
! string in ISO duration format P[y]Y[mm]M[d]DT[h]H[m]M[s]S. See ~\cite{ISO} and ~\cite{ISOnotes} for
3254+
! information about the format. Also, see the description for the method
3255+
! {\tt ESMF\_TimeIntervalSetStr()}~\ref{API:TimeIntervalSetStr}
3256+
! for more details about the specific types supported by ESMF for the time values in the duration string.
3257+
!
32533258
! The arguments are:
32543259
! \begin{description}
32553260
! \item[timeinterval]
@@ -3264,7 +3269,7 @@ subroutine ESMF_TimeIntervalSetStrCal(timeinterval, calendar, &
32643269
! it contains a calendar. Alternate to, and mutually exclusive with,
32653270
! calkindflag below. Primarily for specifying a custom calendar kind.
32663271
! \item[timeIntervalString]
3267-
! ISO format duration string.
3272+
! ISO format duration string (i.e. P[y]Y[mm]M[d]DT[h]H[m]M[s]S ).
32683273
! \item[{[rc]}]
32693274
! Return code; equals {\tt ESMF\_SUCCESS} if there are no errors.
32703275
! \end{description}

0 commit comments

Comments
 (0)