| Anonymous | Login | 2010-09-09 19:54 BST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki |
| View Issue Details[ Jump to Notes ] [ Wiki ] | [ Issue History ] [ Print ] | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||
| 0000476 | jquantlib | [All Projects] code review | public | 2010-07-31 06:33 | 2010-07-31 06:33 | ||||||
| Reporter | ggd543 | ||||||||||
| Assigned To | |||||||||||
| Priority | normal | Severity | minor | Reproducibility | have not tried | ||||||
| Status | new | Resolution | open | ||||||||
| Platform | OS | OS Version | |||||||||
| Product Version | |||||||||||
| Target Version | Fixed in Version | ||||||||||
| Summary | 0000476: Would you make the javadoc more clear | ||||||||||
| Description | I found the javadoc description is confused sometimes. Let's see the javadoc for the method advance(Date, int, TimeUnit) of Calendar class. The doc says that advances the given date of the given number of business days and returns the result. But if the given date is not a business date and the given number is zero, the method will adjust the given day to the appropriate near business day with respect to BusinessConvention.Proceeding convention, just like the behavior of adjust method . But why not return the given date directly if the given number is zero ? | ||||||||||
| Tags | No tags attached. | ||||||||||
| Attached Files | |||||||||||
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2010-07-31 06:33 | ggd543 | New Issue | |
| Copyright © 2000 - 2009 MantisBT Group |