You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by da...@apache.org on 2004/01/01 07:46:57 UTC

cvs commit: ws-axis/c/include/axis/common AxisTime.h

damitha     2003/12/31 22:46:57

  Modified:    c/include/axis/common Tag:
                        Release-2003_10_26-bugfixes_branch AxisTime.h
  Log:
  
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.5.2.2   +14 -14    ws-axis/c/include/axis/common/AxisTime.h
  
  Index: AxisTime.h
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/include/axis/common/AxisTime.h,v
  retrieving revision 1.5.2.1
  retrieving revision 1.5.2.2
  diff -u -r1.5.2.1 -r1.5.2.2
  --- AxisTime.h	27 Nov 2003 12:59:43 -0000	1.5.2.1
  +++ AxisTime.h	1 Jan 2004 06:46:56 -0000	1.5.2.2
  @@ -67,11 +67,11 @@
   
   typedef struct
   {
  -    long years;
  -    int months;
  -    int days;
  -    int hours;
  -    int mins;
  +    time_t years;
  +    time_t months;
  +    time_t days;
  +    time_t hours;
  +    time_t mins;
       double secs;
   } uDuration;
   
  @@ -100,7 +100,7 @@
           struct tm getDateTime();
           struct tm getDate();
           struct tm getTime();
  -        void mkCTime();
  +        int mkCTime();
   		static struct tm Deserialize(const AxisChar* strValue, XSDTYPE type);
   		static long DeserializeDuration(const AxisChar* strValue, XSDTYPE type);
   
  @@ -117,16 +117,16 @@
           AxisString strHours;
           AxisString strMins;
           AxisString strSecs;
  -        int m_intYears;
  -        int m_intMonths;
  -        int m_intDays;
  -        int m_intHours;
  -        int m_intMins;
  -        int m_intSecs;
  +        time_t m_intYears;
  +        time_t m_intMonths;
  +        time_t m_intDays;
  +        time_t m_intHours;
  +        time_t m_intMins;
  +        time_t m_intSecs;
           AxisString strZone;
           uDuration duration;
  -        long m_longYears;
  -        long m_Duration;
  +        time_t m_longYears;
  +        time_t m_Duration;
           //string strXSDDuration;
           AxisString strXSDDuration;
           AxisString strXSDDate;