我需要以排除脱机模式的时间间隔的方式获得时间间隔。让我在一段时间内解释你。
示例:
A: |---------------------------------------------------------------------------|
B: |----| |-------------|
C: |--------------|
D: |===| |====================| |====================|`A` is the time line.
`B` is a offline time of `B`
`C` is a offline time of `C` notice that they are overlapping with `B`
`D` is the time to be billed.我只有时间戳。所有的解决方案我都用完了。我不知道有没有人能指引我,如果有出路的话。或者可以建议我如果有其他的方法。
谢谢。
发布于 2013-06-04 08:20:31
这将给您在累加器中的适当时间。
https://stackoverflow.com/questions/16912832
复制相似问题