IPIM
 All Classes Files Functions Variables Pages
Data Types | Functions/Subroutines
datation.f90 File Reference

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...
 

Detailed Description

Author
Date
01.01.2011

Function/Subroutine Documentation

subroutine datation ( type (calendar temps)

For a given TU and date, computes se,mi,he,jo,mo,an fields of calendar structure.

Author

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine date2day ( integer(4)  date,
integer(4)  ian,
integer(2)  imo,
integer(2)  ijo 
)

From date formatted (an*1000+jour) computes an,mo,jo.

Author

Here is the caller graph for this function:

subroutine day2date ( integer(4)  ian,
integer(2)  imois,
integer(2)  ijour,
integer(4)  date 
)

From an,mo,jo computes date formatted (an*1000+jour)

Author

Here is the caller graph for this function:

subroutine decrement_date ( integer, intent(inout)  date)

Retrieve 1 day to formatted date (an*1000+jour)

Author

Here is the caller graph for this function:

subroutine increment_date ( integer, intent(inout)  date)

Add 1 day to formatted date (an*1000+jour)

Author

Here is the caller graph for this function:

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.

Author

Here is the caller graph for this function: