Changeset 2ea9c89 in tol
- Timestamp:
- Apr 30, 2012, 2:34:55 PM (14 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- cb42322
- Parents:
- 45c89d6
- File:
-
- 1 edited
-
tol/btol/timeset_type/tms.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tol/btol/timeset_type/tms.cpp
r45c89d6 r2ea9c89 724 724 if(nth == 0) { return((!dte.HasValue()||Includes(dte))?dte:BDate::Unknown()); } 725 725 if(nth < 0) { return(Prev(dte, -nth)); } 726 if(dte.IsTheEnd()) { return(BDate::End()); } 727 if(dte.IsTheBegin()) { return(Inf()); } 728 726 729 const BHash& cache = Cache(); 727 730 … … 768 771 if(nth == 0) { return((!dte.HasValue()||Includes(dte))?dte:BDate::Unknown()); } 769 772 if(nth < 0) { return(Next(dte, -nth)); } 773 if(dte.IsTheBegin()) { return(BDate::Begin()); } 774 if(dte.IsTheEnd()) { return(Sup()); } 775 770 776 const BHash& cache = Cache(); 771 777 BInt N = cache.Size();
Note: See TracChangeset
for help on using the changeset viewer.
