close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 18 years ago

Closed 18 years ago

#493 closed defect (fixed)

Bimonthly and Bimensual TimeSet definition

Reported by: Alfredo Torre Owned by: Víctor de Buen Remiro
Priority: high Milestone:
Component: TimeSetAlgebra Version: head
Severity: normal Keywords:
Cc:

Description

Hi everybody,
I want to talk about the definition of two TimeSet made in _constant.tol file included at _initlibrary.tol:

.- Bimensual: spanish word for something made or something that occurs twice a month (spanish definition: Que se hace u ocurre dos veces al mes). And TOL's definition is D(1)*(M(1)+M(3)+M(5)+M(7)+M(9)+M(11)) and that is not the same.

I think this could be the right definition in TOL:

TimeSet Bimensual = D(1) + D(15);
TimeSet Bimestral = D(1)*(M(1)+M(3)+M(5)+M(7)+M(9)+M(11));

.- Bimonthly: this english word can de used for both spanish meanings (Bimensual, Bimestral) as we can see in these links:
http://www.wordreference.com/es/translation.asp?tranword=bimonthly
http://dictionary.reference.com/search?q=bi%2Dmonthly

I think this could be one definition in TOL:

TimeSet Bimonthly = D(1)*(M(1)+M(3)+M(5)+M(7)+M(9)+M(11));
TimeSet Semimonthly = D(1) + D(15);

http://www.m-w.com/dictionary/semimonthly

Hope this help.

Thanks,
Alfredo Torre

Change History (8)

comment:1 Changed 18 years ago by danirus

* Bug 495 has been marked as a duplicate of this bug. *

comment:2 Changed 18 years ago by danirus

* Bug 494 has been marked as a duplicate of this bug. *

comment:3 Changed 18 years ago by Víctor de Buen Remiro

Owner: changed from danirus to Víctor de Buen Remiro

Hi

It is a good detailing but the problem is the compatibility backwards, that is to say, what takes control of the code that is using Bimensual with the sense “every two months”.

It would be necessary to investigate first if it is being used or not and then, replacing it by Bimonthly where it be used.

Thanks to report

comment:4 Changed 18 years ago by Víctor de Buen Remiro

Status: newassigned

comment:5 Changed 18 years ago by Alfredo Torre

Anyway, both Bimestral and Semimonthly TimeSet can be added in _constant.tol.

comment:6 Changed 18 years ago by Víctor de Buen Remiro

I'm full agree to add

TimeSet Bimestral = D(1)*(M(1)+M(3)+M(5)+M(7)+M(9)+M(11));

but currently exist these two time sets

TimeSet Quincenal = D(1)+D(16);
TimeSet Fornigthly = D(1)+D(16);

that covers something like

TimeSet Semimonthly = D(1) + D(15);

I don't know of none social process that occurs in any of these two close periodicities. Perhaps this definition is a better aproximation of central day of month

TimeSet Semimonthly = D(1) + ( D(15)*M(2) + D(16)*(C-M(2)) );

What do you think about it?

comment:7 Changed 18 years ago by Alfredo Torre

I did not remember Quincenal or Fornigthly!

I prefer your new definition of Semimonthly. I don't know if there is going to be someone who will need to use it but it's definitely better.

Thanks

comment:8 Changed 18 years ago by Víctor de Buen Remiro

Resolution: fixed
Status: assignedclosed

Well, then I'm going to add time sets Semimonthly, Semimensual, and Bimestral, and also a commentary about Bimensual:

TimeSet Semimensual = D(1) + ( D(15)*M(2) + D(16)*(C-M(2)) );
TimeSet Bimestral = D(1)*(M(1)+M(3)+M(5)+M(7)+M(9)+M(11));

VBR: Se mantiene por compatibilidad hacia atrás pero no es el significado
correcto en castellano pues en realidad sería equivalente a Semimensual
y no a bimestral (ver http://bugs.tol-project.org/show_bug.cgi?id=493)
TimeSet Bimensual = D(1)*(M(1)+M(3)+M(5)+M(7)+M(9)+M(11));

Thanks to report it

Note: See TracTickets for help on using tickets.