litesoft
Diff Revisions
2
vs
49
for /trunk/Java/core/Anywhere/src/org/litesoft/core/simpletypes/temporal/SimpleDate.java
|
@@ -1,3 +1,4 @@ |
|
1 |
+ |
// This Source Code is in the Public Domain per: http://litesoft.org/License.txt |
1 |
2 |
|
package org.litesoft.core.simpletypes.temporal; |
2 |
3 |
|
|
3 |
4 |
|
import java.util.*; |
|
@@ -10,13 +11,13 @@ |
10 |
11 |
|
* varying levels of resolution based on the Format String (which supports formatting similar to SimpledateFormat). |
11 |
12 |
|
* <p/> |
12 |
13 |
|
* <pre> |
13 |
|
- |
* y Year - YY (1996 becomes 96), |
|
14 |
+ |
* y Year - YY (1996 becomes 96), |
14 |
15 |
|
* otherwise it is the complete Year, eg: 1996, 2001, 10050. |
15 |
|
- |
* M Month - M generates no leading 0 months as numbers, |
|
16 |
+ |
* M Month - M generates no leading 0 months as numbers, |
16 |
17 |
|
* MM produces 2 digit month numbers, |
17 |
18 |
|
* MMM produces 3 letter month abbreviated form, |
18 |
19 |
|
* MMMM (4 or more) produces the full form. |
19 |
|
- |
* d Day - d generates no leading 0 day of month as numbers, |
|
20 |
+ |
* d Day - d generates no leading 0 day of month as numbers, |
20 |
21 |
|
* dd produces 2 digit day of month numbers. |
21 |
22 |
|
* </pre> |
22 |
23 |
|
*/ |