wolven7: (The Very Devil)
[personal profile] wolven7
Do you know what I want? I want an application into which I can input the general timezones of different people, and then save them as groups or project headers. That way I can always have to hand a reminder of the times at which the people with whom I'm working will be the most active.

Doesn't that sound crazy useful for this semi-post-geographical position in which we find ourselves?

Now who knows how to code something like that?

Date: 2013-06-17 06:24 pm (UTC)
From: [identity profile] raidingparty.livejournal.com
That'd actually be pretty easy. All you need is a table with name, a number (0 through 23), and a clock.
However, that ignores people who work graveyard hours or whatnot. A more complete answer would have name (string), wakeup (number), and bedtime (number), where wakeup and bedtime are your current time rather than theirs.
Then in Java I would have the IsAwake() function, which returns true if (currentTime>=name.wakeup)AND(currentTime<=name.bedtime).

Profile

wolven7: (Default)
wolven7

February 2016

S M T W T F S
 1 23456
78910111213
14151617181920
21222324252627
2829     

Style Credit

Expand Cut Tags

No cut tags
Page generated Mar. 16th, 2026 06:01 am
Powered by Dreamwidth Studios