home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / lang / c / 19446 < prev    next >
Encoding:
Text File  |  1993-01-08  |  2.4 KB  |  52 lines

  1. Newsgroups: comp.lang.c
  2. Path: sparky!uunet!noc.near.net!gateway!miki!nail!geiser
  3. From: geiser@nail.NoSubdomain.NoDomain (Wayne Geiser)
  4. Subject: Re: Recurring date/times?
  5. Message-ID: <1993Jan8.185609.9591@miki.pictel.com>
  6. Sender: geiser@nail (Wayne Geiser)
  7. Nntp-Posting-Host: nail
  8. Organization: PictureTel Corporation
  9. References: <C0D387.HEH@panix.com> <1993Jan5.175737.23724@miki.pictel.com> <1993Jan08.044526.36650@spillman.uucp>
  10. Date: Fri, 8 Jan 1993 18:56:09 GMT
  11. Lines: 39
  12.  
  13. In article <1993Jan08.044526.36650@spillman.uucp>, tye@spillman.uucp (E. Tye McQueen) writes:
  14. |> geiser@pictel.com (Wayne Geiser) writes:
  15. |> 
  16. |> )In article <C0D387.HEH@panix.com>, rmah@panix.com (Robert Mah) writes:
  17. |> )|> Anyone have any suggestions on good data structures for representing 
  18. |> )|> recurring dates and times.  That is, things like "the first teusday
  19. |> )|> of every month" or "three days before the end of every month", etc.
  20. |> )
  21. [ Lots of date formats to calculate lots of different events ... ]
  22. |> 
  23. |> Are you missing one for "the day you get off for Christmas"?
  24. |> Ie. 12/25 unless on a weekend when you add or subtract one.
  25. |> 
  26. |> Very similar is "the day you get off for Independence day":
  27. |> 07/04 unless on a weekend when you go to the next Monday.
  28.  
  29. Why yes, these formats are missing.  I guess I didn't deem them important because
  30. they vary by even company to company (e.g. PictureTel got both Christmas and
  31. Christmas Eve off, I heard of other companies only giving Christmas off, and I
  32. recall hearing of one company who gave 12/25 and 12/28 off).
  33.  
  34. It's just too hard for little return.
  35.  
  36. |>  tye@spillman.com                         Tye McQueen, E.
  37. |> ----------------------------------------------------------
  38. |>  Nothing is obvious unless you are overlooking something. 
  39. |> ----------------------------------------------------------
  40. -- 
  41. **********************************************************************
  42. * Wayne Geiser ("Drivel King")           Voice:    (508) 977-8253    *
  43. * PictureTel Corporation                 FAX:      (508) 532-6893    *
  44. * One Corporation Way                    Internet: geiser@pictel.com *
  45. * Peabody, MA      01960                 CIS:      70313,3615        *
  46. *                                        GEnie:    W.GEISER          *
  47. **********************************************************************
  48. "I don't want to just sit here blaming Congress.  I mean, we're all in
  49.  this together."
  50.  
  51.         - George Bush.
  52.