SUEWS API Site
Documentation of SUEWS source code
Private Member Functions | List of all members
mod_strftime::c_strptime Interface Reference

Private Member Functions

integer(kind=c_int) function c_strptime (str, FORMAT, tm)
 

Detailed Description

Definition at line 74 of file suews_util_datetime.f95.

Constructor & Destructor Documentation

◆ c_strptime()

integer(kind=c_int) function mod_strftime::c_strptime::c_strptime ( character(kind=c_char), dimension(*), intent(in)  str,
character(kind=c_char), dimension(*), intent(in)  FORMAT,
type(tm_struct), intent(out)  tm 
)
private

Definition at line 74 of file suews_util_datetime.f95.

75
76 !! Returns a time struct object based on the input time string str,
77 !! formatted using format. Refer to C standard library documentation
78 !! for more information.
79
80 IMPORT :: c_char, c_int
81 IMPORT :: tm_struct
82
83 IMPLICIT NONE
84
85 ! Arguments
86 CHARACTER(kind=C_CHAR), DIMENSION(*), INTENT(in) :: str !! input string
87 CHARACTER(kind=C_CHAR), DIMENSION(*), INTENT(in) :: FORMAT !! time format
88 TYPE(tm_struct), INTENT(out) :: tm !! result tm_struct
89 INTEGER(kind=C_INT) :: rc !! return code
90

The documentation for this interface was generated from the following file: