From 69f0e6b0bf0dc0a6c6fe8ccf17c74960697ca10c Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 8 Feb 2009 01:37:25 +0000 Subject: 1.0 released --- javadoc/shared/MyDate.html | 298 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 298 insertions(+) create mode 100644 javadoc/shared/MyDate.html (limited to 'javadoc/shared/MyDate.html') diff --git a/javadoc/shared/MyDate.html b/javadoc/shared/MyDate.html new file mode 100644 index 0000000..d4d6f64 --- /dev/null +++ b/javadoc/shared/MyDate.html @@ -0,0 +1,298 @@ + + + + + + +MyDate + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +shared +
+Class MyDate

+
+java.lang.Object
+  extended byjava.util.Date
+      extended byshared.MyDate
+
+
+
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable, java.io.Serializable
+
+
+
+
public class MyDate
extends java.util.Date
+ +

+This class extends the standard Date class and customizes the toString method. + This class also contains some helper methods to make the life easier. +

+ +

+

+
Author:
+
buetow
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
MyDate(java.util.Date date) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+static java.lang.StringaddZerosToFront(int iValue, + int iWantedLength) + +
+          This method adds zeros in front of a number and returns it as a string.
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.util.Date
after, before, clone, compareTo, compareTo, equals, getDate, getDay, getHours, getMinutes, getMonth, getSeconds, getTime, getTimezoneOffset, getYear, hashCode, parse, setDate, setHours, setMinutes, setMonth, setSeconds, setTime, setYear, toGMTString, toLocaleString, UTC
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+MyDate

+
+public MyDate(java.util.Date date)
+
+
+ + + + + + + + +
+Method Detail
+ +

+toString

+
+public java.lang.String toString()
+
+
+
See Also:
Object.toString()
+
+
+
+ +

+addZerosToFront

+
+public static java.lang.String addZerosToFront(int iValue,
+                                               int iWantedLength)
+
+
This method adds zeros in front of a number and returns it as a string. +

+

+
Parameters:
iValue - Specifies the number to add zeros to.
iWantedLength - Specifies the wanted max length of the string. +
Returns:
Returns the number represented as a string with additional zeros on front.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + -- cgit v1.2.3