This repository has been archived by the owner on May 11, 2021. It is now read-only.
/
datetime.js
52 lines (49 loc) · 1.57 KB
/
datetime.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// **********************************************************************
//
// Copyright (c) 2003-2017 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.6.4
//
// <auto-generated>
//
// Generated from file `datetime.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
(function(module, require, exports)
{
var Ice = require("ice").Ice;
var __M = Ice.__M;
var Slice = Ice.Slice;
var jderobot = __M.module("jderobot");
jderobot.Time = Slice.defineStruct(
function(seconds, useconds)
{
this.seconds = seconds !== undefined ? seconds : new Ice.Long(0, 0);
this.useconds = useconds !== undefined ? useconds : new Ice.Long(0, 0);
},
true,
function(__os)
{
__os.writeLong(this.seconds);
__os.writeLong(this.useconds);
},
function(__is)
{
this.seconds = __is.readLong();
this.useconds = __is.readLong();
},
16,
true);
exports.jderobot = jderobot;
}
(typeof(global) !== "undefined" && typeof(global.process) !== "undefined" ? module : undefined,
typeof(global) !== "undefined" && typeof(global.process) !== "undefined" ? require : this.Ice.__require,
typeof(global) !== "undefined" && typeof(global.process) !== "undefined" ? exports : this));