Data Types | |
module | mois |
Date conversion. More... | |
Functions/Subroutines | |
subroutine | datation (temps) |
For a given TU and date, computes se,mi,he,jo,mo,an fields of calendar structure. More... | |
subroutine | date2day (date, ian, imo, ijo) |
From date formatted (an*1000+jour) computes an,mo,jo. More... | |
subroutine | day2date (ian, imois, ijour, date) |
From an,mo,jo computes date formatted (an*1000+jour) More... | |
subroutine | julien (temps) |
This subroutine computes julian date, given calendar date and time. input calendar date must be gregorian. input time value can be in any ut-like time scale (utc, ut1, tt, etc.) - output julian date will have same basis. algorithm by fliegel and van flandern. More... | |
subroutine | increment_date (date) |
Add 1 day to formatted date (an*1000+jour) More... | |
subroutine | decrement_date (date) |
Retrieve 1 day to formatted date (an*1000+jour) More... | |
subroutine datation | ( | type (calendar) | temps | ) |
For a given TU and date, computes se,mi,he,jo,mo,an fields of calendar structure.
subroutine date2day | ( | integer(4) | date, |
integer(4) | ian, | ||
integer(2) | imo, | ||
integer(2) | ijo | ||
) |
From date formatted (an*1000+jour) computes an,mo,jo.
subroutine day2date | ( | integer(4) | ian, |
integer(2) | imois, | ||
integer(2) | ijour, | ||
integer(4) | date | ||
) |
From an,mo,jo computes date formatted (an*1000+jour)
subroutine decrement_date | ( | integer, intent(inout) | date | ) |
Retrieve 1 day to formatted date (an*1000+jour)
subroutine increment_date | ( | integer, intent(inout) | date | ) |
Add 1 day to formatted date (an*1000+jour)
subroutine julien | ( | type(calendar) | temps | ) |
This subroutine computes julian date, given calendar date and time. input calendar date must be gregorian. input time value can be in any ut-like time scale (utc, ut1, tt, etc.) - output julian date will have same basis. algorithm by fliegel and van flandern.