<p>WithintroductionofZONE_OFFSET_SECOND_MILLISand DST_OFFSET_SECOND_MILLIStheexactcalculationinmillisecondsis GMT=LocalTime -(ZoneOffset*60000+ZoneOffsetMillis*sign(ZoneOffset)) -(DstOffset*60000+DstOffsetMillis*sign(DstOffset)) <p>
*/
published constants CalendarFieldIndex
{ /// Get AmPmValue. constshort AM_PM = 0; /// Get/Set day of month [1-31]. constshort DAY_OF_MONTH = 1; /// Get day of week [0-6]. constshort DAY_OF_WEEK = 2; /// Get day of year. constshort DAY_OF_YEAR = 3; /** Get daylight saving time offset in minutes, e.g. [0*60..1*60] <p>TheDSToffsetvaluedependsontheactualdatesetatthe calendarandisdeterminedaccordingtothetimezonerulesof thelocaleusedwiththecalendar.</p> <p>NotethatthereisabuginOpenOffice.org1.0/StarOffice6.0
that prevents interpreting this value correctly. </p> */ constshort DST_OFFSET = 4; /// Get/Set hour [0-23]. constshort HOUR = 5; /// Get/Set minute [0-59]. constshort MINUTE = 6; /// Get/Set second [0-59]. constshort SECOND = 7; /// Get/Set milliseconds [0-999]. constshort MILLISECOND = 8; /// Get week of month. constshort WEEK_OF_MONTH = 9; /// Get week of year. constshort WEEK_OF_YEAR = 10; /// Get/Set year. constshort YEAR = 11; /** Get/Set month [0-...]. <p>Notethatthemaximumvalueis<b>not</b>necessarily11for
December but depends on the calendar used instead. </p> */ constshort MONTH = 12; /// Get/Set era, for example, 0:= Before Christ, 1:= After Christ. constshort ERA = 13; /// Get/Set time zone offset in minutes, e.g. [-14*60..14*60] constshort ZONE_OFFSET = 14;
/// Total number of fields for < OOo 3.1 constshort FIELD_COUNT = 15;
/** Get/Set additional offset in milliseconds that <b>adds</b> to thevalueofZONE_OFFSET.Thismaybenecessarytocorrectly interprethistoricaltimezonedatathatconsistsoffractionsof minutes,e.g.seconds.1minute==60000milliseconds.
/** Get additional offset in milliseconds that <b>adds</b> to thevalueofDST_OFFSET.Thismaybenecessarytocorrectly interprethistoricaltimezonedatathatconsistsoffractionsof minutes,e.g.seconds.1minute==60000milliseconds.
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.