About Users Developers |
CalendarSpecificationUserManual.CalendarSpecification HistoryHide minor edits - Show changes to output Changed lines 3-6 from:
<!-- url attribute in the calendarSpec element is needed for 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:
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 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:
to:
</calendarSpec> Changed lines 32-34 from:
See an example of [[ http://www.cs.arizona.edu/projects/tau/tauZaman/files/calendarspecs/astronomy.xml | Astronomy Calendar ]]. to:
See an example of [[ http://www.cs.arizona.edu/projects/tau/tauZaman/files/calendarspecs/astronomy.xml | Astronomy Calendar ]]. \\ See also a discussion on [[ UserManual.XMLSpecificationDiscussion#DescriptionElements | improving descriptiveness ]] of this specification file. 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 [[ http://www.cs.arizona.edu/projects/tau/tauZaman/files/calendarspecs/gregorian.xml | Gregorian Calendar]]. \\ See an example of [[ http://www.cs.arizona.edu/projects/tau/tauZaman/files/calendarspecs/astronomy.xml | Astronomy Calendar ]]. |