Recent Changes - Search:

About

Users

Developers

edit SideBar

CalendarSpecification

UserManual.CalendarSpecification History

Hide minor edits - Show changes to output

Changed line 33 from:
to:
\\
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 [[ 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 ]].
Edit - History - Print - Recent Changes - Search
Page last modified on April 14, 2009, at 08:02 PM