public TimeSpan GetDayToSecond(OciHandle handle, OciErrorHandle errorHandle) { int days = 0; int hours = 0; int mins = 0; int secs = 0; int fsec = 0; int fs = 0; OciCalls.OCIIntervalGetDaySecond(handle, errorHandle, out days, out hours, out mins, out secs, out fsec, this.handle); if (fsec > 0) { int fseci = (int)fsec; fs = fseci / 1000000; } return(new TimeSpan(days, hours, mins, secs, fs)); }