Displaying 4 results from an estimated 4 matches for "getyear".
Did you mean:
setyear
2006 Feb 09
5
Ajax.Updater not populating element - please help
...the_make = ''ford'';
var the_model = ''thunderbird'';
var the_year = ''1964'';
Event.observe(''make'', ''change'', getModels, false);
Event.observe(''model'', ''change'', getYears, false);
setMake(the_make);
getModels();
/*
if (the_model != null) {
getModels();
setModel(the_model);
}
if (the_year != null) {
getYears();
setYear(the_year);
}
*/
}
function getModels() {
var url = ''/util/model_select_...
2007 Apr 13
0
[961] branches/wxruby2/wxwidgets_282/swig: Move wxDateTime typemap into shared file, map to core Time class instead
...= (wxDateTime::wxDateTime_t)rMinute;
+ wxDateTime::wxDateTime_t s = (wxDateTime::wxDateTime_t)rSecond;
+
+        $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");
+ //...
2007 Jun 25
0
[1072] trunk/wxruby2/swig/shared/datetime.i: Add typemap for DateTime::WeekDay; plug mem leak with wxDateTime arg
...t;span class="cx">
</span><ins>+%typemap(freearg) wxDateTime& "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"...
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
...quot;getUTCMinutes", false],
+ ["_global.Date.prototype", "getUTCMonth", false],
+ ["_global.Date.prototype", "getUTCSeconds", false],
+ ["_global.Date.prototype", "getUTCYear", false],
+ ["_global.Date.prototype", "getYear", false],
+ ["_global.Date.prototype", "setDate", false],
+ ["_global.Date.prototype", "setFullYear", false],
+ ["_global.Date.prototype", "setHours", false],
+ ["_global.Date.prototype", "setMilliseconds", fal...