ParaMonte Fortran 2.0.0
Parallel Monte Carlo and Machine Learning Library
See the latest version documentation. |
This is the derived type containing the components of a numeric date and time in the Gregorian calendar. More...
Public Member Functions | |
procedure, pass | getValues => getDateTimeIntValues |
type(dateTimeInt_type) function | dateTimeInt_typer () |
This is the constructor of the dateTimeInt_type class. More... | |
Public Attributes | |
integer(IK) | year = 1_IK |
The scalar integer of default kind IK containing the year of the Gregorian calendar. More... | |
integer(IK) | month = 1_IK |
The scalar integer of default kind IK containing the month of the year. More... | |
integer(IK) | day = 1_IK |
The scalar integer of default kind IK containing the day of the month. More... | |
integer(IK) | zone = 0_IK |
The scalar integer of default kind IK containing the time difference in minutes with respect to the UTC. More... | |
integer(IK) | hour = 0_IK |
The scalar integer of default kind IK containing the hour of the day. More... | |
integer(IK) | minute = 0_IK |
The scalar integer of default kind IK containing the minute of the hour. More... | |
integer(IK) | second = 0_IK |
The scalar integer of default kind IK containing the second of the minute. More... | |
integer(IK) | millisecond = 0_IK |
The scalar integer of default kind IK containing the milliseconds of the second. More... | |
This is the derived type containing the components of a 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 895 of file pm_dateTime.F90.
type(dateTimeInt_type) function pm_dateTime::dateTimeInt_type::dateTimeInt_typer |
This is the constructor of the dateTimeInt_type class.
Upon return, the constructor initializes all components of the object to the current date and time.
See also the documentation details of dateTimeInt_type.
dateTimeInt
: The output scalar object of class dateTimeInt_type.
Possible calling interfaces ⛓
-huge(0_K)
if the processor does not provide date and time.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 4092 of file pm_dateTime.F90.
procedure, pass pm_dateTime::dateTimeInt_type::getValues |
Definition at line 907 of file pm_dateTime.F90.
integer(IK) pm_dateTime::dateTimeInt_type::day = 1_IK |
The scalar integer
of default kind IK containing the day of the month.
Definition at line 899 of file pm_dateTime.F90.
integer(IK) pm_dateTime::dateTimeInt_type::hour = 0_IK |
The scalar integer
of default kind IK containing the hour of the day.
Definition at line 902 of file pm_dateTime.F90.
integer(IK) pm_dateTime::dateTimeInt_type::millisecond = 0_IK |
The scalar integer
of default kind IK containing the milliseconds of the second.
Definition at line 905 of file pm_dateTime.F90.
integer(IK) pm_dateTime::dateTimeInt_type::minute = 0_IK |
The scalar integer
of default kind IK containing the minute of the hour.
Definition at line 903 of file pm_dateTime.F90.
integer(IK) pm_dateTime::dateTimeInt_type::month = 1_IK |
The scalar integer
of default kind IK containing the month of the year.
Definition at line 898 of file pm_dateTime.F90.
integer(IK) pm_dateTime::dateTimeInt_type::second = 0_IK |
The scalar integer
of default kind IK containing the second of the minute.
Definition at line 904 of file pm_dateTime.F90.
integer(IK) pm_dateTime::dateTimeInt_type::year = 1_IK |
The scalar integer
of default kind IK containing the year of the Gregorian calendar.
Definition at line 897 of file pm_dateTime.F90.
integer(IK) pm_dateTime::dateTimeInt_type::zone = 0_IK |
The scalar integer
of default kind IK containing the time difference in minutes with respect to the UTC.
Definition at line 900 of file pm_dateTime.F90.