1 #############################################################################
2 ## Name: ext/datetime/XS/DateSpan.xsp
3 ## Purpose: XS++ for Wx::DateSpan
4 ## Author: Mattia Barbon
7 ## RCS-ID: $Id: DateSpan.xsp 2079 2007-07-08 21:18:04Z mbarbon $
8 ## Copyright: (c) 2005-2006 Mattia Barbon
9 ## Licence: This program is free software; you can redistribute it and/or
10 ## modify it under the same terms as Perl itself
11 #############################################################################
13 #include <wx/datetime.h>
17 %name{Wx::DateSpan} class wxDateSpan
20 #%name{newFromYMWD} wxDateSpan(
28 # these statics return a DateSpan of according size
38 wxDateSpan& Add( wxDateSpan& ds );
39 wxDateSpan& Multiply( int factor );
42 wxDateSpan& SetDays( int n );
43 wxDateSpan& SetYears( int n );
44 wxDateSpan& SetMonths( int n );
45 wxDateSpan& SetWeeks( int n );
46 wxDateSpan& Subtract( wxDateSpan& ds );
50 ## bool operator==(const wxGBPosition& p) const; (sample)