Find Jobs
Hire Freelancers

Java Date Parser

$100-500 USD

Concluído
Publicado há aproximadamente 20 anos

$100-500 USD

Pago na entrega
Write a date parser in Java. This parser should be able to recognize a wide variety of string date/time formats and produce a [login to view URL] object. Use this class skeleton: class DateParser { public [login to view URL] parseDate(StringBuffer dateStr) {} } 1. The parser must be able to recognize dates with or without time strings. 2. It must handle the formats below. 3. It must be able to recognize month names in multiple languages. Use Locale to determine what month names to support. 4. For ambiguous dates, use information available in Locale. For example, in the U.S., 5-4-2000 is probably May 4. In Europe, it's probably April 5. 5. It must be reasonably fast. One possible optimization is to assume that if the DateParser is used more the once, then the next date is in the same format as the previous date. 6. If a lexical analyzer is used, use JFlex ([login to view URL]). This will keep things consistent with the rest of the project. JFlex is used by several other modules. 7. The date formats can use a slash "/", a hyphen "-", or a period "." as separators. For example, 5/4/2000, 5-4-2000, 5.4.2000. All three must be recognized. Only a colon ":" must be recognized as a separator in a time string. 8. parseDate() should return a null if the string is not recognized. 9. It's not ok to require that the format be specified in advance, as [login to view URL] does. String [] dates = { "", "06/04/2000", "6/4/2000", "6/4/00", "June 6, 2000", "jun 6 2000", "jun 6 00", "6 June 2000", "6 jun 00", "2000/6/4", "2000/06/04", "20000604", "Sunday June 4, 2000 AD" }; String [] times = { "", "3:30", "3:30:48", "03:30", "03:30:48", "3:30pm", "3:30 pm", "3:30 p.m.", "3:30:48 cst", "15:30", "15:30:48" }; ## Deliverables 1) Complete and fully-functional source code. 2) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform 100% Pure Java. JDK 1.4 ok.
ID do Projeto: 3109978

Sobre o projeto

25 propostas
Projeto remoto
Ativo há 20 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.
$125 USD em 14 dias
5,0 (159 avaliações)
6,0
6,0
25 freelancers estão ofertando em média $99 USD for esse trabalho
Avatar do Usuário
See private message.
$85 USD em 14 dias
5,0 (93 avaliações)
6,0
6,0
Avatar do Usuário
See private message.
$85 USD em 14 dias
5,0 (64 avaliações)
5,2
5,2
Avatar do Usuário
See private message.
$102 USD em 14 dias
4,9 (20 avaliações)
5,0
5,0
Avatar do Usuário
See private message.
$85 USD em 14 dias
4,7 (41 avaliações)
4,7
4,7
Avatar do Usuário
See private message.
$85 USD em 14 dias
4,9 (47 avaliações)
4,6
4,6
Avatar do Usuário
See private message.
$85 USD em 14 dias
5,0 (2 avaliações)
4,5
4,5
Avatar do Usuário
See private message.
$85 USD em 14 dias
4,7 (18 avaliações)
4,0
4,0
Avatar do Usuário
See private message.
$85 USD em 14 dias
4,9 (17 avaliações)
3,7
3,7
Avatar do Usuário
See private message.
$152,15 USD em 14 dias
4,9 (18 avaliações)
3,9
3,9
Avatar do Usuário
See private message.
$85 USD em 14 dias
4,9 (4 avaliações)
3,4
3,4
Avatar do Usuário
See private message.
$106,25 USD em 14 dias
4,9 (15 avaliações)
3,2
3,2
Avatar do Usuário
See private message.
$85 USD em 14 dias
5,0 (1 avaliação)
3,3
3,3
Avatar do Usuário
See private message.
$110,50 USD em 14 dias
4,5 (15 avaliações)
3,2
3,2
Avatar do Usuário
See private message.
$106,25 USD em 14 dias
5,0 (10 avaliações)
2,7
2,7
Avatar do Usuário
See private message.
$127,50 USD em 14 dias
4,5 (7 avaliações)
1,3
1,3
Avatar do Usuário
See private message.
$85 USD em 14 dias
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
See private message.
$85 USD em 14 dias
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
See private message.
$148,75 USD em 14 dias
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
See private message.
$127,50 USD em 14 dias
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
See private message.
$85 USD em 14 dias
0,0 (0 avaliações)
0,0
0,0

Sobre o cliente

Bandeira do(a) UNITED STATES
United States
4,9
6
Membro desde fev. 23, 2004

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.