From: Mark W. <ma...@ne...> - 2005-12-14 08:09:43
|
Hi Mattia, I have added the following to the DateTime.xsp file and tested and seems = to works fine so far, so would you please add to CSV if you are happy with this. I will add some tests next for method availability. I know I could use many Date related modules but since I need to use Wx::DateTime for Wx::DatePickerCtrl a few extra methods make these additional modules unnecessary. Perhaps I could even tackle the = comparison and arithmatic methods next. <snip> wxString FormatISODate(); wxString FormatTime(); wxString FormatISOTime(); wxString ParseDate(const wxChar* date); wxString ParseRfc822Date(const wxChar* date); wxString ParseDateTime(const wxChar* date); wxString ParseTime(const wxChar* date); wxDateTime& SetToCurrent( ); </snip> In my slow learning of XS my next few questions would be (please point = me to similar "correct" code/packages). I added "correct" since the older packages are not using XSP. "Using XSP style" 1) How can I add static functions (not class methods) for a package, = such as Today, Now, UNow, etc? 2) How can I create 'types'? to handle the parameters such as NameFlags = for GetMonthName function? 3) How do I handle method overloading? (such as new) 4) The 'ext' folders are re-compiled every time whether there are = changes or not. Can this be changed to follow normal make behaviour and only = compile where needed? Perhaps you could amend the Wx-Sample-XS to include an XSP file with = more sample usage? Many thanks for your help. Mark Wardell > -----Original Message----- > From: wxp...@li...=20 > [mailto:wxp...@li...] On Behalf=20 > Of Mattia Barbon <mat...@li...> > Sent: 13 December 2005 11:20 AM > To: wxperl-users > Subject: [wxperl-users] Anybody knows dm...@ak...?=20 > (was: Fwd:Cannot send message) >=20 > Hello, > for every post to wxperl-users I get the bounce below from=20 > dm...@ak.... >=20 > This address seems not subscribed to wxperl-users; I think=20 > it is a forwarding rule somewhere. >=20 > Thanks! > Mattia >=20 > ---------- Initial Header ----------- >=20 > From : wxp...@li... > To : wxp...@li... > Cc :=20 > Date : Tue, 13 Dec 2005 17:20:11 +0900 (JST) > Subject : Cannot send message >=20 > the following message was not delivered >=20 > dm...@ak... >=20 > [CC-ing wxperl-users >=20 >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep=20 > through log files for problems? Stop! Download the new AJAX=20 > search engine that makes searching your log files as easy as=20 > surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_idv37&alloc_id=16865&op=3Dick > _______________________________________________ > wxperl-users mailing list > wxp...@li... > https://lists.sourceforge.net/lists/listinfo/wxperl-users |