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