class_body
{ "{"
block_comment "/** For serialization. */"
field_declaration
modifiers
private "private"
static "static"
final "final"
integral_type
long "long"
variable_declarator
identifier "serialVersionUID"
= "="
decimal_integer_literal "1856387786939865061L"
; ";"
block_comment "/** Constant for the first week in the year. */"
field_declaration
modifiers
public "public"
static "static"
final "final"
integral_type
int "int"
variable_declarator
identifier "FIRST_WEEK_IN_YEAR"
= "="
decimal_integer_literal "1"
; ";"
block_comment "/** Constant for the last week in the year. */"
field_declaration
modifiers
public "public"
static "static"
final "final"
integral_type
int "int"
variable_declarator
identifier "LAST_WEEK_IN_YEAR"
= "="
decimal_integer_literal "53"
; ";"
block_comment "/** The year in which the week falls. */"
field_declaration
modifiers
private "private"
integral_type
short "short"
variable_declarator
identifier "year"
; ";"
block_comment "/** The week (1-53). */"
field_declaration
modifiers
private "private"
integral_type
byte "byte"
variable_declarator
identifier "week"
; ";"
block_comment "/** The first millisecond. */"
field_declaration
modifiers
private "private"
integral_type
long "long"
variable_declarator
identifier "firstMillisecond"
; ";"
block_comment "/** The last millisecond. */"
field_declaration
modifiers
private "private"
integral_type
long "long"
variable_declarator
identifier "lastMillisecond"
; ";"
block_comment "/**\r\n * Creates a new time period for the week in which "...
constructor_declaration (+22 nodes collapsed)
block_comment "/**\r\n * Creates a time period representing the week in t"...
constructor_declaration (+98 nodes collapsed)
block_comment "/**\r\n * Creates a time period representing the week in t"...
constructor_declaration (+103 nodes collapsed)
block_comment "/**\r\n * Creates a time period for the week in which the "...
constructor_declaration (+34 nodes collapsed)
block_comment "/**\r\n * Creates a time period for the week in which the "...
constructor_declaration
modifiers
public "public"
identifier "Week"
formal_parameters
( "("
formal_parameter
type_identifier "Date"
identifier "time"
, ","
formal_parameter
type_identifier "TimeZone"
identifier "zone"
) ")"
constructor_body
{ "{"
line_comment "// defer argument checking...\r"
explicit_constructor_invocation
this "this"
argument_list
( "("
identifier "time"
, ","
field_access
identifier "RegularTimePeriod"
. "."
identifier "DEFAULT_TIME_ZONE"
, ","
method_invocation
identifier "Locale"
. "."
identifier "getDefault"
argument_list
( "("
) ")"
) ")"
; ";"
} "}"
block_comment "/**\r\n * Creates a time period for the week in which the "...
constructor_declaration (+321 nodes collapsed)
block_comment "/**\r\n * Returns the year in which the week falls.\r\n "...
method_declaration (+24 nodes collapsed)
block_comment "/**\r\n * Returns the year in which the week falls, as an "...
method_declaration
modifiers
public "public"
integral_type
int "int"
identifier "getYearValue"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "year"
; ";"
} "}"
block_comment "/**\r\n * Returns the week.\r\n *\r\n * @return The we"...
method_declaration
modifiers
public "public"
integral_type
int "int"
identifier "getWeek"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "week"
; ";"
} "}"
block_comment "/**\r\n * Returns the first millisecond of the week. This"...
method_declaration
modifiers
public "public"
integral_type
long "long"
identifier "getFirstMillisecond"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "firstMillisecond"
; ";"
} "}"
block_comment "/**\r\n * Returns the last millisecond of the week. This "...
method_declaration
modifiers
public "public"
integral_type
long "long"
identifier "getLastMillisecond"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "lastMillisecond"
; ";"
} "}"
block_comment "/**\r\n * Recalculates the start date/time and end date/ti"...
method_declaration (+42 nodes collapsed)
block_comment "/**\r\n * Returns the week preceding this one. This metho"...
method_declaration (+156 nodes collapsed)
block_comment "/**\r\n * Returns the week following this one. This metho"...
method_declaration (+200 nodes collapsed)
block_comment "/**\r\n * Returns a serial index number for the week.\r\n "...
method_declaration (+28 nodes collapsed)
block_comment "/**\r\n * Returns the first millisecond of the week, evalu"...
method_declaration (+175 nodes collapsed)
block_comment "/**\r\n * Returns the last millisecond of the week, evalua"...
method_declaration (+181 nodes collapsed)
block_comment "/**\r\n * Returns a string representing the week (e.g. \"We"...
method_declaration (+36 nodes collapsed)
block_comment "/**\r\n * Tests the equality of this Week object to an arb"...
method_declaration (+110 nodes collapsed)
block_comment "/**\r\n * Returns a hash code for this object instance. T"...
method_declaration (+54 nodes collapsed)
block_comment "/**\r\n * Returns an integer indicating the order of this "...
method_declaration (+139 nodes collapsed)
block_comment "/**\r\n * Parses the string argument as a week.\r\n * <P"...
method_declaration (+336 nodes collapsed)
block_comment "/**\r\n * Finds the first occurrence of ' ', '-', ',' or '"...
method_declaration (+116 nodes collapsed)
block_comment "/**\r\n * Creates a year from a string, or returns null (f"...
method_declaration (+56 nodes collapsed)
block_comment "/**\r\n * Converts a string to a week.\r\n *\r\n * @pa"...
method_declaration (+119 nodes collapsed)
} "}"