search for: getmonth

Displaying 5 results from an estimated 5 matches for "getmonth".

2007 Apr 13
0
[961] branches/wxruby2/wxwidgets_282/swig: Move wxDateTime typemap into shared file, map to core Time class instead
...xDateTime::wxDateTime_t s = (wxDateTime::wxDateTime_t)rSecond; + +&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp$1 = new wxDateTime(d, mon, y, h, min, s, 0); +} + +%typemap(out) wxDateTime& { + VALUE y = INT2NUM($1->GetYear()); + VALUE mon = INT2NUM($1->GetMonth() + 1); + VALUE d = INT2NUM($1->GetDay()); + VALUE h = INT2NUM($1->GetHour()); + VALUE min = INT2NUM($1->GetMinute()); + VALUE s = INT2NUM($1->GetSecond()); + + VALUE cTime = rb_iv_get(rb_cObject, "Time"); + // $result = rb_funcall(cDateTime, rb_intern(&q...
2009 Nov 02
3
question about difference in date objects
Hi R Community: I want to take the difference in two dates: dt2 - dt1. But, I want the answer in months between those 2 dates. Can you advise me? Please respond to: pzs6 at cdc.gov Thank you! Phil Smith Centers for Disease Control and Prevention
2007 Jun 25
0
[1072] trunk/wxruby2/swig/shared/datetime.i: Add typemap for DateTime::WeekDay; plug mem leak with wxDateTime arg
...; "if ( argc > $argnum - 2 ) delete $1;" + </ins><span class="cx"> %typemap(out) wxDateTime& { </span><span class="cx"> VALUE y = INT2NUM($1->GetYear()); </span><span class="cx"> VALUE mon = INT2NUM($1->GetMonth() + 1); </span><span class="lines">@@ -29,11 +31,14 @@ </span><span class="cx"> VALUE s = INT2NUM($1->GetSecond()); </span><span class="cx"> </span><span class="cx"> VALUE cTime = rb_iv_get(rb_cO...
2005 Jul 06
16
Autocompletion not working in Konqueror
I''ve just had a look again at the autocompletion demo that Thomas put up at http://script.aculo.us/demos/ajax/autocompleter Unfortunately, in Konqueror (3.4.1) it doesn''t work at all. Not even an error is triggered. It does work nicely in Firefox. How about Safari? I don''t have the time right now to track this down systematically (maybe latter), but just from
2007 Nov 27
0
12 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader_internal.h libswfdec/swfdec_load_object_as.c libswfdec/swfdec_load_object.c libswfdec/swfdec_load_object.h
..., "getFullYear", false], + ["_global.Date.prototype", "getHours", false], + ["_global.Date.prototype", "getMilliseconds", false], + ["_global.Date.prototype", "getMinutes", false], + ["_global.Date.prototype", "getMonth", false], + ["_global.Date.prototype", "getSeconds", false], + ["_global.Date.prototype", "getTime", false], + ["_global.Date.prototype", "getTimezoneOffset", false], + ["_global.Date.prototype", "getUTCDate",...