| 1 | [[PageOutline]] |
| 2 | = TimeSet = |
| 3 | Funciones que devuelven TimeSet[[BR]] |
| 4 | == Función '''*''' == |
| 5 | * Declaración: |
| 6 | {{{ |
| 7 | TimeSet tms1 * tms2 {TimeSet tms1, TimeSet tms2} |
| 8 | }}} |
| 9 | * Descripción: |
| 10 | {{{ |
| 11 | Devuelve la intersección de ambos conjuntos temporales. |
| 12 | }}} |
| 13 | * Lenguaje:C++ |
| 14 | * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/timeset_type/tmsgrav.cpp tol/btol/timeset_type/tmsgrav.cpp] |
| 15 | |
| 16 | == Función '''+''' == |
| 17 | * Declaración: |
| 18 | {{{ |
| 19 | TimeSet tms1 + tms2 {TimeSet tms1, TimeSet tms2} |
| 20 | }}} |
| 21 | * Descripción: |
| 22 | {{{ |
| 23 | Devuelve la unión de ambos conjuntos temporales. |
| 24 | }}} |
| 25 | * Lenguaje:C++ |
| 26 | * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/timeset_type/tmsgrav.cpp tol/btol/timeset_type/tmsgrav.cpp] |
| 27 | |
| 28 | == Función '''-''' == |
| 29 | * Declaración: |
| 30 | {{{ |
| 31 | TimeSet tms1 - tms2 {TimeSet tms1, TimeSet tms2} |
| 32 | }}} |
| 33 | * Descripción: |
| 34 | {{{ |
| 35 | Devuelve la diferencia entre ambos conjuntos temporales. |
| 36 | }}} |
| 37 | * Lenguaje:C++ |
| 38 | * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/timeset_type/tmsgrav.cpp tol/btol/timeset_type/tmsgrav.cpp] |
| 39 | |
| 40 | == Función '''D''' == |
| 41 | * Declaración: |
| 42 | {{{ |
| 43 | TimeSet D(Real n) |
| 44 | }}} |
| 45 | * Descripción: |
| 46 | {{{ |
| 47 | Devuelve el conjunto temporal de todas las fechas que son el enésimo día del mes. |
| 48 | }}} |
| 49 | * Lenguaje:C++ |
| 50 | * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/timeset_type/tmsgra.cpp tol/btol/timeset_type/tmsgra.cpp] |
| 51 | |
| 52 | == Función '''DatesOfSet''' == |
| 53 | * Declaración: |
| 54 | {{{ |
| 55 | TimeSet DatesOfSet(Set s) |
| 56 | }}} |
| 57 | * Descripción: |
| 58 | {{{ |
| 59 | Devuelve el conjunto temporal compuesto por todas las fechas de un conjunto ordinario de fechas. |
| 60 | }}} |
| 61 | * Lenguaje:C++ |
| 62 | * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/timeset_type/tmsgrav.cpp tol/btol/timeset_type/tmsgrav.cpp] |
| 63 | |
| 64 | == Función '''Day''' == |
| 65 | * Declaración: |
| 66 | {{{ |
| 67 | TimeSet Day(Date d) |
| 68 | }}} |
| 69 | * Descripción: |
| 70 | {{{ |
| 71 | Devuelve el conjunto temporal compuesto de un único día dado. |
| 72 | }}} |
| 73 | * Lenguaje:C++ |
| 74 | * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/timeset_type/tmsgrav.cpp tol/btol/timeset_type/tmsgrav.cpp] |
| 75 | |
| 76 | == Función '''H''' == |
| 77 | * Declaración: |
| 78 | {{{ |
| 79 | TimeSet H(Real hora) |
| 80 | }}} |
| 81 | * Descripción: |
| 82 | {{{ |
| 83 | Devuelve el conjunto temporal de todas las fechas en la hora dada. |
| 84 | }}} |
| 85 | * Lenguaje:C++ |
| 86 | * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/timeset_type/tmsgra.cpp tol/btol/timeset_type/tmsgra.cpp] |
| 87 | |
| 88 | == Función '''In''' == |
| 89 | * Declaración: |
| 90 | {{{ |
| 91 | TimeSet In(Date desde, Date hasta [, TimeSet unidades = Diario]) |
| 92 | }}} |
| 93 | * Descripción: |
| 94 | {{{ |
| 95 | Devuelve el conjunto temporal de todas las fechas entre dos fechas dadas. |
| 96 | }}} |
| 97 | * Lenguaje:C++ |
| 98 | * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/timeset_type/tmsgrav.cpp tol/btol/timeset_type/tmsgrav.cpp] |
| 99 | |
| 100 | == Función '''Intersection''' == |
| 101 | * Declaración: |
| 102 | {{{ |
| 103 | TimeSet Intersection(TimeSet tms1, TimeSet tms2 [, TimeSet tms3, ... ]) |
| 104 | }}} |
| 105 | * Descripción: |
| 106 | {{{ |
| 107 | Devuelve la intersección de todos los conjuntos temporales dados. |
| 108 | }}} |
| 109 | * Lenguaje:C++ |
| 110 | * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/timeset_type/tmsgrav.cpp tol/btol/timeset_type/tmsgrav.cpp] |
| 111 | |
| 112 | == Función '''M''' == |
| 113 | * Declaración: |
| 114 | {{{ |
| 115 | TimeSet M(Real n) |
| 116 | }}} |
| 117 | * Descripción: |
| 118 | {{{ |
| 119 | Devuelve el conjunto temporal de todas las fechas del enésimo mes del año. |
| 120 | }}} |
| 121 | * Lenguaje:C++ |
| 122 | * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/timeset_type/tmsgra.cpp tol/btol/timeset_type/tmsgra.cpp] |
| 123 | |
| 124 | == Función '''Mi''' == |
| 125 | * Declaración: |
| 126 | {{{ |
| 127 | TimeSet Mi(Real minuto) |
| 128 | }}} |
| 129 | * Descripción: |
| 130 | {{{ |
| 131 | Devuelve el conjunto temporal de todas las fechas en el minuto dado. |
| 132 | }}} |
| 133 | * Lenguaje:C++ |
| 134 | * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/timeset_type/tmsgra.cpp tol/btol/timeset_type/tmsgra.cpp] |
| 135 | |
| 136 | == Función '''Periodic''' == |
| 137 | * Declaración: |
| 138 | {{{ |
| 139 | TimeSet Periodic(Date D, Real P [, TimeSet unidades = Diario]) |
| 140 | }}} |
| 141 | * Descripción: |
| 142 | {{{ |
| 143 | Devuelve el conjunto temporal periódico, compuesto por una fecha D y todas sus translaciones a un número de fechas múltiplo de P dentro del fechado de unidades dado. |
| 144 | }}} |
| 145 | * Lenguaje:C++ |
| 146 | * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/timeset_type/tmsgrav.cpp tol/btol/timeset_type/tmsgrav.cpp] |
| 147 | |
| 148 | == Función '''Range''' == |
| 149 | * Declaración: |
| 150 | {{{ |
| 151 | TimeSet Range(TimeSet T, Real N0, Real N1 [, TimeSet unidades = Diario]) |
| 152 | }}} |
| 153 | * Descripción: |
| 154 | {{{ |
| 155 | Devuelve la unión de todas las translaciones (vea la función Succ) del conjunto temporal T, para cada número entero desde N0 hasta N1. Obviamente, si N0>N1 se obtiene el conjunto temporal vacío. |
| 156 | }}} |
| 157 | * Lenguaje:C++ |
| 158 | * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/timeset_type/tmsgrav.cpp tol/btol/timeset_type/tmsgrav.cpp] |
| 159 | |
| 160 | == Función '''S''' == |
| 161 | * Declaración: |
| 162 | {{{ |
| 163 | TimeSet S(Real segundo) |
| 164 | }}} |
| 165 | * Descripción: |
| 166 | {{{ |
| 167 | Devuelve el conjunto temporal de todas las fechas en el segundo dado. |
| 168 | }}} |
| 169 | * Lenguaje:C++ |
| 170 | * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/timeset_type/tmsgra.cpp tol/btol/timeset_type/tmsgra.cpp] |
| 171 | |
| 172 | == Función '''SerTms''' == |
| 173 | * Declaración: |
| 174 | {{{ |
| 175 | TimeSet SerTms(Serie ser) |
| 176 | }}} |
| 177 | * Descripción: |
| 178 | {{{ |
| 179 | Devuelve el conjunto temporal de todas las fechas del fechado de una serie en las que ésta no se anula. |
| 180 | }}} |
| 181 | * Lenguaje:C++ |
| 182 | * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/timeset_type/tmsgrav.cpp tol/btol/timeset_type/tmsgrav.cpp] |
| 183 | |
| 184 | == Función '''StdLib::FullWeeks''' == |
| 185 | * Declaración: |
| 186 | {{{ |
| 187 | TimeSet StdLib::FullWeeks(TimeSet ts) |
| 188 | }}} |
| 189 | * Descripción: |
| 190 | {{{ |
| 191 | |
| 192 | Devuelve el TimeSet que completa en semanas enteras a partir del 'ts' |
| 193 | |
| 194 | }}} |
| 195 | * Lenguaje:TOL |
| 196 | * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_timeset.tol stdlib/tol/general/grammars/_timeset.tol] |
| 197 | |
| 198 | == Función '''StdLib::LDM''' == |
| 199 | * Declaración: |
| 200 | {{{ |
| 201 | TimeSet StdLib::LDM(Real month) |
| 202 | }}} |
| 203 | * Descripción: |
| 204 | {{{ |
| 205 | El ultimo día del mes n-ésimo de cualquier año (Last Day of Month) |
| 206 | }}} |
| 207 | * Lenguaje:TOL |
| 208 | * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_timeset.tol stdlib/tol/general/grammars/_timeset.tol] |
| 209 | |
| 210 | == Función '''StdLib::MinComunFechado''' == |
| 211 | * Declaración: |
| 212 | {{{ |
| 213 | TimeSet StdLib::MinComunFechado(Set ser) |
| 214 | }}} |
| 215 | * Descripción: |
| 216 | {{{ |
| 217 | |
| 218 | }}} |
| 219 | * Lenguaje:TOL |
| 220 | * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_timeset.tol stdlib/tol/general/grammars/_timeset.tol] |
| 221 | |
| 222 | == Función '''Succ''' == |
| 223 | * Declaración: |
| 224 | {{{ |
| 225 | TimeSet Succ(TimeSet T, Real n [, TimeSet unidades = Diario]) |
| 226 | }}} |
| 227 | * Descripción: |
| 228 | {{{ |
| 229 | Devuelve el conjunto temporal T, trasladado n fechas a lo largo del fechado de unidades dado, hacia el futuro, si n es positivo, o hacia el pasado, si n es negativo. Si n es cero devuelve el propio T. |
| 230 | }}} |
| 231 | * Lenguaje:C++ |
| 232 | * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/timeset_type/tmsgrav.cpp tol/btol/timeset_type/tmsgrav.cpp] |
| 233 | |
| 234 | == Función '''Union''' == |
| 235 | * Declaración: |
| 236 | {{{ |
| 237 | TimeSet Union(TimeSet tms1, TimeSet tms2 [, TimeSet tms3, ... ]) |
| 238 | }}} |
| 239 | * Descripción: |
| 240 | {{{ |
| 241 | Devuelve la unión de todos los conjuntos temporales dados. |
| 242 | }}} |
| 243 | * Lenguaje:C++ |
| 244 | * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/timeset_type/tmsgrav.cpp tol/btol/timeset_type/tmsgrav.cpp] |
| 245 | |
| 246 | == Función '''WD''' == |
| 247 | * Declaración: |
| 248 | {{{ |
| 249 | TimeSet WD(Real n) |
| 250 | }}} |
| 251 | * Descripción: |
| 252 | {{{ |
| 253 | Devuelve el conjunto temporal de todas las fechas que son el enésimo día de la semana. El parámetro n tiene que estar entre los valores 1 (Lunes) y 7 (Domingo). |
| 254 | }}} |
| 255 | * Lenguaje:C++ |
| 256 | * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/timeset_type/tmsgra.cpp tol/btol/timeset_type/tmsgra.cpp] |
| 257 | |
| 258 | == Función '''Y''' == |
| 259 | * Declaración: |
| 260 | {{{ |
| 261 | TimeSet Y(Real n) |
| 262 | }}} |
| 263 | * Descripción: |
| 264 | {{{ |
| 265 | Devuelve el conjunto temporal de todas las fechas del enésimo año. |
| 266 | }}} |
| 267 | * Lenguaje:C++ |
| 268 | * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/timeset_type/tmsgrav.cpp tol/btol/timeset_type/tmsgrav.cpp] |
| 269 | |