Re: Two dimensional calendar array
From: Phil Hanna (pehanna_at_yahoo.com)
Date: 03/03/04
- Next message: moon: "Re: variable might not have been initialized"
- Previous message: Andrew Thompson: "Re: Help! Applet access remote database"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 03 Mar 2004 04:38:19 GMT
On Sat, 28 Feb 2004 18:35:53 +0100, "Juggernaut"
<juggernaut8181@hotmail.com> wrote:
>But do these arrays actually be filled with any info? Isnt it just the loop
>posting numbers?
>
>You see I want to fill these day arrays with values, random values (since I
>later have to do some calculations with them).
>
>So I want the array, with 365 "cells" of random values, to be calculated
>with later.
>
You may not need an array. How about a Map, where the key is a Date
object? You can use java.util.Calendar to give you the next day given
a particular date.
-- Phil Hanna Author of JSP 2.0: The Complete Reference http://www.philhanna.com
- Next message: moon: "Re: variable might not have been initialized"
- Previous message: Andrew Thompson: "Re: Help! Applet access remote database"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|