Index: /trunk/BNC/bnctime.cpp
===================================================================
--- /trunk/BNC/bnctime.cpp	(revision 2251)
+++ /trunk/BNC/bnctime.cpp	(revision 2252)
@@ -6,20 +6,7 @@
 
 #include "bnctime.h"
+#include "RTCM3/timeutils.h"
 
 using namespace std;
-
-double djul(long jj, long mm, double tt) {
-  long    ii, kk;
-  double  djul ;
-  if( mm <= 2 ) {
-    jj = jj - 1;
-    mm = mm + 12;
-  }  
-  ii   = jj/100;
-  kk   = 2 - ii + ii/4;
-  djul = (365.25*jj - fmod( 365.25*jj, 1.0 )) - 679006.0;
-  djul = djul + floor( 30.6001*(mm + 1) ) + tt + kk;
-  return djul;
-} 
 
 // Constructor
@@ -62,13 +49,4 @@
   }
   return *this;
-}
-
-// 
-//////////////////////////////////////////////////////////////////////////////
-void bncTime::jdgp(double tjul, double & second, long & nweek) {
-  double      deltat;
-  deltat = tjul - 44244.0 ;
-  nweek = (long) floor(deltat/7.0);
-  second = (deltat - (nweek)*7.0)*86400.0;
 }
 
Index: /trunk/BNC/bnctime.h
===================================================================
--- /trunk/BNC/bnctime.h	(revision 2251)
+++ /trunk/BNC/bnctime.h	(revision 2252)
@@ -31,5 +31,4 @@
   bncTime&     setmjd(double daysec, int mjd);
   void        reset() {_mjd = 0; _sec = 0;}
-  static void jdgp(double tjul, double & second, long & nweek);
 
   unsigned int _mjd;
