All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.tsl2.nano.core.util.DateUtil.class Maven / Gradle / Ivy

Go to download

TSL2 Framework Terminal (Console Application Framework named SIShell, providing Actions, Options, Commands, Inputs, lots of Selectors, PlatformManagement)

There is a newer version: 2.5.2
Show newest version
????49v
Zw	ox
oy
oz	o{
o|
}
~
,
?
?
?
?
?Dz
o?	o??
w	??
??	o???
w?
?
?
?
?
??
o?
?
?
o?
?
o?
o?
o??	o?
q??
,w?
o?	o?
,?
o?	o?	o??
5?
5?
?
o?
?
???
<?
o?
o?
o?
o?
q??
??	o?
o?
o?
o???
o?$
??
????
o?
o?
,?	o?	o??
T?
T?
T?
??
??
??
?
??
?
,??
o?
o?	o?
o?
o?
o?
o??
iw??
??
??
o??
???
q?
q?
q????`	o?	o?	o?
o?	o?	o?	o?	o??InnerClassesDEFAULT_DATETIME_FORMATLjava/text/DateFormat;DEFAULT_DATE_FORMATDEFAULT_TIME_FORMATSQL_DATE_FORMAT
MINUTE_FORMATMILLI_TO_MINUTESJHOUR_TO_MINUTESIDAY_TO_HOURT_MINUTET_HOURT_DAYMIN_DATELjava/util/Date;MAX_DATEQ1Q2Q3Q4QUARTERS[Ljava/util/Date;$assertionsDisabledZ()VCodeLineNumberTableLocalVariableTablethis!Lde/tsl2/nano/core/util/DateUtil;millisToMinutes(J)ImillisminutesToMillis(I)Jminutes	diffHours#(Ljava/util/Date;Ljava/util/Date;)Idate1date2diffMinutes
diffMillis#(Ljava/util/Date;Ljava/util/Date;)JcalLjava/util/Calendar;long1long2	addMillis#(Ljava/util/Date;J)Ljava/util/Date;date
addMinutes#(Ljava/util/Date;I)Ljava/util/Date;addHourshoursaddDaysdays	addMonthsmonthsaddYearsyearsconcatDateAndTime2(Ljava/util/Date;Ljava/util/Date;)Ljava/util/Date;timeyearmonthdayseconds(J)FgetTimeUnitInMillis#(Ljava/util/concurrent/TimeUnit;I)JtimeUnitLjava/util/concurrent/TimeUnit;
timeUnitValuegetTimeUnitInMinutes#(Ljava/util/concurrent/TimeUnit;I)I
StackMapTablegetDelayToNextTimeUnit"(Ljava/util/concurrent/TimeUnit;)Jmodnow
getStartOfDay"(Ljava/util/Date;)Ljava/util/Date;
startOfDayvgetEndOfDayendOfDaygetStartOfMonthstartOfMonth
getEndOfMonth
endOfMonthgetStartOfYearstartOfYeargetEndOfYear	endOfYeargetFormattedDate$(Ljava/util/Date;)Ljava/lang/String;dstrLjava/lang/String;?getFormattedTimeStamp()Ljava/lang/String;getFormattedTime(J)Ljava/lang/String;getFormattedMinutesgetFormattedDateTime6(Ljava/util/Date;Ljava/lang/String;)Ljava/lang/String;sdfLjava/text/SimpleDateFormat;patterngetDate(III)Ljava/util/Date;getTime(II)Ljava/sql/Time;hourminute(IIIZ)Ljava/sql/Time;toffsetsecondUTCgetFieldOfDate(Ljava/util/Date;I)IfieldgetYear(Ljava/util/Date;)IgetMonthgetDayadd$(Ljava/util/Date;II)Ljava/util/Date;amountchangevalue
setMaximumgetToday()Ljava/util/Date;getTomorrowgetYesterday$(Ljava/lang/String;)Ljava/util/Date;eLjava/text/ParseException;formattedString?
getDateSQLtoSqlDateStringsetDateTime)(Ljava/util/Date;IIIIIII)Ljava/util/Date;sourcemillisetDate%(Ljava/util/Date;III)Ljava/util/Date;-(Ljava/util/Calendar;III)Ljava/util/Calendar;setTime&(Ljava/util/Date;IIII)Ljava/util/Date;.(Ljava/util/Calendar;IIII)Ljava/util/Calendar;	isWorkDay+(Ljava/util/Date;Ljava/util/Collection;[I)ZholidaysLjava/util/Collection;freeDays[ILocalVariableTypeTable(Ljava/util/Collection;	Signature=(Ljava/util/Date;Ljava/util/Collection;[I)ZisDayOfWeek(Ljava/util/Date;[I)ZweekDays(Ljava/util/Calendar;[I)ZgetNextWorkday8(Ljava/util/Date;Ljava/util/Collection;)Ljava/util/Date;J(Ljava/util/Date;Ljava/util/Collection;)Ljava/util/Date;getWorkdayCount9(Ljava/util/Date;Ljava/util/Date;Ljava/util/Collection;)IbeginendcK(Ljava/util/Date;Ljava/util/Date;Ljava/util/Collection;)I	intersectC(Ljava/util/Date;Ljava/util/Date;Ljava/util/Date;Ljava/util/Date;)Zfrom1to1from2to2includes3(Ljava/util/Date;Ljava/util/Date;Ljava/util/Date;)Z
periodFromperiodTodateToCheckgetCalendar()Ljava/util/Calendar;getTimeDiffUTC(JJ)Ljava/util/Date;endTime	startTimegetTimeZoneOffsettimeInMillis	clearTimesrcclearSeconds	clearDate*(Ljava/util/Calendar;)Ljava/util/Calendar;
setSeconds,(Ljava/util/Calendar;II)Ljava/util/Calendar;millisecond
equalsDate#(Ljava/util/Date;Ljava/util/Date;)Zfirstfcalscal
getDaysOfYearisPast(Ljava/util/Date;)ZisFuturecurrentTimeSeconds()I
getQuarter#(ILjava/util/Date;)Ljava/util/Date;quartergetCurrentQuarterigetNextQuarterqgetQuarters#([Ljava/util/Date;)Ljava/util/List;datesquartersLjava/util/List;"Ljava/util/List;?5([Ljava/util/Date;)Ljava/util/List;
getWeekOfYearmin#([Ljava/util/Date;)Ljava/util/Date;maxgetMillisWithoutYear
cutSeconds(J)JcutTime
SourceFile
DateUtil.javajava/util/Calendar??????????AB?????????????????java/lang/AssertionError$[??"java/lang/IllegalArgumentExceptionjava/lang/StringBuilderunknown timeUnit=??	?
???????????????java/util/Dateyyyy-MMM-dd_HHmmss_sss????????????java/text/SimpleDateFormat
????
java/sql/Time??I???java/text/ParseException??)*),? -.X????de/tsl2/nano/core/util/Period? !R"#$%&Bjava/lang/Object'()*+,-.X??\]<=_de/tsl2/nano/core/util/ListSet/l0n0
de/tsl2/nano/core/util/DateUtil123java/text/DateFormat456787
yyyy-MM-ddmm:ss????????????????!de/tsl2/nano/core/util/DateUtil$1java/lang/Stringjava/util/List(Ljava/util/Date;)VgetTimeInMillis()JsetTimeInMillis(J)V(II)Vget(I)Iset	(IIIIII)V($SwitchMap$java$util$concurrent$TimeUnitjava/util/concurrent/TimeUnitordinalappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;-(Ljava/lang/Object;)Ljava/lang/StringBuilder;toString(Ljava/lang/String;)Vjava/lang/SystemcurrentTimeMillisgetActualMinimumgetActualMaximumformatcleargetTimeZone()Ljava/util/TimeZone;java/util/TimeZone	getOffsetparse"de/tsl2/nano/core/ManagedExceptionforward,(Ljava/lang/Throwable;)Ljava/lang/Throwable;java/util/Collectioncontains(Ljava/lang/Object;)Zjava/util/ArraysasList%([Ljava/lang/Object;)Ljava/util/List;java/lang/IntegervalueOf(I)Ljava/lang/Integer;after#(Ljava/util/Date;Ljava/util/Date;)V
intersects"(Lde/tsl2/nano/core/util/Period;)Z%de/tsl2/nano/core/util/ConcurrentUtil
getCurrent%(Ljava/lang/Class;)Ljava/lang/Object;getInstance
setCurrent([Ljava/lang/Object;)V
setLenient(Z)VsetRawOffset(I)Vequalsbefore!de/tsl2/nano/core/util/NumberUtil'([Ljava/lang/Object;)Ljava/lang/Object;java/lang/ClassdesiredAssertionStatus()ZgetDateTimeInstance(II)Ljava/text/DateFormat;getDateInstance(I)Ljava/text/DateFormat;getTimeInstance1oZ
??
??
??
??
??
??
??
??	??	??	??	??	??	??	??	??	??????Q???3*???
?@???	???1?m???I???	???1??i??S???	???A
*+???l??W?
??
??	???=	*+????b?	??	??	?????M,*?,?	B,+?,?	7!e??mn	opqr?4??????????	???Y?N-*?
a?-???}~? ??????	???_?M,*?,?
,?????	??? ??????	???_?M,*?,?
,?????	??? ??????	???^?M,*?,?
,?????	??? ??????	???^?M,*?,?
,?????	??? ??????	???^?M,*?,?
,?????	??? ??????	????	N?M,*?,?>,?6,?6,+?,?6,?6,
?6,?,???.??	????"?*?2?:?I??\	N??N??J?????8??1??*$??2??:??	???0?n??????	????*???i????????	????j??*??Y???*?.?3'0??hh?A?G?J?M?h?j??j???!	????a? @?*?.?4%-??h?B??B?%?B??Y?Y??*????!q\@??&	(169=@[?46??=??a??]??[???
?(?	???g?L*?+*?+?!???$%&
(???????
?	???r ?L*?+*?+;;?!W+???234
67? ??????
?	???q?L*?+*?++?"?#+??$??ABC
EF???????
?	???q?L*?+*?++?%?#+??&??PQR
TU???????
?	???q?L*?+*?++?"?#+??'??_`a
cd???????
?	???q?L*?+*?++?%?#+??(??nop
rs???????
?	???_)L*??**?+L+??}~?????????	???%
?,Y?-.?/???	???_)L*??0*?+L+??????????????	???6?,Y?1?2??????	???9?3?,Y?1?+??????	???_)L*??4*?+L+??????????????	???~)M*??5Y+?6N-*?7M,????????*???????????	???v?N-?8?	-?%;-?#?-?%6??S??S??S??S??N????F?	???U?M,*?,???	? ??????	?0*?>?????	?0*?>??%???	?0*?>??/???	?h?N-*?-?
-???;<	=>?*???????	?h?N-*?-?#-???JK	LM?*???????		??b?M,*?,,?%?#,???XY	Z[? ??????	
?????d	?C?,Y?-?@K*?A??
mn?	??	
?C?,Y?-?@K*?A??
wx?	??	??d?**?B?L+?DW?C???	???	??H	?d?E*?B?L+?DW?C???	???	??H	??G*?
?E*?+????????@?	??	"*??:?K*?F?A????	???\		??"?"??"??"??"??"??"??"??	?q?:*??G???????4?????????	??%?	*?#?*d?#?	*?#*????????#??*%??%??%??%???
	???:*?	*??!?????	???>???????????????4?
