Results 1 to 8 of 8
- 07-05-2011, 12:19 AM #1
Member
- Join Date
- Jul 2011
- Location
- Norway
- Posts
- 2
- Rep Power
- 0
How to organize/design a date and time array?
Hi, been a time since I have programmed java and I am stuck with some basics.
I basically what to make a graph with a "double value" for each minute of the day at any given day/month/year.
Each minute value needs a default value.
Have to start by setting a start date and minute.
but then I some way need to add for upcomming minues for the future ahead.
and how to find a minute value after "one year" whitout going through the hole list.
some tips on how to organize/design this the best way? Arraylist, List, Collection, Set, Vector?
- 07-05-2011, 01:15 AM #2
Senior Member
- Join Date
- Jun 2008
- Posts
- 339
- Rep Power
- 5
I can't make sense of what you're trying to do - maybe if you posted an example, or explained what it was for?
- 07-05-2011, 01:28 AM #3
None of the above. Map<Date, Double>how to organize/design this the best way? Arraylist, List, Collection, Set, Vector?
db
- 07-05-2011, 09:08 AM #4
Member
- Join Date
- Jul 2011
- Location
- Norway
- Posts
- 2
- Rep Power
- 0
Will look in to the Map interface.
Will try to explain more if the Map do not help me.
Thanks, so far.
- 07-05-2011, 09:33 AM #5
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,407
- Blog Entries
- 7
- Rep Power
- 17
Maybe you can google for "jrobin"; it's a pure Java implementation of the RRDTool and is very well capable of handling huge amounts of data related to time series. I can also draw nice graphs for you.
kind regards,
JosWhen people rob a bank they get a penalty; when banks rob people they get a bonus.
- 07-05-2011, 10:10 AM #6
Moderator
- Join Date
- Apr 2009
- Posts
- 10,481
- Rep Power
- 16
- 07-05-2011, 10:14 AM #7
Tolls beat me to it
db
- 07-05-2011, 10:44 AM #8
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,407
- Blog Entries
- 7
- Rep Power
- 17
Similar Threads
-
Calender date discard/remove Z and time at the end of the calender date
By reach2sudhakar in forum Advanced JavaReplies: 18Last Post: 05-11-2011, 07:36 AM -
Date vs Time
By mikerada6 in forum New To JavaReplies: 1Last Post: 10-29-2010, 12:34 AM -
converting string (GMT date) to date in US time.
By JRuyechan in forum New To JavaReplies: 1Last Post: 10-15-2010, 07:07 AM -
Time and Date
By Manfizy in forum New To JavaReplies: 0Last Post: 05-27-2009, 12:58 PM -
Time-Date problem
By teo.danciu in forum New To JavaReplies: 5Last Post: 08-27-2008, 10:01 AM


1Likes
LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks