Changeset 3587 in Sophya for trunk/SophyaLib/NTools/dates.cc


Ignore:
Timestamp:
Mar 5, 2009, 2:26:38 PM (17 years ago)
Author:
ansari
Message:

Adaptation suite nettoyage/suppression TRY/CATCH... , Reza 05/03/2009

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/NTools/dates.cc

    r3572 r3587  
    112112 
    113113  // Nous sommes dans un mois-frontiere
    114   DBASSERT(dt.MM == dstStopMonth || dt.MM == dstStartMonth);
     114  ASSERT(dt.MM == dstStopMonth || dt.MM == dstStartMonth);
    115115 
    116116  if (dt.MM == dstStartMonth) {
     
    493493 
    494494  if (tOpt == kLocalTime) {
    495     DBASSERT(timeZone != NULL);
     495    ASSERT(timeZone != NULL);
    496496    operator -= (timeZone->gmtOffset/24.0);
    497497    if (timeZone->IsDst(*this))
     
    511511  Date dt(*this);
    512512  if (tOpt == kLocalTime && !UndetTime()) {
    513     DBASSERT(timeZone != NULL);
     513    ASSERT(timeZone != NULL);
    514514    dt += timeZone->GetOffset(*this)/24.0;
    515515  }
     
    535535  Date dt(*this);
    536536  if (tOpt == kLocalTime && !UndetTime()) {
    537     DBASSERT(timeZone != NULL);
     537    ASSERT(timeZone != NULL);
    538538    dt += timeZone->GetOffset(*this)/24.0;
    539539  }
     
    569569  Date dt(*this);
    570570  if (tOpt == kLocalTime) {
    571     DBASSERT(timeZone != NULL);
     571    ASSERT(timeZone != NULL);
    572572    dt += timeZone->GetOffset(*this)/24.0;
    573573  }
     
    628628  double t = GetDays();
    629629  if (tOpt == kLocalTime && hh >=0) {
    630     DBASSERT(timeZone != NULL);
     630    ASSERT(timeZone != NULL);
    631631    t += timeZone->GetOffset(*this)/24.0;
    632632  }
Note: See TracChangeset for help on using the changeset viewer.