Find Jobs
Hire Freelancers

C# function to calculate weekly start time for calendar app

$20-25 USD

Concluído
Publicado há mais de 20 anos

$20-25 USD

Pago na entrega
I need a C# (ASP.NET) functions: protected DataView GetWeeklyStartEndTimes(DateTime StartDate, DateTime EndDate, SqlDataReader ScheduleDataReader) This DataView will bind to a Calendar. The DataView returned should contain the following fields: ScheduleID ScheduleName StartDate EndDate As ScheduleDataReader is only a description of when the scheduled task can run, you must calculate all the start dates/times and end dates/times for each scheduleid within the Start/End times passed. INPUT DATA DESCRIPTION(SqlDataReader ScheduleDataReader) (I've included field descriptions and possible values): [ScheduleID] [int] IDENTITY - (Identification field for the schedule), [StartTimeofDay] [datetime] - (values in format of: 1/1/1900 9:00:00 AM), [EndTimeofDay] [datetime] - (values in format of: 1/1/1900 9:00:00 AM), [Sunday] [bit] - (indicates whether the scheduled job runs on this day. values: 0 = unselected, 1 = selected. same for all the following bit fields), [Monday] [bit] , [Tuesday] [bit] , [Wednesday] [bit] , [Thursday] [bit] , [Friday] [bit] , [Saturday] [bit] , [RecureWeekly] [tinyint] - (indicates that the scheduled job repeats every x weeks), [FirstStartDate] [datetime] - (the first day the scheduled job is to start) , [ScheduleName] [varchar(100)] - ( the name of the schedule) [OrganizationalUnitId] [int] - (the tree node the schedule is attached to) Within the function do not use ordinals to refer to the variables in the SqlDataReader as there may be other fields that are not needed for this function. Some variations to deal with: 1.) If start time is later than end time this means that the start time is on one day and the end time is on the following day. 2.) Both StartTimeofDay and EndTimeofDay have all days on 1/1/1900 but the time part is correct. 3.) Must take in account if the FirstStartDate is not null then make sure that you don't start the dates before then. 4.) We need all start end times calculated for the a date range beginning on StartDate and ending on EndDate. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased. ## Platform Windows 2000 ASP.net C#
ID do Projeto: 2966034

Sobre o projeto

2 propostas
Projeto remoto
Ativo há 21 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
Concedido a:
Avatar do Usuário
See private message.
$17 USD em 1 dia
5,0 (3 avaliações)
1,1
1,1
2 freelancers estão ofertando em média $19 USD for esse trabalho
Avatar do Usuário
See private message.
$21,25 USD em 1 dia
4,6 (5 avaliações)
2,5
2,5

Sobre o cliente

Bandeira do(a) UNITED STATES
United States
5,0
172
Membro desde jun. 24, 2003

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.