composant_saisie.wPtime
Class Day
Object
composant_saisie.wPtime.Day
public class Day
- extends Object
A_doc
Licence
.
Constructor Summary |
Day()
|
Day(java.util.Date date,
boolean neighbour)
|
Method Summary |
static java.util.Date |
addDay(java.util.Date date,
int nbDate)
|
java.util.Date |
addDay(int nbJour)
|
static java.util.Date |
addHeu(java.util.Date date,
int nbHeu)
|
java.util.Date |
addHour(int nbHeu)
|
static java.util.Date |
addMin(java.util.Date date,
int nbMin)
|
java.util.Date |
addMinu(int nbMin)
|
static java.util.Date |
addMonth(java.util.Date date,
int nbMonth)
|
java.util.Date |
addMonth(int nbMonth)
|
static java.util.Date |
addSec(java.util.Date date,
int nbSec)
|
java.util.Date |
addSec(int nbSec)
|
static java.util.Date |
addYear(java.util.Date date,
int nbYear)
|
java.util.Date |
addYear(int nbYear)
|
static java.util.Date |
convertToDateOnly(java.util.Date date)
|
static String |
geSDate(java.util.Date date)
|
static String |
geSQuan(java.util.Date date)
|
static String |
geSReverseDate(java.util.Date date)
|
static int |
getActualMaxim(java.util.Date date)
|
int |
getActualMaximum()
|
static java.util.Calendar |
getCalendar(java.util.Date date)
|
static java.util.Date |
getCurrentDate()
|
static String |
getCurrentSDate()
|
static String |
getCurrentSTime()
|
int |
getDate()
|
static int |
getDate(java.util.Date date)
|
java.util.Date |
getDateDate()
|
java.util.Date |
getDateOnly()
|
int |
getDay()
|
static int |
getDay(java.util.Date date)
|
int |
getDayOfWeek()
|
static int |
getDayOfWeek(java.util.Date date)
|
static int |
getDayOfWeekShift(int numjour)
|
static String |
getDebMonthSDate(int deca)
|
static String |
getDebWeekSDate(int deca)
|
static String |
getDebYearSDate(int deca)
|
static double |
getDWeekWork(String sdate,
int mois)
|
static String |
getFinMonthSDate(int deca)
|
static String |
getFinWeekSDate(int deca)
|
static String |
getFinYearSDate(int deca)
|
int |
getFirstDayOfWeek()
|
static int |
getFirstDayOfWeek(java.util.Date date)
|
int |
getHour()
|
static int |
getHour(java.util.Date date)
|
static int |
getInterval(java.util.Date dateMin,
java.util.Date dateMax)
|
int |
getMinu()
|
static int |
getMinu(java.util.Date date)
|
int |
getMonth()
|
static int |
getMonth(java.util.Date date)
|
long |
getNDate()
|
Point |
getPTime()
|
static Point |
getPTime(java.util.Date date)
|
String |
getReverseDate()
|
String |
getReverseDate(java.util.Date date2)
|
String |
getSDate()
|
String |
getSDay()
|
int |
getSeco()
|
static int |
getSeco(java.util.Date date)
|
String |
getShour()
|
static String |
getSJour(int jour)
|
String |
getSminu()
|
static String |
getSMois(int mois)
|
String |
getSMonth()
|
String |
getSMonthSYear()
|
static String |
getSMonthSYear(java.util.Date date)
|
String |
getSQuan()
|
String |
getSReverseDate()
|
String |
getSseco()
|
String |
getSTime()
|
static String |
getStrDate(java.util.Date date)
|
String |
getStrMonth()
|
static String |
getStrMonth(java.util.Date date)
|
static String |
getStrMonthYear(java.util.Date date)
|
String |
getSYear()
|
String |
getSYearSMonth()
|
static String |
getSYearSMonth(java.util.Date date)
|
long |
getTime()
|
static int |
getWeekOfYear(java.util.Date date,
int year)
|
int |
getWeekOfYear(int year)
|
int |
getYear()
|
static int |
getYear(java.util.Date date)
|
boolean |
isCurrent()
|
boolean |
isCurrentMonth()
|
boolean |
isInNeighbourMonth()
|
static String |
maxTime(String time1,
String time2)
|
static String |
minTime(String time1,
String time2)
|
static double |
minuToCentieme(int minute)
|
static java.util.Date |
parseDate(String date)
|
static String |
parseMinTime(int minutes)
|
static Point |
parseTime(String time)
|
static double |
parseTimeDouble(String time)
|
static int |
parseTimeMin(String time)
|
void |
set(int year,
int month,
int date)
|
static java.util.Date |
setDate(java.util.Date date,
int day)
|
void |
setDate(int day)
|
static java.util.Date |
setHour(java.util.Date date,
int hour)
|
void |
setHour(int hour)
|
static java.util.Date |
setMinu(java.util.Date date,
int minu)
|
void |
setMinu(int minu)
|
static java.util.Date |
setMonth(java.util.Date date,
int month)
|
void |
setMonth(int month)
|
void |
setSDate(String sdate)
|
static java.util.Date |
setSeco(java.util.Date date,
int seco)
|
void |
setSeco(int seco)
|
static java.util.Date |
setset(int year,
int month,
int date)
|
void |
setTime(long time)
|
static java.util.Date |
setYear(java.util.Date date,
int year)
|
void |
setYear(int year)
|
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Day
public Day()
Day
public Day(java.util.Date date,
boolean neighbour)
isCurrent
public boolean isCurrent()
isCurrentMonth
public boolean isCurrentMonth()
isInNeighbourMonth
public boolean isInNeighbourMonth()
setSDate
public void setSDate(String sdate)
setTime
public void setTime(long time)
setDate
public void setDate(int day)
setMonth
public void setMonth(int month)
setYear
public void setYear(int year)
set
public void set(int year,
int month,
int date)
setHour
public void setHour(int hour)
setMinu
public void setMinu(int minu)
setSeco
public void setSeco(int seco)
addYear
public java.util.Date addYear(int nbYear)
addMonth
public java.util.Date addMonth(int nbMonth)
addDay
public java.util.Date addDay(int nbJour)
addHour
public java.util.Date addHour(int nbHeu)
addMinu
public java.util.Date addMinu(int nbMin)
addSec
public java.util.Date addSec(int nbSec)
getActualMaximum
public int getActualMaximum()
getYear
public int getYear()
getMonth
public int getMonth()
getDay
public int getDay()
getDate
public int getDate()
getDateDate
public java.util.Date getDateDate()
getHour
public int getHour()
getMinu
public int getMinu()
getSeco
public int getSeco()
getDayOfWeek
public int getDayOfWeek()
getWeekOfYear
public int getWeekOfYear(int year)
getFirstDayOfWeek
public int getFirstDayOfWeek()
getDateOnly
public java.util.Date getDateOnly()
getTime
public long getTime()
getPTime
public Point getPTime()
getNDate
public long getNDate()
getSDay
public String getSDay()
getSMonth
public String getSMonth()
getSYear
public String getSYear()
getSTime
public String getSTime()
getSseco
public String getSseco()
getSminu
public String getSminu()
getShour
public String getShour()
getSDate
public String getSDate()
getSReverseDate
public String getSReverseDate()
getSQuan
public String getSQuan()
getSMonthSYear
public String getSMonthSYear()
getSYearSMonth
public String getSYearSMonth()
getStrMonth
public String getStrMonth()
getReverseDate
public String getReverseDate()
convertToDateOnly
public static java.util.Date convertToDateOnly(java.util.Date date)
setDate
public static java.util.Date setDate(java.util.Date date,
int day)
setYear
public static java.util.Date setYear(java.util.Date date,
int year)
setMonth
public static java.util.Date setMonth(java.util.Date date,
int month)
setset
public static java.util.Date setset(int year,
int month,
int date)
setHour
public static java.util.Date setHour(java.util.Date date,
int hour)
setMinu
public static java.util.Date setMinu(java.util.Date date,
int minu)
setSeco
public static java.util.Date setSeco(java.util.Date date,
int seco)
addYear
public static java.util.Date addYear(java.util.Date date,
int nbYear)
addMonth
public static java.util.Date addMonth(java.util.Date date,
int nbMonth)
addDay
public static java.util.Date addDay(java.util.Date date,
int nbDate)
addHeu
public static java.util.Date addHeu(java.util.Date date,
int nbHeu)
addMin
public static java.util.Date addMin(java.util.Date date,
int nbMin)
addSec
public static java.util.Date addSec(java.util.Date date,
int nbSec)
getCurrentSDate
public static String getCurrentSDate()
getDebYearSDate
public static String getDebYearSDate(int deca)
getFinYearSDate
public static String getFinYearSDate(int deca)
getDebWeekSDate
public static String getDebWeekSDate(int deca)
getFinWeekSDate
public static String getFinWeekSDate(int deca)
getDebMonthSDate
public static String getDebMonthSDate(int deca)
getFinMonthSDate
public static String getFinMonthSDate(int deca)
getCurrentSTime
public static String getCurrentSTime()
geSDate
public static String geSDate(java.util.Date date)
geSReverseDate
public static String geSReverseDate(java.util.Date date)
geSQuan
public static String geSQuan(java.util.Date date)
getInterval
public static int getInterval(java.util.Date dateMin,
java.util.Date dateMax)
getSMonthSYear
public static String getSMonthSYear(java.util.Date date)
getSYearSMonth
public static String getSYearSMonth(java.util.Date date)
getStrDate
public static String getStrDate(java.util.Date date)
getStrMonthYear
public static String getStrMonthYear(java.util.Date date)
getStrMonth
public static String getStrMonth(java.util.Date date)
getReverseDate
public String getReverseDate(java.util.Date date2)
getCalendar
public static java.util.Calendar getCalendar(java.util.Date date)
getCurrentDate
public static java.util.Date getCurrentDate()
getActualMaxim
public static int getActualMaxim(java.util.Date date)
getYear
public static int getYear(java.util.Date date)
getMonth
public static int getMonth(java.util.Date date)
getDay
public static int getDay(java.util.Date date)
getDate
public static int getDate(java.util.Date date)
getHour
public static int getHour(java.util.Date date)
getMinu
public static int getMinu(java.util.Date date)
getSeco
public static int getSeco(java.util.Date date)
getDayOfWeek
public static int getDayOfWeek(java.util.Date date)
getDayOfWeekShift
public static int getDayOfWeekShift(int numjour)
getWeekOfYear
public static int getWeekOfYear(java.util.Date date,
int year)
getFirstDayOfWeek
public static int getFirstDayOfWeek(java.util.Date date)
getPTime
public static Point getPTime(java.util.Date date)
parseTime
public static Point parseTime(String time)
parseTimeMin
public static int parseTimeMin(String time)
parseMinTime
public static String parseMinTime(int minutes)
parseDate
public static java.util.Date parseDate(String date)
minTime
public static String minTime(String time1,
String time2)
maxTime
public static String maxTime(String time1,
String time2)
minuToCentieme
public static double minuToCentieme(int minute)
parseTimeDouble
public static double parseTimeDouble(String time)
getSJour
public static String getSJour(int jour)
getSMois
public static String getSMois(int mois)
getDWeekWork
public static double getDWeekWork(String sdate,
int mois)