Sorry all - my filter blew up this morning.
--Joe

-----Original Message-----
From: Unmoderated discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Bill Bassler
Sent: Friday, November 12, 2004 04:36
To: [EMAIL PROTECTED]
Subject: [ADVANCED-DOTNET] Object model for a TimeOfDay (24 hour day)
concept.

I'm trying to determine the appropriate way to model the concept of the
TimeOfDay. This would be specifically for the purpose of a master
schedule which is a template for an actual schedule. The actual schedule
uses the master template to determine when something can be scheduled.
e.g. Any Mondays and Fridays at 3:00PM. Because of this the schedule
start and end times in the master (template) schedule item are not
associated with a physical datetime. However, time manipulations for
zone adjustments are still required on the start and end times. I have
not been able to find the concept of TimeOfDay(24 hour day)in any
framework objects. There's just DateTime.
I can just create a DateTime using the time only which defaults to the
current day on the server and then strip it to a time-only formatted
string but this is a bit clunky.

Questions:
Are there any framework or third party "TimeOfDay" objects?

If there are no implementations available, what is the best approach to
handle the functionality of TimeOfDay?

===================================
This list is hosted by DevelopMentor(r)  http://www.develop.com Some
.NET courses you may be interested in:

Essential .NET: building applications and components with C# November 29
- December 3, in Los Angeles http://www.develop.com/courses/edotnet

View archives and manage your subscription(s) at
http://discuss.develop.com

===================================
This list is hosted by DevelopMentorŪ  http://www.develop.com
Some .NET courses you may be interested in:

Essential .NET: building applications and components with C#
November 29 - December 3, in Los Angeles
http://www.develop.com/courses/edotnet

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to