Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
plugins
/
groovy
/
testdata
/
refactoring
/
convertGroovyToJava
/
codeBlock
/
switch3.groovy
blob: 134f8d552102b739128d2877fede047cf69ef553 [
file
] [
log
] [
blame
]
def
date
=
new
Date
(
2011
,
04
,
09
)
switch
(
date
)
{
case
new
Date
(
20
,
11
,
23
):
print
"aaa"
case
new
Date
(
45
,
1
,
2
):
print
"bbb"
break
default
:
print
"ccc"
}