litesoft
Diff Revisions
809
vs
851
for /trunk/Java/GWT/OldClient/src/org/litesoft/GWT/client/widgets/nonpublic/CreditsPanel.java
|
@@ -6,6 +6,7 @@ |
6 |
6 |
|
import org.litesoft.GWT.client.widgets.*; |
7 |
7 |
|
import org.litesoft.core.simpletypes.temporal.*; |
8 |
8 |
|
import org.litesoft.core.typeutils.*; |
|
9 |
+ |
import org.litesoft.core.typeutils.gregorian.*; |
9 |
10 |
|
import org.litesoft.ui.support.nonpublic.*; |
10 |
11 |
|
|
11 |
12 |
|
import com.google.gwt.user.client.ui.*; |
|
@@ -97,7 +98,7 @@ |
97 |
98 |
|
{ |
98 |
99 |
|
int year = zMY.getYear(); |
99 |
100 |
|
int month = zMY.getMonth(); |
100 |
|
- |
int daysInMonth = SimpleDate.daysInMonth( year, month ); |
|
101 |
+ |
int daysInMonth = Month.daysIn( year, month ); |
101 |
102 |
|
int lastSplit = (daysInMonth + 18) / 2; |
102 |
103 |
|
builder.colorize( creditsData.wasActiveDuring( year, month, 1, 6 ) ); |
103 |
104 |
|
builder.add( '|' ); // 1 |