亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
久久久精品综合| 高清久久久久久| 亚洲一区二区三区爽爽爽爽爽 | 日韩免费视频一区| 欧美一区二区视频在线观看 | 亚洲精品成人少妇| 亚洲欧美另类综合偷拍| 亚洲精品国久久99热| 亚洲美女一区二区三区| 亚洲精品美国一| 午夜影院久久久| 男女男精品视频网| 九九久久精品视频| 国产精品夜夜嗨| 91在线一区二区三区| 欧美在线你懂的| 91精品国产一区二区三区| 欧美xxx久久| 欧美国产精品一区| 亚洲精品欧美专区| 日本中文在线一区| 经典一区二区三区| 成人av小说网| 欧美视频在线不卡| 欧美一区二区三区免费在线看| 精品福利视频一区二区三区| 国产三级一区二区| 一区二区三区欧美久久| 日本欧美在线看| 国产aⅴ综合色| 一本久久a久久精品亚洲| 欧美人狂配大交3d怪物一区| 精品动漫一区二区三区在线观看| 国产精品久久免费看| 亚洲一区免费在线观看| 另类小说图片综合网| av资源网一区| 777久久久精品| 亚洲国产高清不卡| 亚洲午夜视频在线| 国产精品1区二区.| 欧美自拍丝袜亚洲| 国产亚洲视频系列| 亚洲尤物视频在线| 国产一区二区三区免费观看| 色综合天天综合色综合av| 日韩美女主播在线视频一区二区三区| 国产日韩影视精品| 五月婷婷欧美视频| 春色校园综合激情亚洲| 91精品国产综合久久久久久久久久 | 国产欧美精品区一区二区三区| 亚洲久草在线视频| 精品一区二区在线播放| 91最新地址在线播放| 欧美成人性福生活免费看| 亚洲女人****多毛耸耸8| 麻豆精品精品国产自在97香蕉| 色狠狠桃花综合| 久久久久久久综合色一本| 亚洲va天堂va国产va久| 成人免费视频视频| 日韩欧美国产综合在线一区二区三区| 日韩毛片一二三区| 国内精品视频一区二区三区八戒| 欧美日韩一区精品| 国产精品久久久久aaaa樱花| 狠狠色2019综合网| 欧美一区在线视频| 夜夜嗨av一区二区三区中文字幕 | av在线这里只有精品| 精品国产乱码久久久久久图片 | 亚洲一卡二卡三卡四卡无卡久久 | 欧美午夜视频网站| 中文字幕一区二区三区蜜月| 国产综合色产在线精品| 欧美一级日韩一级| 亚洲第一福利一区| 日本久久一区二区| 国产精品美女久久久久久久网站| 激情另类小说区图片区视频区| 欧美久久久久久久久| 一区二区在线观看不卡| 99re这里都是精品| 欧美国产在线观看| 国产呦精品一区二区三区网站| 91精品在线观看入口| 亚洲高清免费观看| 欧美又粗又大又爽| 亚洲精品国产无天堂网2021| 91色视频在线| 亚洲欧美日韩中文播放 | 在线观看一区日韩| 亚洲三级久久久| 91在线国产福利| 亚洲免费观看高清完整版在线| av一区二区三区| 亚洲丝袜制服诱惑| 91偷拍与自偷拍精品| 亚洲美女屁股眼交3| 91啪九色porn原创视频在线观看| 国产精品麻豆一区二区| av一本久道久久综合久久鬼色| 国产精品理伦片| 91美女在线看| 一区二区三区在线观看国产 | 亚洲日本免费电影| 一本色道a无线码一区v| 亚洲综合视频网| 欧美日韩一区二区三区在线看| 亚洲123区在线观看| 欧美一区日韩一区| 久久国产三级精品| 久久久亚洲精华液精华液精华液| 国产成人无遮挡在线视频| 国产精品午夜久久| 色哟哟在线观看一区二区三区| 一区二区三区蜜桃网| 欧美高清性hdvideosex| 免费视频一区二区| 久久久久久久精| 99国产欧美另类久久久精品| 亚洲最新视频在线播放| 777色狠狠一区二区三区| 激情六月婷婷综合| 国产精品久久久久婷婷二区次| 在线中文字幕一区| 日本伊人精品一区二区三区观看方式| 欧美α欧美αv大片| 成人国产亚洲欧美成人综合网| 午夜精品福利久久久| 亚洲精品一区二区三区蜜桃下载| 国产成人鲁色资源国产91色综| 亚洲欧美色一区| 欧美一区二区三区性视频| 国产一区二区三区在线观看精品| 亚洲色图在线看| 欧美一区二区三区视频免费| 粉嫩嫩av羞羞动漫久久久| 一个色综合网站| 欧美不卡一区二区三区| eeuss鲁片一区二区三区 | 欧美日韩精品一区视频| 狠狠狠色丁香婷婷综合激情| 亚洲欧美激情在线| 日韩欧美二区三区| 9i在线看片成人免费| 日韩精品欧美成人高清一区二区| 久久精子c满五个校花| 91黄色在线观看| 国产一区二区免费在线| 亚洲与欧洲av电影| 久久你懂得1024| 欧美日韩国产欧美日美国产精品| 国产成人亚洲综合色影视| 亚洲一区二区精品3399| 国产亚洲综合av| 欧美日韩不卡视频| 99精品国产一区二区三区不卡| 蜜桃久久久久久久| 亚洲狠狠丁香婷婷综合久久久| 久久午夜色播影院免费高清| 欧美三级韩国三级日本三斤| 成人黄色在线看| 蜜桃视频一区二区三区在线观看| 亚洲区小说区图片区qvod| 久久综合狠狠综合久久综合88| 欧美日韩亚洲丝袜制服| 99精品一区二区| 国产一级精品在线| 日本aⅴ免费视频一区二区三区 | av不卡在线播放| 久草这里只有精品视频| 午夜精品国产更新| 亚洲欧洲精品一区二区精品久久久| 精品国产乱码久久久久久久| 欧美日韩一区二区三区视频| 91视频免费观看| www.欧美.com| 国产精品 欧美精品| 久久激情综合网| 日韩福利电影在线| 亚洲国产精品一区二区久久恐怖片| 国产精品第四页| 国产精品视频第一区| 久久蜜桃av一区二区天堂| 日韩午夜三级在线| 7777女厕盗摄久久久| 欧美日韩亚洲综合一区 | 国产精品国产三级国产| 国产亚洲精品超碰| 久久无码av三级| 日韩欧美在线不卡| 91精品在线一区二区| 91超碰这里只有精品国产| 欧美色手机在线观看| 在线欧美日韩国产| 欧洲视频一区二区| 欧美亚洲综合在线| 欧美视频在线播放|