| 1 | /* $Id: 625main.c 1334 2004-04-05 19:45:58Z bird $
|
|---|
| 2 | *
|
|---|
| 3 | * TZ (tzset++) testcase.
|
|---|
| 4 | *
|
|---|
| 5 | * InnoTek Systemberatung GmbH confidential
|
|---|
| 6 | *
|
|---|
| 7 | * Copyright (c) 2003 InnoTek Systemberatung GmbH
|
|---|
| 8 | * Author: knut st. osmundsen <[email protected]>
|
|---|
| 9 | *
|
|---|
| 10 | * All Rights Reserved
|
|---|
| 11 | *
|
|---|
| 12 | */
|
|---|
| 13 | #include <time.h>
|
|---|
| 14 | #include <stdio.h>
|
|---|
| 15 | #include <stdlib.h>
|
|---|
| 16 | #include <string.h>
|
|---|
| 17 |
|
|---|
| 18 | static struct times
|
|---|
| 19 | {
|
|---|
| 20 | time_t time;
|
|---|
| 21 | } aTimes[7] =
|
|---|
| 22 | {
|
|---|
| 23 | 0, /* 1970-01-01 00:00:00 */
|
|---|
| 24 | 13046400, /* 1970-06-01 00:00:00 */
|
|---|
| 25 | -(10*365+3-31-29)*24*3600 - 12*3600, /* 1960-03-01 12:00:00 */
|
|---|
|
|---|