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

com.vmware.vim25.mo.samples.lic.PrintLicExpirationDateV4.class Maven / Gradle / Ivy

The newest version!
????2?8com/vmware/vim25/mo/samples/lic/PrintLicExpirationDateV4java/lang/Object()VCode
	LineNumberTableLocalVariableTablethis:Lcom/vmware/vim25/mo/samples/lic/PrintLicExpirationDateV4;main([Ljava/lang/String;)V
Exceptionsjava/lang/Exception#com/vmware/vim25/mo/ServiceInstancejava/net/URLhttps://8.8.8.8/sdk
(Ljava/lang/String;)V
administratorvmware
!"6(Ljava/net/URL;Ljava/lang/String;Ljava/lang/String;Z)V
$%&getLicenseManager&()Lcom/vmware/vim25/mo/LicenseManager;
(*)"com/vmware/vim25/mo/LicenseManager+,getLicenses/()[Lcom/vmware/vim25/LicenseManagerLicenseInfo;
.0/java/text/DateFormat12getInstance()Ljava/text/DateFormat;4eval
687*com/vmware/vim25/LicenseManagerLicenseInfo9:
getEditionKey()Ljava/lang/String;
<>=java/lang/String?@equalsIgnoreCase(Ljava/lang/String;)Z
(BCD
getEvaluation1()Lcom/vmware/vim25/LicenseManagerEvaluationInfo;
FHG-com/vmware/vim25/LicenseManagerEvaluationInfoIJ
getProperties!()[Lcom/vmware/vim25/KeyAnyValue;
LMNgetExpirationDate1([Lcom/vmware/vim25/KeyAnyValue;)Ljava/util/Date;
6H	QSRjava/lang/SystemTUoutLjava/io/PrintStream;Wjava/lang/StringBuilder
6YZ:
getLicenseKey
<\]^valueOf&(Ljava/lang/Object;)Ljava/lang/String;
Va expires on 
Vcdeappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;
.ghiformat$(Ljava/util/Date;)Ljava/lang/String;
Vkl:toString
npojava/io/PrintStreamqprintlns expires on NEVERargs[Ljava/lang/String;si%Lcom/vmware/vim25/mo/ServiceInstance;lm$Lcom/vmware/vim25/mo/LicenseManager;lics-[Lcom/vmware/vim25/LicenseManagerLicenseInfo;dfLjava/text/DateFormat;lic,Lcom/vmware/vim25/LicenseManagerLicenseInfo;expDateLjava/util/Date;evalInfo/Lcom/vmware/vim25/LicenseManagerEvaluationInfo;
StackMapTableu{?java/util/Date?expirationDate
???com/vmware/vim25/KeyAnyValue?:getKey
????getValue()Ljava/lang/Object;?java/util/Calendar
????getTime()Ljava/util/Date;kavs[Lcom/vmware/vim25/KeyAnyValue;kavLcom/vmware/vim25/KeyAnyValue;valLjava/lang/Object;Ljava/util/Calendar;?
SourceFilePrintLicExpirationDateV4.java!/*??
/
	???Y?Y?? L+?#M,?'N?-:-Y:?66??2::	3?5?;?,?A:

?E?K:	?
?O?K:		?-?P?VY?X?[?_`?b	?f?b?j?m? ?P?VY?X?[?_r?b?j?m???y?
F3
4356 8%99;<=I?O@\DfGkI?M?9?PR?tu?vw?xy ?z{%?|}9y~<v??	O
??
?^?2	?(?.??)
?(?.6??	.?	?(?.?	MN?E*?B*Y:?>=?22L?+???;?+??:?????:????????
&	UWY [&\.^5_;WCe*E??'??&??5??????+????




© 2015 - 2024 Weber Informatics LLC | Privacy Policy