You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: julday.m
    path of file: ./repos/nav_matlab/example/gps_spp_test/easysuite
    
    the code of the file until where you have to start completion: function jd = julday(y,m,d,h)
% JULDAY  Conversion of date as given by
%         y ... year (four digits)
%         m ... month
%         d ... day
%         h ... hour and fraction hereof
%         The conversion is only valid in the time span
%         from March 1, 1900 to February 28, 2100

%  For further information see
%  Meeus, Jean (1991) Astronomical Algorithms, 
%         Willmann-Bell, Richmond, Virginia, p. 59--62

    
function jd = julday(y,m,d,h)
% JULDAY  Conversion of date as given by
%         y ... year (four digits)
%         m ... month
%         d ... day
%         h ... hour and fraction hereof
%         The conversion is only valid in the time span
%         from March 1, 1900 to February 28, 2100

%  For further information see
%  Meeus, Jean (1991) Astronomical Algorithms, 
%         Willmann-Bell, Richmond, Virginia, p. 59--62

%  Written by Kai Borre
%  February 14, 2001

      if m <= 2, y = y-1; m = m+12; end