appletdate.c File Reference

#include "appletdefs.h"
#include "appletstrings.h"
#include "appletmemory.h"
#include "appletdate.h"
#include <Packages.h>

Include dependency graph for appletdate.c:

Go to the source code of this file.

Functions

void datetomacdate (tydaterecord rec, unsigned long *secs)
void appletdatetostring (tydaterecord rec, bigstring bs)
void getcurrenttimestring (bigstring bs)
static void popnumber (bigstring bs, long *num)
static void popshort (bigstring bs, short *num)
boolean stringtoappletdate (bigstring bs, tydaterecord *rec)
boolean stringtotime (bigstring bsdate, unsigned long *time)
unsigned long netscapedatetomacdate (unsigned long date)
unsigned long macdatetonetscapedate (unsigned long date)


Function Documentation

void appletdatetostring tydaterecord  rec,
bigstring  bs
 

Definition at line 36 of file appletdate.c.

References bigstring, datetomacdate(), and pushstring().

Referenced by setcarddate().

Here is the call graph for this function:

void datetomacdate tydaterecord  rec,
unsigned long secs
 

Definition at line 14 of file appletdate.c.

References tydaterecord::day, tydaterecord::hour, tydaterecord::minute, tydaterecord::month, tydaterecord::second, and tydaterecord::year.

Referenced by appletdatetostring().

void getcurrenttimestring bigstring  bs  ) 
 

Definition at line 53 of file appletdate.c.

References bigstring, now, and pushstring().

Here is the call graph for this function:

unsigned long macdatetonetscapedate unsigned long  date  ) 
 

Definition at line 197 of file appletdate.c.

unsigned long netscapedatetomacdate unsigned long  date  ) 
 

Definition at line 191 of file appletdate.c.

static void popnumber bigstring  bs,
long num
[static]
 

Definition at line 70 of file appletdate.c.

References moveleft().

Referenced by popshort().

Here is the call graph for this function:

static void popshort bigstring  bs,
short num
[static]
 

Definition at line 104 of file appletdate.c.

References popnumber(), and short.

Referenced by stringtoappletdate().

Here is the call graph for this function:

boolean stringtoappletdate bigstring  bs,
tydaterecord rec
 

Definition at line 114 of file appletdate.c.

References popshort().

Referenced by getcarddate().

Here is the call graph for this function:

boolean stringtotime bigstring  bsdate,
unsigned long time
 

Definition at line 132 of file appletdate.c.

References adjustforcurrenttimezone(), bigstring, clearbytes(), datetimetoseconds(), tydaterec::day, tyinternationalinfo::defaultTimeFormat, err_kInvalidPunctuation, tyvalidationerror::errorNumber, tydaterec::hour, isnumeric, longsizeof, midstring(), tydaterec::minute, tydaterec::month, noErr, NULL, scanstring(), tydaterec::second, stringlength, tyinternationalinfo::timesep, and tydaterec::year.

Here is the call graph for this function:


Generated on Wed May 31 20:12:23 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6