Unit Intervals

Cameron Dutro cameron at lumoslabs.com
Thu Dec 11 15:00:33 CST 2014


Philippe,

Did you see the example XML markup in one of my previous emails? It allows
for different contexts and could be expanded to service any of the contexts
you mentioned, eg. frequency, completion of state, etc.

We don't have to accommodate absolutely every use case here - I was hoping
to start with a basic periodical format that would contain "every year",
"every 2 years", etc. I don't know enough about every language to know how
difficult this data would be to gather, however it sounds like there are
quite a few contexts we can ignore in v1.

-Cameron

On Thu, Dec 11, 2014 at 12:08 PM, Philippe Verdy <verdy_p at wanadoo.fr> wrote:

> No. the "date intervals" currently described in CLDR are in fact about
> *ranges* of dates or timestamps (e.g. from 1 January 2005 to 31 December
> 2014) and the shorthand numeric notations, possibly abbreviating some
> common elements such as when the start and end dates fall on the same year
> or the same month in the same year.
>
> 2014-12-11 20:52 GMT+01:00 Cameron Dutro <cameron at lumoslabs.com>:
>
>> Hey Mark,
>>
>> Where would I find the locale-specific date intervals you mentioned? Are
>> you referring to phrases like "In 2 weeks" and the like?
>>
>> -Cameron
>>
>> On Wed, Dec 10, 2014 at 3:58 AM, Mark Davis ☕️ <mark at macchiato.com>
>> wrote:
>>
>>>
>>> On Wed, Dec 10, 2014 at 7:43 AM, Yury Tarasievich <
>>> yury.tarasievich at gmail.com> wrote:
>>>
>>>> Dealing with similar problem right now, I'd note that "interval" would
>>>> primarily mean a pair "startvalue, endvalue" with some formatting to it.
>>>> That formatting isn't even "widely" cultural tradition, but "narrow"
>>>> typographic convention, with possibly quite extensive definition, subject
>>>> to change. E.g., for numbers intervals in Russian language typography,
>>>> there are "..." and "--" (U+2013) and "---" (U+2014); of course, the "-"
>>>> (dash) is commonly used; formerly, the U+00F7 was prescribed; in maths
>>>> related text you'd meet ":" and ", ... ,;"; in bastardised "computer
>>>> spelling" -- ".." (two dots). And it is context related, too (U+2013 for
>>>> dates, U+2014 or ellipsis for numbers).
>>>>
>>>
>>> The first message was about recurring dates, like "every Tuesday" or
>>> "Monday and Wednesdays, the 3rd week of each month". ​We have thought about
>>> adding those (there are some bugs about them), but haven't yet.
>>>
>>> The second message is about intervals / ranges. We support
>>> locale-specific date intervals, and ranges of other elements (typically
>>> numbers), and elision (when intervening elements are removed, as in "A very
>>> … long message").
>>>
>>> We don't support multiple choices for any particular interval/range. If
>>> you have suggestions for improvements...
>>>
>>> Mark <https://google.com/+MarkDavis>
>>>
>>> *— Il meglio è l’inimico del bene —*
>>>
>>> _______________________________________________
>>> CLDR-Users mailing list
>>> CLDR-Users at unicode.org
>>> http://unicode.org/mailman/listinfo/cldr-users
>>>
>>>
>>
>> _______________________________________________
>> CLDR-Users mailing list
>> CLDR-Users at unicode.org
>> http://unicode.org/mailman/listinfo/cldr-users
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://unicode.org/pipermail/cldr-users/attachments/20141211/d4eb63e0/attachment.html>


More information about the CLDR-Users mailing list