Date Parse
6
A simple tool used for fast Exponentiation. Very useful if you are creating your own cryptograpgic methods.
6
Convert
java.awt.Canvas to java.awt.image.BufferedImage or java.awt.image.Image
java.awt.Canvas to java.awt.image.BufferedImage or java.awt.image.Image
6
This is a quick and easy class that will generate MD5 hashes from strings. I originally wrote it to insert into my Oracle database so I could generate MD5 hases for passwords from PL/SQL.
Example
String md5Hash = stringMD5("my password");
Example
String md5Hash = stringMD5("my password");
6
Another way to generate a unique ID.
5
Draws a line (with arrow head) between two given points.
5
This class intended to collect TODO comments from java/c++/etc source files.
Example:
protected readFileData (String path) throws IOException {
// TODO: add try...catch block for IOException
InputStream is = new FileInputStream(path);
...
}
See also DirectoryScanner class.
Example:
protected readFileData (String path) throws IOException {
// TODO: add try...catch block for IOException
InputStream is = new FileInputStream(path);
...
}
See also DirectoryScanner class.
5
This function will convert a Date (passed as type TDateTime) to a long-format Julian calendar date (result as type String).
5
This function returns a Date object being set at 12 A.M. It is useful for comparing dates where you don't know if they'll come set at the beginning of the day or not.
5
Optimized way to calculate age from timestamp,
the idea is not to use date() call at all if possible.
the idea is not to use date() call at all if possible.
5









