Skip to content

Commit

Permalink
fix ted 46554, set day of month to 1 before setting month
Browse files Browse the repository at this point in the history
  • Loading branch information
pshi authored and mwu committed Jan 11, 2012
1 parent 667e9ab commit caa1560
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -51,6 +51,7 @@ else if ( calculateUnit.equals( MONTH ) )
TimeMember newMember = null;
for ( int i = startMonth; i <= month; i++ )
{
cal.set( Calendar.DAY_OF_MONTH, 1);
cal.set( Calendar.MONTH, i-1 );
int[] newValues = getValueFromCal( cal,levels);
newMember = new TimeMember(newValues,levels);
Expand Down

0 comments on commit caa1560

Please sign in to comment.