60 lines
4.4 KiB
HTML
60 lines
4.4 KiB
HTML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<!DOCTYPE html
|
||
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
<html lang="en-us" xml:lang="en-us">
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||
|
<meta name="security" content="public" />
|
||
|
<meta name="Robots" content="index,follow" />
|
||
|
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
|
||
|
<meta name="DC.Type" content="concept" />
|
||
|
<meta name="DC.Title" content="Leap-year adjustment (QLEAPADJ) system value" />
|
||
|
<meta name="abstract" content="The leap-year adjustment (QLEAPADJ) is used to adjust the system algorithms for the leap year in different calendar systems." />
|
||
|
<meta name="description" content="The leap-year adjustment (QLEAPADJ) is used to adjust the system algorithms for the leap year in different calendar systems." />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rbagssysvalues.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rbagsqdayofweekuse.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rbagscultdependmsgcpx8416.htm" />
|
||
|
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
|
||
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
|
||
|
<meta name="DC.Format" content="XHTML" />
|
||
|
<meta name="DC.Identifier" content="rbagsqleapadjuse" />
|
||
|
<meta name="DC.Language" content="en-us" />
|
||
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
||
|
<!-- US Government Users Restricted Rights -->
|
||
|
<!-- Use, duplication or disclosure restricted by -->
|
||
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
||
|
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="./ic.css" />
|
||
|
<title>Leap-year adjustment (QLEAPADJ) system value</title>
|
||
|
</head>
|
||
|
<body id="rbagsqleapadjuse"><a name="rbagsqleapadjuse"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Leap-year adjustment (QLEAPADJ) system value</h1>
|
||
|
<div><p>The leap-year adjustment (QLEAPADJ) is used to adjust the system
|
||
|
algorithms for the leap year in different calendar systems.</p>
|
||
|
<p>If your calendar year agrees with what is used in the Gregorian calendar,
|
||
|
this system value should be zero. If your calendar year differs from the Gregorian,
|
||
|
you might need to adjust the system calendar algorithm to account for the
|
||
|
leap year you are using. To make the adjustment, divide the leap year in your
|
||
|
calendar system by 4. Then set QLEAPADJ to the value of the remainder.</p>
|
||
|
<p>For example, the Gregorian calendar year of 1988 was the year 77 in the
|
||
|
Taiwan calendar. Because 77 was a leap year for Taiwan, you need to divide
|
||
|
77 by 4. This leaves a remainder of 1. Therefore, to adjust the system calendar
|
||
|
algorithm for Taiwan, specify a 1 for the QLEAPADJ value.</p>
|
||
|
<p>If you change QLEAPADJ, you do not change the system clock or the job dates
|
||
|
of active jobs. Changing QLEAPADJ might result, however, in an
|
||
|
implicit change to the QDATE system value.</p>
|
||
|
<div class="note"><span class="notetitle">Note:</span> Not all system functions, such as DB date and timestamp fields, support
|
||
|
QLEAPADJ when working with leap years.</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbagssysvalues.htm" title="The system values of the primary language on the server are used as server-wide cultural and linguistic defaults. Therefore, if you change the primary language on the server, each varying system value resets to the default system value for the new primary language.">System values</a></div>
|
||
|
</div>
|
||
|
<div class="relconcepts"><strong>Related concepts</strong><br />
|
||
|
<div><a href="rbagsqdayofweekuse.htm" title="The day of week (QDAYOFWEEK) system value specifies the day of the week on the system.">Day of week (QDAYOFWEEK) system value</a></div>
|
||
|
<div><a href="rbagscultdependmsgcpx8416.htm" title="If your application will be translated into other languages, use the message CPX8416 from the QCPFMSG message file to get the correct setting for some cultural values for the other languages. The message exists for your primary language and all installed secondary language libraries.">Information in message CPX8416</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|