Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TProg
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Santiago Martin Vaiga Cousillas
TProg
Commits
3a92d2c2
Commit
3a92d2c2
authored
2 years ago
by
FranLepGill
Browse files
Options
Downloads
Patches
Plain Diff
salida and DataSalida completos (Falta implementar)
parent
a75ea503
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/logica/DataSalida.java
+48
-0
48 additions, 0 deletions
src/logica/DataSalida.java
src/logica/Salida.java
+11
-1
11 additions, 1 deletion
src/logica/Salida.java
with
59 additions
and
1 deletion
src/logica/DataSalida.java
+
48
−
0
View file @
3a92d2c2
package
logica
;
package
logica
;
import
java.util.Date
;
public
class
DataSalida
{
public
class
DataSalida
{
private
String
nombre
;
private
String
lugar
;
private
Date
hora
;
private
Date
fecha
;
private
Date
fechaAlta
;
private
int
cant
;
public
DataSalida
(
String
n
,
String
l
,
Date
h
,
Date
f
,
Date
fa
,
int
c
)
{
nombre
=
n
;
lugar
=
l
;
hora
=
h
;
fecha
=
f
;
fechaAlta
=
fa
;
cant
=
c
;
};
public
String
getNombre
()
{
return
nombre
;
}
public
String
getLugar
()
{
return
lugar
;
}
public
Date
gethora
()
{
return
hora
;
}
public
Date
getFecha
()
{
return
fecha
;
}
public
Date
getFechaAlta
()
{
return
fechaAlta
;
}
public
int
getCant
()
{
return
cant
;
}
}
}
This diff is collapsed.
Click to expand it.
src/logica/Salida.java
+
11
−
1
View file @
3a92d2c2
...
@@ -10,12 +10,22 @@ public class Salida {
...
@@ -10,12 +10,22 @@ public class Salida {
private
Date
fechaAlta
;
private
Date
fechaAlta
;
private
int
cant
;
private
int
cant
;
public
Salida
(
String
n
,
String
l
,
Date
h
,
Date
f
,
Date
fa
,
int
c
)
{
nombre
=
n
;
lugar
=
l
;
hora
=
h
;
fecha
=
f
;
fechaAlta
=
fa
;
cant
=
c
;
};
public
boolean
estaVigente
()
public
boolean
estaVigente
()
{
{
return
true
;
return
true
;
}
}
public
*
DataSalida
getDataST
()
public
DataSalida
getDataST
()
{
{
return
null
;
return
null
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment