About Users Developers |
CalendarSpecificationUserManual.CalendarSpecification HistoryHide minor edits - Show changes to markup Changed lines 3-6 from:
<!-- url attribute in the calendarSpec element is needed for FieldsToGranule and GranuleToFields implementation --> <calendarSpec underlyingGranularity = "second" url = "*/classname"> to:
<!-- url attribute in the calendarSpec element is needed for FieldsToGranule and GranuleToFields implementation --> <calendarSpec underlyingGranularity = "second" url = "*/classname"> Changed lines 9-10 from:
<!-- see the design decision about this representation of regular mappings in Calendar spec. --> to:
<!-- see the design decision about this representation of regular mappings in Calendar spec. --> Changed lines 12-13 from:
<regularMapping from = "second" conversionFactor = "864" anchor = "0" anchorGran = "second" /> to:
<regularMapping from = "second" conversionFactor = "864" anchor = "0" anchorGran = "second" /> Changed lines 17-18 from:
<!-- url pointing to a class containing all of the methods stated, please see another way to represent a granularity declaration with an irregular mapping. --> to:
<!-- url pointing to a class containing all of the methods stated, please see another way to represent a granularity declaration with an irregular mapping. --> Changed lines 27-28 from:
</calendarSpec> to:
</calendarSpec> Changed lines 32-34 from:
See an example of Astronomy Calendar. to:
See an example of Astronomy Calendar. Added lines 1-29:
Representation: <!-- url attribute in the calendarSpec element is needed for FieldsToGranule and GranuleToFields implementation --> <calendarSpec underlyingGranularity = "second" url = "*/classname"> ... <!-- see the design decision about this representation of regular mappings in Calendar spec. --> <granularity name = "dayHundreth" > <regularMapping from = "second" conversionFactor = "864" anchor = "0" anchorGran = "second" /> </granularity> ... <!-- url pointing to a class containing all of the methods stated, please see another way to represent a granularity declaration with an irregular mapping. --> < granularity name = "month" > < irregularMapping from = "day" url = ".../classname.class"> < function name = "gregCastMonthToDay" /> < function name = "gregCastDayToMonth" /> < function name = "gregScaleMonthToDay" /> < /irregularMapping > < /granularity > </calendarSpec> When analyzing examples, note that some of the structure is changed. I left the above representation untouched to see the differences. See an example of Gregorian Calendar. |