文件名称: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