Two dimensional calendar array
From: Juggernaut (juggernaut8181_at_hotmail.com)
Date: 02/28/04
- Next message: Jayaram: "Re: Can we generate Unique ID from Java?"
- Previous message: Mark Thornton: "Re: Can we generate Unique ID from Java?"
- Next in thread: Oscar kind: "Re: Two dimensional calendar array"
- Reply: Oscar kind: "Re: Two dimensional calendar array"
- Reply: Andrew Harker: "Re: Two dimensional calendar array"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Feb 2004 06:35:49 -0800
I have a two dimensional array, [12][31], and I have it made as a
calender where the days are filled with some information. But some
months, like february only has 28 days so I havent filled 29 30 and
31. But now I want to make some calculations on these numbers, and
divide them by all the days. But the problem is they also count the
array fields like february 29 , 30 and 31 wich is empty..I tried a for
loop where if col < table[row].length && table[row][col] != null. But
that didnt work, how can I do this?
Someone suggested for me to try
yourArray[1] = new int SomeType[28];
But java didnt accept this.
Any advice would be gratefull.
- Next message: Jayaram: "Re: Can we generate Unique ID from Java?"
- Previous message: Mark Thornton: "Re: Can we generate Unique ID from Java?"
- Next in thread: Oscar kind: "Re: Two dimensional calendar array"
- Reply: Oscar kind: "Re: Two dimensional calendar array"
- Reply: Andrew Harker: "Re: Two dimensional calendar array"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|