Search

You can find the results of your search below. If you didn't find what you were looking for, you can create or edit the page named after your query with the appropriate button.

Results


DateTools: 16 Hits
1, 30, 31, 31, 30, 31, 30, 31 }; return daysPerMonth[userMonth] + ((IsLeapYear(us... r starts. */ if (year < 1582) return (-1); /* Catch month out of range. */ ... if ((month < 0) || (month > 11)) return (-1); /* Get day of week for Jan 1 of gi... Day++; /* Convert to day of the week and return. */ return (firstDay % 7); } // CalcF
Visual Calendar Servlet: 7 Hits
ion { performTask(request, response); } /** * Returns the servlet info string. */ public String getServletInfo() { return super.getServletInfo(); } /** * Initializes the servlet. */ public void in... here. * Creation date: (9/27/01 11:49:25 AM) * @return java.lang.String * @param month int * @param ye... lic String nextYearURL(int month, int year) { return "<A HREF=\"http://www.thefreyers.net/servlets/CFW
Creating a 4-Disk RAID Array: 7 Hits
OCK value must be a number."); block.focus(); return; } var chunk = document.getElementById('chunk')... UNK value must be a number."); chunk.focus(); return; } var spind = document.getElementById('spind')... SPINDLES must be a number."); spind.focus(); return; } var raidtype = document.getElementById('raid... st be 0, 1, 10, 5, or 6."); raidtype.focus(); return; } var devname = document.getElementById('devna
ToolBar Hacking: 6 Hits
and # rows and if a // header row is desired. returns appropriate // wiki text // // Chris@TheFreye... umber of COLUMNS",col); if (!col) return ""; if(isNaN(col))error_string="Y... number of ROWS", row); if (!row) return ""; if(isNaN(row))error_string="Y... if (row < 1 || col < 1){ return "";} //-----include a header row?-----
Namespace Security: 4 Hits
eliminate confusion. Consider a document named "return.pdf." Is this a tax return, or does it describe U... ion to the document name, perhaps calling it "tax_return.pdf" to solve the problem. But what happens when... re information in the filename, such as "2008_tax_return.pdf". While this is easy to do in a single-user
Using Strings in Switch Statements: 2 Hits
c Action getEnum(String str) { try {return valueOf(str);} catch (Exception ex){return novalue;} } } </code> The words on the first line (Walk, Run, etc...) are the enumerate
Experiment #2: 2 Hits
atic String idToUserName(final long id) { return "user_" + id; } private static Node crea... vice.index(node, USERNAME_KEY, username); return node; } private static void registerShut
Thread Example: 1 Hits
ning snack", "going to lunch", "eating lunch", "returning from lunch", "working after lunch", "getting... me() + msg); } public String getTime() { return "[" + sdf.format(new Date()) + "]"; } } </cod
Résumé: 1 Hits
ser to switch to a specific memory bank and press return. * Wrote a text-based adventure game similar
Non-Java XML Schema Validator: 1 Hits
nd checks them to see if they are valid XML. The return code on a VALID document is zero, but it is a pos
Java Class Loaders: 1 Hits
thingClassLoader was asked to find "+name+"."); return super.findClass(name); } } </code> And use it at
Bathroom Remodel: 1 Hits
near ceiling for lighting above closet * new AC return vent in ceiling to pull from hallway outside bath... s. I gladly bought the supplies for the task and returned home. It was a bit unnerving to think about th
Easter Date Calculations: 1 Hits
set(Calendar.MONTH, EasterMonth-1); cal.set(Calendar.YEAR, year); return cal.getTime(); } } </code>
XML Schema Validator: 1 Hits
er Not Found"); ERROR = true; } finally { return (ERROR ? 1 : 0); } } /*--------------------
The Dog Page: 1 Hits
 
Recent changes RSS feed Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki