What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » WLM Plus! General » Attaching timezone attributes to my chat list - A Suggestion

Attaching timezone attributes to my chat list - A Suggestion
Author: Message:
grinch
New Member
*

Avatar

Posts: 6
Joined: Jan 2006
O.P. RE: Attaching timezone attributes to my chat list - A Suggestion
Sure... requesting information from a pseudo-standardized source is one implementation... not one I'd be in favor of...  simply because of the tradeoffs... One that comes to mind is the dependency on a data source that could very easily go away. Another... data formats can be independently changed without notice.

I think that the basic time calculations are fairly straight forward - the time (without considering DST) is a predictable calculation from a known standard. DST is optionally applicable and when it is (applicable) it's basically plus or minus one hour from the current time depending on whether or not the date of the calculation falls inside or outside the DST window. The data storage requirements are relatively small...

You'd need:
   byte gmtOffHrs;                // range: 0 to 14 (hours)
   byte gmtOffMin;                // range: 0 or 30 (minutes)
   boolean plusMinus;          // 0 = +GMT, 1 = -GMT
   boolean useDST;              // 1 = DST,  0 = no DST
   unsigned long dstBegin;  // GMT timestamp when DST begins
   unsigned long dstEnd;     // GMT timestand when DST ends

I may have left something out... but I don't see any real advantage in requesting the data from an external source when the requirements for the calculation is so small...

I would disagree that the implementation would be difficult (I'm not saying it's trivial either). I also disagree that there is a "lot of user input" - I don't see it as any more than is required for a basic Windows installation... I also disagree that it would need to be re-entered every year... most DST windows have remained the same for years... but for the sake of argument let's assume that the dates do change... I don't see it as a show stopper.

Life would be much easier if I had the source code.
01-07-2006 09:02 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Attaching timezone attributes to my chat list - A Suggestion - by grinch on 01-02-2006 at 10:31 PM
RE: Attaching timezone attributes to my chat list - A Suggestion - by t1a0s on 01-03-2006 at 05:11 PM
RE: Attaching timezone attributes to my chat list - A Suggestion - by grinch on 01-03-2006 at 07:59 PM
RE: Attaching timezone attributes to my chat list - A Suggestion - by L. Coyote on 01-03-2006 at 08:56 PM
RE: Attaching timezone attributes to my chat list - A Suggestion - by grinch on 01-03-2006 at 09:40 PM
RE: Attaching timezone attributes to my chat list - A Suggestion - by CookieRevised on 01-03-2006 at 11:38 PM
RE: RE: Attaching timezone attributes to my chat list - A Suggestion - by Jerry J. on 01-07-2006 at 10:27 AM
RE: Attaching timezone attributes to my chat list - A Suggestion - by grinch on 01-07-2006 at 11:17 AM
RE: Attaching timezone attributes to my chat list - A Suggestion - by CookieRevised on 01-07-2006 at 05:47 PM
RE: Attaching timezone attributes to my chat list - A Suggestion - by grinch on 01-07-2006 at 09:02 PM
RE: Attaching timezone attributes to my chat list - A Suggestion - by CookieRevised on 01-08-2006 at 04:04 AM
RE: Attaching timezone attributes to my chat list - A Suggestion - by grinch on 01-08-2006 at 05:13 AM
RE: Attaching timezone attributes to my chat list - A Suggestion - by CookieRevised on 01-08-2006 at 05:39 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On