mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
update documentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28256 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
03fd0648a2
commit
a17d3c29b0
2 changed files with 12 additions and 11 deletions
|
@ -80,7 +80,18 @@ extern "C" {
|
|||
- (NSInteger) secondOfMinute;
|
||||
- (NSInteger) yearOfCommonEra;
|
||||
|
||||
// Providing Adjusted Dates
|
||||
/**
|
||||
* <p>Returns a calendar date formed by adding the specified offsets to the
|
||||
* receiver. The offsets are added in order, years, then months, then
|
||||
* days, then hours then minutes then seconds, so if you add 1 month and
|
||||
* forty days to 20th September, the result will be 9th November.
|
||||
* </p>
|
||||
* <p>This method understands leap years and tries to adjust for daylight
|
||||
* savings time changes so that it preserves expected clock time.
|
||||
* </p>
|
||||
* <p>The returned date has the calendar format and timezone of the receiver.
|
||||
* </p>
|
||||
*/
|
||||
- (NSCalendarDate*) addYear: (NSInteger)year
|
||||
month: (NSInteger)month
|
||||
day: (NSInteger)day
|
||||
|
|
|
@ -2445,16 +2445,6 @@ static void Grow(DescriptionInfo *info, unsigned size)
|
|||
*/
|
||||
@implementation NSCalendarDate (OPENSTEP)
|
||||
|
||||
/**
|
||||
* <p>Returns a calendar date formed by adding the specified offsets to the
|
||||
* receiver. The offsets are added in order, years, then months, then
|
||||
* days, then hours then minutes then seconds, so if you add 1 month and
|
||||
* forty days to 20th September, the result will be 9th November.
|
||||
* </p>
|
||||
* <p>This method understands leap years and tries to adjust for daylight
|
||||
* savings time changes so that it preserves expected clock time.
|
||||
* </p>
|
||||
*/
|
||||
- (NSCalendarDate*) dateByAddingYears: (NSInteger)years
|
||||
months: (NSInteger)months
|
||||
days: (NSInteger)days
|
||||
|
|
Loading…
Reference in a new issue