文件名称:Calculate-Time-Interval
介绍说明--下载内容来自于网络,使用问题请自行百度
main executing reference usage: usage_timeDifference.m
Sample output:
The time interval between earierTime [09-Sep-1900 09:09:18] and laterTime [31-Oct-2010 23:33:08] is
110 years, 79 days, 14 hours, 23 mins, 50.17 secs.
The objective is to compute the time interval taking into account the leap days that are subsumed within the time interval.
Note:
The logic subsumes the time interval by
yearEnd, monthEnd, dayEnd - timeEarlier (within that year)
+ time interval (excluding that 2 years)
+ timeLater - yearEnd, monthEnd, dayEnd (within that year)
It differentiates the earlier time and later time, ie. timeDifference (earlierTime, laterTime) gives the same result as timeDifference (laterTime, earlierTime).
leapDayHasPassed.m illustrates a possible approach to determine if a certain day of concern is already over at a given time.
Caveat: does not include leap secs -main executing reference usage: usage_timeDifference.m
Sample output:
The time interval between earierTime [09-Sep-1900 09:09:18] and laterTime [31-Oct-2010 23:33:08] is
110 years, 79 days, 14 hours, 23 mins, 50.17 secs.
The objective is to compute the time interval taking into account the leap days that are subsumed within the time interval.
Note:
The logic subsumes the time interval by
yearEnd, monthEnd, dayEnd - timeEarlier (within that year)
+ time interval (excluding that 2 years)
+ timeLater - yearEnd, monthEnd, dayEnd (within that year)
It differentiates the earlier time and later time, ie. timeDifference (earlierTime, laterTime) gives the same result as timeDifference (laterTime, earlierTime).
leapDayHasPassed.m illustrates a possible approach to determine if a certain day of concern is already over at a given time.
Caveat: does not include leap secs
Sample output:
The time interval between earierTime [09-Sep-1900 09:09:18] and laterTime [31-Oct-2010 23:33:08] is
110 years, 79 days, 14 hours, 23 mins, 50.17 secs.
The objective is to compute the time interval taking into account the leap days that are subsumed within the time interval.
Note:
The logic subsumes the time interval by
yearEnd, monthEnd, dayEnd - timeEarlier (within that year)
+ time interval (excluding that 2 years)
+ timeLater - yearEnd, monthEnd, dayEnd (within that year)
It differentiates the earlier time and later time, ie. timeDifference (earlierTime, laterTime) gives the same result as timeDifference (laterTime, earlierTime).
leapDayHasPassed.m illustrates a possible approach to determine if a certain day of concern is already over at a given time.
Caveat: does not include leap secs -main executing reference usage: usage_timeDifference.m
Sample output:
The time interval between earierTime [09-Sep-1900 09:09:18] and laterTime [31-Oct-2010 23:33:08] is
110 years, 79 days, 14 hours, 23 mins, 50.17 secs.
The objective is to compute the time interval taking into account the leap days that are subsumed within the time interval.
Note:
The logic subsumes the time interval by
yearEnd, monthEnd, dayEnd - timeEarlier (within that year)
+ time interval (excluding that 2 years)
+ timeLater - yearEnd, monthEnd, dayEnd (within that year)
It differentiates the earlier time and later time, ie. timeDifference (earlierTime, laterTime) gives the same result as timeDifference (laterTime, earlierTime).
leapDayHasPassed.m illustrates a possible approach to determine if a certain day of concern is already over at a given time.
Caveat: does not include leap secs
(系统自动生成,下载前可以参看下载内容)
下载文件列表
isleapyear.m
leapDayHasPassed.m
sec2hms.m
timeDifference.m
usage_timeDifference.m
license.txt
readme.txt
DateDiff.m
adjustUnits2.m
daysinmonth.m
daysinyear.m
givesTheEarlierTime.m
leapDayHasPassed.m
sec2hms.m
timeDifference.m
usage_timeDifference.m
license.txt
readme.txt
DateDiff.m
adjustUnits2.m
daysinmonth.m
daysinyear.m
givesTheEarlierTime.m
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.