Kaz said:
LOL!
A coffee maker which knows 24 hour time, and what day of week it is, so
that brewing can be scheduled by day of week, is ridiculously over-featured.
I'm not sure that's over-featured. It needs at least a functioning
24-hour clock plus day-of-week so that it can brew coffee (or not) at
the proper time each morning. Knowing the year and date seems like
overkill, but it could allow the machine to adjust for daylight savings
time.
I'm not a coffee person, but the thermostat for my house has a full
clock built in for exactly these reasons: the temperature can be set by
hour and by day of week, which is very useful, and it automatically
adjusts itself for DST. My automatic pet feeder doesn't bother with
DST, though, so all it needs is the 24-hour clock plus day-of-week since
they think I need the ability to feed my cats at different times on the
weekend; _that_ is probably overkill.
That kind of time support is more suitable for a telephone answering machine.
Those still exist? I thought everyone had voice mail by now, and I'd
certainly expect any current model to be out of service by 2038.
For any embedded device, a lifespan of 68+ years seems ridiculous, so an
epoch that started the year of manufacture should be sufficient to avoid
Y2038 problems. Many embedded OSes run a subset of POSIX, though, so
I'm not sure it's possible to change the epoch. Even if that's a
violation, though, presumably that would be documented and the
manufacturer would check their own code to make sure it didn't depend on
a particular epoch.
The real problem seems limited to general-purpose computers that need to
run arbitrary software, which means a fixed epoch.
S