*?#?
*?#?
*
?#?*?#*??&	??????$?*?2??44??4??4??4??4??
? ?~#*?
YOYO?H?+*?I????? #??#!"##$%#!&?!@'(?)*?<?+?J??
???+$?),?N?KY+S?L*??M?N?????+$	-.??%?M,*?,?+?
?O?,?
???,???#$	'( *? %??%!"!??%%!&?	?	?'/	01??>*,?PYK+?Q?	??????9:;<?*2?3?!"4?%!&??'5	67??/*??RK,??RM+??SL-??SN?TY*+?U,-?V??&	JKMNPQST V?*/8?/9?/:?/;??	<=?T?TY*+?U?TY,,?U?W??b? >???@?
AB?f?X?K*??YK?ZY*S?[*??l	m
noq?	?????	CD?p"?Y:?\ e??:?]???|}~?? "E?"F???	G??E
?YM,?:?;??
???
H?	??	I??3	*?A????	J?	K??3	*?A????	J?LM?2*?G??????NO?V*
?#*?#*?????? ????P?	QR??*?M,*?,?!W?N-+?-?!W,-?^????	????$??**S?*??&T?U?	V?L?L+*?+?????	????T?	WX?6*?,Y?-?_??????	YX?6*?,Y?-?Q??????	Z[?!	? `m????	\]?;+?b??????^?	_???*?c=<?d?d?-?d2?e?d`2?e?f*?g??	????`??"???"?,?2?5?;? ???8`?:???	?-	a?[*?h<?d???`??
???b???B?cd??4?iY?jL=*??%+*2?c?d*2?hd2?e?kW????+??,2? 
(`?4e?,fg%,fh??
i?''j	k?6*?>l`??$????lm?2*?l?,??.?e??nm?2*?m?,??8?e?	o??C??n?cmhhh?hd??D?H?	pq?2?qe??N?H?	rq?;??h??iqe??R?H?s??7?o?p????r?4?s?*?t?0?5Yu?6?E?5Yv?6?3w?(D)I*N,T-_.j0s1~4?5?6?7?9?@tu?
?




© 2015 - 2024 Weber Informatics LLC | Privacy Policy