comparison doc/design.txt @ 5067:e424987d294a

Add support for an integer type to join the existing number type. Commit patch supplied for issue2550886. This can be used for properties used for ordering, counts etc. where a decimal point isn't needed. Developed by Anthony (antmail). Doc updates written by John Rouillard.
author John Rouillard <rouilj@ieee.org>
date Sun, 05 Jun 2016 00:17:26 -0400
parents 854238f78026
children 8901cc4ef0e0
comparison
equal deleted inserted replaced
5066:d2256fcfd81f 5067:e424987d294a
225 225
226 - String properties are for storing arbitrary-length strings. 226 - String properties are for storing arbitrary-length strings.
227 227
228 - Boolean properties are for storing true/false, or yes/no values. 228 - Boolean properties are for storing true/false, or yes/no values.
229 229
230 - Integer properties are for storing Integer (non real) numeric values.
231
230 - Number properties are for storing numeric values. 232 - Number properties are for storing numeric values.
231 233
232 - Date properties store date-and-time stamps. Their values are Timestamp 234 - Date properties store date-and-time stamps. Their values are Timestamp
233 objects. 235 objects.
234 236
260 """An object designating a String property.""" 262 """An object designating a String property."""
261 263
262 class Boolean: 264 class Boolean:
263 def __init__(self): 265 def __init__(self):
264 """An object designating a Boolean property.""" 266 """An object designating a Boolean property."""
267
268 class Integer:
269 def __init__(self):
270 """An object designating an Integer property."""
265 271
266 class Number: 272 class Number:
267 def __init__(self): 273 def __init__(self):
268 """An object designating a Number property.""" 274 """An object designating a Number property."""
269 275
1022 Property values are represented as strings in command arguments and in 1028 Property values are represented as strings in command arguments and in
1023 the printed results: 1029 the printed results:
1024 1030
1025 - Strings are, well, strings. 1031 - Strings are, well, strings.
1026 1032
1027 - Numbers are displayed the same as strings. 1033 - Integers/Numbers are displayed the same as strings.
1028 1034
1029 - Booleans are displayed as 'Yes' or 'No'. 1035 - Booleans are displayed as 'Yes' or 'No'.
1030 1036
1031 - Date values are printed in the full date format in the local time 1037 - Date values are printed in the full date format in the local time
1032 zone, and accepted in the full format or any of the partial formats 1038 zone, and accepted in the full format or any of the partial formats
1644 1650
1645 1651
1646 Changes to this document 1652 Changes to this document
1647 ------------------------ 1653 ------------------------
1648 1654
1649 - Added Boolean and Number types 1655 - Added Boolean, Integer and Number types
1650 - Added section Hyperdatabase Implementations 1656 - Added section Hyperdatabase Implementations
1651 - "Item" has been renamed to "Issue" to account for the more specific 1657 - "Item" has been renamed to "Issue" to account for the more specific
1652 nature of the Class. 1658 nature of the Class.
1653 - New Templating 1659 - New Templating
1654 - Access Controls 1660 - Access Controls

Roundup Issue Tracker: http://roundup-tracker.org/