Changeset 025e90c in tol


Ignore:
Timestamp:
Nov 14, 2008, 5:59:47 PM (18 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
35af0ef
Parents:
5e8293f
Message:

Setting BDate::end_ = BDate(2500, JANUARY, 1) in order to speed up some calculations

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@161 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tol/bbasic/dte.cpp

    r5e8293f r025e90c  
    8585const char* BDateFormat::longWeekDay_[7][2] =
    8686{
    87   {"Monday",    "Lunes"},
    88   {"Tuesday",   "Martes"},
     87  {"Monday",      "Lunes"},
     88  {"Tuesday",     "Martes"},
    8989  {"Wednesday", "Miercoles"},
    9090  {"Thursday",  "Jueves"},
    91   {"Friday",    "Viernes"},
     91  {"Friday",      "Viernes"},
    9292  {"Saturday",  "Sabado"},
    93   {"Sunday",    "Domingo"}
     93  {"Sunday",      "Domingo"}
    9494};
    9595
    … …  
    105105    BText::InitializeClass();
    106106    BDate::begin_ = BDate(1582, DECEMBER, 31);
    107 #ifdef SHORT_BDATE_MODE_
    108     BDate::end_ = BDate(32767, JANUARY, 1);
    109 #else
    110     BDate::end_ = BDate((int) 10e6, JANUARY, 1);
    111 #endif
     107    BDate::end_ = BDate(2500, JANUARY, 1);
    112108    BDate::defaultFirst_ = BDate(DteToday().Year(), JANUARY,   1);
    113109    BDate::defaultLast_  = BDate(DteToday().Year(), DECEMBER, 31);
Note: See TracChangeset for help on using the changeset viewer.