KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sf > saxon > ConversionContext


1 package net.sf.saxon;
2
3 /**
4  * This interface represents a supplier of the information needed when doing a type conversion.
5  * Currently the only information needed is the implicit timezone. The interface has been designed,
6  * however, so that the details of the implementation can be changed at some time if it proves necessary.
7  */

8
9 public interface ConversionContext {
10
11     /**
12      * Get the implicit timezone, as a positive or negative offset from UTC in minutes.
13      * The range is -14hours to +14hours
14      */

15     public int getImplicitTimezone();
16
17 }
18
19 //
20
// The contents of this file are subject to the Mozilla Public License Version 1.0 (the "License");
21
// you may not use this file except in compliance with the License. You may obtain a copy of the
22
// License at http://www.mozilla.org/MPL/
23
//
24
// Software distributed under the License is distributed on an "AS IS" basis,
25
// WITHOUT WARRANTY OF ANY KIND, either express or implied.
26
// See the License for the specific language governing rights and limitations under the License.
27
//
28
// The Original Code is: all this file.
29
//
30
// The Initial Developer of the Original Code is Michael H. Kay.
31
//
32
// Portions created by (your name) are Copyright (C) (your legal entity). All Rights Reserved.
33
//
34
// Contributor(s): none.
35
//
36
Popular Tags