亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? esmf_dateex.f

?? CCSM Research Tools: Community Atmosphere Model (CAM)
?? F
?? 第 1 頁 / 共 2 頁
字號:
! $Id: ESMF_DateEx.F,v 1.1.6.1 2002/04/24 03:25:52 erik Exp $      !\begin{verbatim}!===============================================================================! ESMF_Date F90 Unit Tests and Examples!===============================================================================      program main       use ESMF_TimeMgmtMod      use ESMF_AppMod      implicit none      integer, parameter :: START_DATE=20011128, START_SECS=43200      integer, parameter :: STOP_DATE=20041201, STOP_SECS=1200      integer, parameter :: DAY_INC=(3*365)+5, SEC_INC=86400+43200+1      integer, parameter :: MAX_IS_LATER_IT=3000      logical exhaustive_tests      integer, parameter :: LONG_STARTD=19690113      integer, parameter :: LONG_ENDY=2001      integer, parameter :: LONG_HOURINC=23   ! Must be <= 24 so  all days are covered.! Parameters for exhaustive tests      integer, parameter :: EXH_LONG_STARTD=-47130113      integer, parameter :: EXH_LONG_ENDY=214000      integer, parameter :: EXH_LONG_HOURINC=6   ! Must be <= 24 so  all days are covered.       integer startd, endy, hourinc      integer :: retCalDate, retDays, retSecs      integer :: retCalDate1, retDays1, retSecs1      integer :: retDays1, retSecs1      integer :: numIter, numLeap, lastLeap, curYear      integer :: dayOfYear      logical :: test, isLater, isLater1, done, bigtest      type(ESMF_Date) :: startDateG, stopDateG, retDateG, origDateG      type(ESMF_Date) :: startDateN, stopDateN, retDateN, origDateN      type(ESMF_Date) :: copy      type(ESMF_Time) :: incTime, retTime, retTime1      type(ESMF_Date) :: calDayTester      type(ESMF_App) :: app      real(8) :: floatDay, floatTest      character(60) :: str      character(80) :: test_type      app = ESMF_AppNew()      print *, "=================================================="      print *, "ESMF_Date F90 Unit Tests and Examples"      print *, "=================================================="      call getenv('ESMF_EXHTEST', test_type)      print *, "test_type=", test_type      if (test_type .eq. "on") then        exhaustive_tests = .true.      else        exhaustive_tests = .false.      endif!===============================================================================! Initializations!===============================================================================      retTime = ESMF_TimeInit()      incTime = ESMF_TimeInit()      retDateG = ESMF_DateInit()       retDateN = ESMF_DateInit() !===============================================================================! Test DateInit, DateGet, DateCopyInit: Gregorian!===============================================================================      startDateG = ESMF_DateInit(ESMF_GREGORIAN,     &		 START_DATE, START_SECS)       stopDateG = ESMF_DateInit(ESMF_GREGORIAN, STOP_DATE, STOP_SECS)      copy = ESMF_DateCopyInit(stopDateG)      call ESMF_DateGet(startDateG, retCalDate, retSecs)      print *, "Ret date ", retCalDate, " Ret secs ", retSecs       test = ((retCalDate==START_DATE) .AND. (retSecs==START_SECS))      str = "ESMF_DateInit, ESMF_DateGet:  init date and get attr"      call ESMF_ErrorTest(test, str)      call ESMF_DateGet(copy, retCalDate, retSecs)      print *, "Ret date ", retCalDate, " Ret secs ", retSecs       test = ((retCalDate==STOP_DATE) .AND. (retSecs==STOP_SECS))      str = "ESMF_DateCopyInit(Gregorian):  init date and get attr"      call ESMF_ErrorTest(test, str)!===============================================================================! Test DateInit, DateGet, DateCopyInit: No Leap!===============================================================================      startDateN = ESMF_DateInit(ESMF_NO_LEAP,     &		 START_DATE, START_SECS)       stopDateN = ESMF_DateInit(ESMF_NO_LEAP, STOP_DATE, STOP_SECS)      copy = ESMF_DateCopyInit(stopDateN)      call ESMF_DateGet(startDateN, retCalDate, retSecs)      print *, "Ret date ", retCalDate, " Ret secs ", retSecs       test = ((retCalDate==START_DATE) .AND. (retSecs==START_SECS))      str = "ESMF_DateInit, ESMF_DateGet:  init date and get attr"      call ESMF_ErrorTest(test, str)      call ESMF_DateGet(copy, retCalDate, retSecs)      print *, "Ret date ", retCalDate, " Ret secs ", retSecs       test = ((retCalDate==STOP_DATE) .AND. (retSecs==STOP_SECS))      str = "ESMF_DateCopyInit(No Leap):  init date and get attr"      call ESMF_ErrorTest(test, str)!===============================================================================! Test DateCopy: Gregorian!===============================================================================      call ESMF_DateSet(stopDateG, ESMF_GREGORIAN, STOP_DATE, STOP_SECS)      copy = ESMF_DateInit()      call ESMF_DateCopy(copy, stopDateG)      call ESMF_DateGet(copy, retCalDate, retSecs)      print *, "Ret date ", retCalDate, " Ret secs ", retSecs       test = ((retCalDate==STOP_DATE) .AND. (retSecs==STOP_SECS))      str = "ESMF_DateCopy(Gregorian):  Copy date"      call ESMF_ErrorTest(test, str)!===============================================================================! Test DateCopy: No Leap!===============================================================================      call ESMF_DateSet(stopDateN, ESMF_NO_LEAP, STOP_DATE, STOP_SECS)      copy = ESMF_DateInit()      call ESMF_DateCopy(copy, stopDateN)      call ESMF_DateGet(copy, retCalDate, retSecs)      print *, "Ret date ", retCalDate, " Ret secs ", retSecs       test = ((retCalDate==STOP_DATE) .AND. (retSecs==STOP_SECS))      str = "ESMF_DateCopy(No Leap):  Copy date"      call ESMF_ErrorTest(test, str)!===============================================================================! Test DateIncrementSec: Gregorian!===============================================================================      call ESMF_DateSet(startDateG,     &  ESMF_GREGORIAN, START_DATE, START_SECS)      retDateG = ESMF_DateIncrementSec(startDateG, SEC_INC)      call ESMF_DateGet(retDateG, retCalDate, retSecs)      print *, "Ret date ", retCalDate, " Ret secs ", retSecs       test = ((retCalDate==20011130) .AND. (retSecs==1))      str =      &  "ESMF_DateIncrementSec(Gregorian):  increment date by seconds"        call ESMF_ErrorTest(test, str)!===============================================================================! Test DateIncrementSec: No Leap!===============================================================================      call ESMF_DateSet(startDateN,     &  ESMF_NO_LEAP, START_DATE, START_SECS)      retDateN = ESMF_DateIncrementSec(startDateN, SEC_INC)      call ESMF_DateGet(retDateN, retCalDate, retSecs)      print *, "Ret date ", retCalDate, " Ret secs ", retSecs       test = ((retCalDate==20011130) .AND. (retSecs==1))      str =      &  "ESMF_DateIncrementSec(No Leap):  increment date by seconds"        call ESMF_ErrorTest(test, str)!===============================================================================! Test DateIncrementDay: Gregorian!===============================================================================      call ESMF_DateSet(startDateG,     &  ESMF_GREGORIAN, START_DATE, START_SECS)      retDateG = ESMF_DateIncrementDay(startDateG, DAY_INC)      call ESMF_DateGet(retDateG, retCalDate, retSecs)      print *, "Ret date ", retCalDate, " Ret secs ", retSecs       test = ((retCalDate==20041202) .AND. (retSecs==START_SECS))      str =      &  "ESMF_DateIncrementDay(Gregorian):  increment date by days"        call ESMF_ErrorTest(test, str)!===============================================================================! Test DateIncrementDay: No Leap!===============================================================================      call ESMF_DateSet(startDateN,     &  ESMF_NO_LEAP, START_DATE, START_SECS)      retDateN = ESMF_DateIncrementDay(startDateN, DAY_INC)      call ESMF_DateGet(retDateN, retCalDate, retSecs)      print *, "Ret date ", retCalDate, " Ret secs ", retSecs       test = ((retCalDate==20041203) .AND. (retSecs==START_SECS))      str =      &  "ESMF_DateIncrementDay(No Leap):  increment date by days"        call ESMF_ErrorTest(test, str)!===============================================================================! Test DateIncrement: Gregorian!===============================================================================      incTime = ESMF_TimeInit(DAY_INC, SEC_INC)       call ESMF_DateSet(startDateG,     &  ESMF_GREGORIAN, START_DATE, START_SECS)      retDateG = ESMF_DateIncrement(startDateG, incTime)      call ESMF_DateGet(retDateG, retCalDate, retSecs)      print *, "Ret date ", retCalDate, " Ret secs ", retSecs      test = ((retCalDate==20041204) .AND. (retSecs==1))      str = "ESMF_DateIncrement(Gregorian):  increment date"      call ESMF_ErrorTest(test, str)!===============================================================================! Test DateIncrement: No Leap!===============================================================================      incTime = ESMF_TimeInit(DAY_INC, SEC_INC)       call ESMF_DateSet(startDateN,     &  ESMF_NO_LEAP, START_DATE, START_SECS)      retDateN = ESMF_DateIncrement(startDateN, incTime)      call ESMF_DateGet(retDateN, retCalDate, retSecs)      print *, "Ret date ", retCalDate, " Ret secs ", retSecs      test = ((retCalDate==20041205) .AND. (retSecs==1))      str = "ESMF_DateIncrement(No Leap):  increment date"      call ESMF_ErrorTest(test, str)!===============================================================================! Test DateDecrement: Gregorian!===============================================================================      incTime = ESMF_TimeInit(DAY_INC, SEC_INC)       call ESMF_DateSet(startDateG,     &  ESMF_GREGORIAN, START_DATE, START_SECS)      retDateG = ESMF_DateDecrement(startDateG, incTime)      call ESMF_DateGet(retDateG, retCalDate, retSecs)      print *, "Ret date ", retCalDate, " Ret secs ", retSecs      test = ((retCalDate==19981122) .AND. (retSecs==86399))      str = "ESMF_DateDecrement:  decrement date in place"      call ESMF_ErrorTest(test, str)!===============================================================================! Test DateDecrement: No Leap!===============================================================================      incTime = ESMF_TimeInit(DAY_INC, SEC_INC)       call ESMF_DateSet(startDateN,     &  ESMF_NO_LEAP, START_DATE, START_SECS)      retDateN = ESMF_DateDecrement(startDateN, incTime)      call ESMF_DateGet(retDateN, retCalDate, retSecs)      print *, "Ret date ", retCalDate, " Ret secs ", retSecs      test = ((retCalDate==19981121) .AND. (retSecs==86399))      str = "ESMF_DateDecrement(No Leap):  decrement date in place"      call ESMF_ErrorTest(test, str)!===============================================================================! Test DateDiff: Gregorian!===============================================================================      call ESMF_DateSet(startDateG,     &  ESMF_GREGORIAN, START_DATE, START_SECS)      call ESMF_DateSet(stopDateG,     &  ESMF_GREGORIAN, STOP_DATE, STOP_SECS)      call ESMF_DateDiff(startDateG, stopDateG, retTime, isLater)      call ESMF_TimeGet(retTime, retDays, retSecs)      print *, "Ret days ", retDays, " Ret secs ",      &         retSecs, "isLater", isLater       test = ((retDays==1098) .AND. (retSecs==44400)      &       .AND. (isLater))      str = "ESMF_DateDiff(Gregorian):  diff of two dates"      call ESMF_ErrorTest(test, str)!===============================================================================! Test DateDiff: No Leap!===============================================================================      call ESMF_DateSet(startDateN,     &  ESMF_NO_LEAP, START_DATE, START_SECS)      call ESMF_DateSet(stopDateN,     &  ESMF_NO_LEAP, STOP_DATE, STOP_SECS)      call ESMF_DateDiff(startDateN, stopDateN, retTime, isLater)      call ESMF_TimeGet(retTime, retDays, retSecs)      print *, "Ret days ", retDays, " Ret secs ",      &         retSecs, "isLater", isLater       test = ((retDays==1097) .AND. (retSecs==44400)      &       .AND. (isLater))      str = "ESMF_DateDiff(No Leap):  diff of two dates"      call ESMF_ErrorTest(test, str)!===============================================================================! Date Is Later: Gregorian!   Creates a Date at stop time, then decrements this in a loop!   until it reaches start time.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
风流少妇一区二区| 日韩欧美一区电影| 日韩欧美一区在线观看| 国产精品久久久一本精品| 丝袜美腿亚洲一区| 93久久精品日日躁夜夜躁欧美| 91精品国产91久久久久久最新毛片| 国产亚洲精品资源在线26u| 亚洲欧美一区二区三区国产精品| 蜜臀av性久久久久蜜臀aⅴ流畅| 国产大陆亚洲精品国产| 欧美久久一二三四区| 国产精品丝袜久久久久久app| 日本伊人色综合网| 欧美羞羞免费网站| 中文字幕一区二区在线播放| 韩国三级在线一区| 欧美理论片在线| 亚洲一区二区综合| 国产精品一区二区免费不卡 | 91精品国产综合久久久久| 亚洲国产欧美日韩另类综合| 精品久久久久久久久久久院品网 | 91浏览器入口在线观看| 亚洲黄色av一区| 亚洲精品一区二区三区影院| 99久久综合国产精品| 亚洲gay无套男同| 欧美一区二区三区在线看| 成人精品视频一区| 日韩国产高清在线| 美女性感视频久久| 91精品国产综合久久香蕉麻豆| 日韩一区二区在线观看视频| 国产91精品一区二区麻豆亚洲| 国产成人啪午夜精品网站男同| 欧美在线影院一区二区| 久久精品综合网| 91精品国产aⅴ一区二区| 香蕉久久夜色精品国产使用方法| 欧美三级欧美一级| 91麻豆国产自产在线观看| 一本色道综合亚洲| 亚洲免费观看高清完整版在线观看 | 久久久久久免费毛片精品| 蜜桃av一区二区| 精品久久一区二区| 国产精品一线二线三线精华| 久久久国产午夜精品| 成av人片一区二区| 亚洲精品ww久久久久久p站| 欧美影院午夜播放| 丝袜诱惑亚洲看片| 久久亚洲综合av| 成人h动漫精品一区二| 亚洲黄一区二区三区| 精品视频1区2区| 久久 天天综合| 国产精品素人视频| 在线一区二区视频| 蜜臀国产一区二区三区在线播放| 欧美va亚洲va香蕉在线| 丁香婷婷综合网| 亚洲午夜久久久久久久久久久 | 国产日韩精品久久久| 91麻豆国产精品久久| 天天影视色香欲综合网老头| 欧美成va人片在线观看| 成人免费视频app| 亚洲不卡av一区二区三区| 精品国产乱码久久久久久影片| 波多野结衣一区二区三区 | 51精品国自产在线| 国产伦精一区二区三区| 亚洲激情男女视频| 精品国产电影一区二区| 91免费看`日韩一区二区| 日本一不卡视频| 亚洲天堂久久久久久久| 日韩你懂的在线播放| 99久精品国产| 强制捆绑调教一区二区| 国产精品久久久久久久久快鸭| 欧美精品一级二级三级| 99久久精品国产观看| 免费久久99精品国产| 综合电影一区二区三区 | 久久99精品国产麻豆婷婷| 亚洲欧美怡红院| 欧美精品一区二区三区蜜臀| 精品视频免费在线| 91视频在线观看免费| 精品一区二区三区在线观看 | 国产精品传媒入口麻豆| 精品国产凹凸成av人导航| 欧美日韩一区高清| 99在线精品一区二区三区| 激情久久五月天| 日韩高清中文字幕一区| 亚洲综合一区二区三区| 国产精品国产三级国产普通话99 | 国产老妇另类xxxxx| 天堂av在线一区| 有坂深雪av一区二区精品| 久久久亚洲午夜电影| 日韩视频在线永久播放| 欧美亚洲尤物久久| 一本到三区不卡视频| 成人免费看片app下载| 国产米奇在线777精品观看| 美女mm1313爽爽久久久蜜臀| 亚洲国产精品精华液网站| 亚洲精品综合在线| 亚洲欧美电影院| 亚洲欧美综合另类在线卡通| 国产精品丝袜一区| 综合在线观看色| 亚洲女爱视频在线| 亚洲成在人线免费| 五月天亚洲精品| 日韩精品欧美成人高清一区二区| 午夜精品久久久久| 日本欧美一区二区三区| 久久99日本精品| 国产主播一区二区| 懂色av中文一区二区三区| 成人丝袜视频网| 91网站最新网址| 欧洲生活片亚洲生活在线观看| 欧美日韩一区二区三区四区| 欧美精品1区2区| 欧美电影免费观看高清完整版在 | 在线免费精品视频| 欧美又粗又大又爽| 欧美日韩精品三区| 日韩一区二区三区视频在线观看| 日韩视频中午一区| 欧美激情在线观看视频免费| 中文字幕视频一区| 一区二区免费视频| 免费欧美在线视频| 九九热在线视频观看这里只有精品| 精品一区二区三区在线播放 | 精品影视av免费| 成人高清伦理免费影院在线观看| 91麻豆福利精品推荐| 91精品在线一区二区| 久久青草国产手机看片福利盒子| 国产日韩欧美在线一区| 夜夜嗨av一区二区三区中文字幕| 三级久久三级久久| 国产99久久久国产精品潘金| 欧美怡红院视频| 日韩精品一区二区三区视频播放 | 亚洲高清一区二区三区| 黑人巨大精品欧美一区| kk眼镜猥琐国模调教系列一区二区| 色综合久久中文字幕综合网| 欧美经典一区二区| 亚洲男同性视频| 蜜桃91丨九色丨蝌蚪91桃色| 成人av先锋影音| 911精品国产一区二区在线| 日本一区二区三区国色天香 | 日韩午夜激情av| 亚洲色欲色欲www在线观看| 免费欧美在线视频| 欧美中文一区二区三区| 国产亚洲短视频| 日韩成人一区二区三区在线观看| 粉嫩一区二区三区在线看| 欧美一区二区三区视频免费| 中文字幕中文字幕一区二区| 美国十次综合导航| 欧美日韩一区二区不卡| 国产精品视频一二三区| 久久99久久99精品免视看婷婷 | 丁香啪啪综合成人亚洲小说| 欧美日本在线播放| 一区二区三区四区五区视频在线观看 | 久久伊人蜜桃av一区二区| 亚洲第一福利一区| 91影院在线免费观看| 久久免费精品国产久精品久久久久| 天堂久久一区二区三区| 日本久久一区二区三区| 国产精品精品国产色婷婷| 国产成人夜色高潮福利影视| 日韩亚洲欧美在线| 丝瓜av网站精品一区二区 | 97精品久久久午夜一区二区三区 | 日韩免费观看高清完整版在线观看| 一区二区三区不卡视频 | 国产成人亚洲精品青草天美| 欧美一卡二卡在线观看| 日韩电影一区二区三区四区| 91精品国产品国语在线不卡| 亚洲电影一级黄| 欧美日韩精品一二三区| 午夜精品福利一区二区蜜股av |