ParaMonte Fortran 2.0.0
Parallel Monte Carlo and Machine Learning Library
See the latest version documentation. |
This is the derived type containing the string components that contain numeric date and time in the Gregorian calendar. More...
Public Member Functions | |
type(dateTimeStr_type) function | dateTimeStr_typer () |
This is the constructor of the dateTimeStr_type class. More... | |
Public Attributes | |
character(4, SK) | year = "0001" |
The scalar character of default kind SK of length 4 containing the year of the Gregorian calendar in the form yyyy . More... | |
character(2, SK) | month = "01" |
The scalar character of default kind SK of length 2 containing the month of the year in the form mm . More... | |
character(2, SK) | day = "01" |
The scalar character of default kind SK of length 2 containing the day of the month in the form dd . More... | |
character(5, SK) | zone = "+0000" |
The scalar character of default kind SK of length 5 containing the time difference between local time and UTC (also known as Greenwich mean Time) in the form Shhmm , corresponding to sign, hours, and minutes. For example, -0500 (New York). More... | |
character(2, SK) | hour = "00" |
The scalar character of default kind SK of length 2 containing the hour of the day in the form hh . More... | |
character(2, SK) | minute = "00" |
The scalar character of default kind SK of length 2 containing the minute of the hour in the form mm . More... | |
character(2, SK) | second = "00" |
The scalar character of default kind SK of length 2 containing the second of the minute in the form ss . More... | |
character(3, SK) | millisecond = "000" |
The scalar character of default kind SK of length 3 containing the milliseconds of the second in the form sss . More... | |
This is the derived type containing the string components that contain numeric date and time in the Gregorian calendar.
This class is a simple container for the values returned by the Fortran intrinsic date_and_time()
.
Possible calling interfaces ⛓
Example usage ⛓
ifort
compiler ⛓ ifort
compiler ⛓ gfortran
compiler ⛓
Final Remarks ⛓
If you believe this algorithm or its documentation can be improved, we appreciate your contribution and help to edit this page's documentation and source file on GitHub.
For details on the naming abbreviations, see this page.
For details on the naming conventions, see this page.
This software is distributed under the MIT license with additional terms outlined below.
This software is available to the public under a highly permissive license.
Help us justify its continued development and maintenance by acknowledging its benefit to society, distributing it, and contributing to it.
Definition at line 957 of file pm_dateTime.F90.
type(dateTimeStr_type) function pm_dateTime::dateTimeStr_type::dateTimeStr_typer |
This is the constructor of the dateTimeStr_type class.
Upon return, the constructor initializes all components of the object to the current date and time.
See also the documentation details of dateTimeStr_type.
dateTimeStr
: The output scalar object of class dateTimeStr_type.
Possible calling interfaces ⛓
CHECK_ENABLED=1
.
Final Remarks ⛓
If you believe this algorithm or its documentation can be improved, we appreciate your contribution and help to edit this page's documentation and source file on GitHub.
For details on the naming abbreviations, see this page.
For details on the naming conventions, see this page.
This software is distributed under the MIT license with additional terms outlined below.
This software is available to the public under a highly permissive license.
Help us justify its continued development and maintenance by acknowledging its benefit to society, distributing it, and contributing to it.
Definition at line 4193 of file pm_dateTime.F90.
character(2, SK) pm_dateTime::dateTimeStr_type::day = "01" |
The scalar character
of default kind SK of length 2
containing the day of the month in the form dd
.
Definition at line 963 of file pm_dateTime.F90.
character(2, SK) pm_dateTime::dateTimeStr_type::hour = "00" |
The scalar character
of default kind SK of length 2
containing the hour of the day in the form hh
.
Definition at line 967 of file pm_dateTime.F90.
character(3, SK) pm_dateTime::dateTimeStr_type::millisecond = "000" |
The scalar character
of default kind SK of length 3
containing the milliseconds of the second in the form sss
.
Definition at line 970 of file pm_dateTime.F90.
character(2, SK) pm_dateTime::dateTimeStr_type::minute = "00" |
The scalar character
of default kind SK of length 2
containing the minute of the hour in the form mm
.
Definition at line 968 of file pm_dateTime.F90.
character(2, SK) pm_dateTime::dateTimeStr_type::month = "01" |
The scalar character
of default kind SK of length 2
containing the month of the year in the form mm
.
Definition at line 962 of file pm_dateTime.F90.
character(2, SK) pm_dateTime::dateTimeStr_type::second = "00" |
The scalar character
of default kind SK of length 2
containing the second of the minute in the form ss
.
Definition at line 969 of file pm_dateTime.F90.
character(4, SK) pm_dateTime::dateTimeStr_type::year = "0001" |
The scalar character
of default kind SK of length 4
containing the year of the Gregorian calendar in the form yyyy
.
Definition at line 961 of file pm_dateTime.F90.
character(5, SK) pm_dateTime::dateTimeStr_type::zone = "+0000" |
The scalar character
of default kind SK of length 5
containing the time difference between local time and UTC (also known as Greenwich mean Time) in the form Shhmm
, corresponding to sign, hours, and minutes. For example, -0500
(New York).
Definition at line 964 of file pm_dateTime.F90.